joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b0c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
test r8d, r8d
jle 0x1401b0dec
mov rbx, r9
mov rax, qword [rcx + 0x48]
mov r9, qword [rcx + 0x50]
mov r10d, dword [rax + 0x38]
mov r12, r10
add r12, r9
movzx eax, byte [rcx + 9]
mov qword [rsp + 0x20], rcx
movzx ecx, byte [rcx + 0xa]
add rax, r9
lea r11, [rcx + rax]
add r11, 8
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140470090]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
add r8d, edx
movsxd rbp, edx
movsxd rdx, r8d
xor edi, edi
xor esi, esi
jmp 0x1401b0d2b
mov dword [rsp + rax*4 + 0x50], r13d
jmp 0x1401b0d21
mov dword [rsp + rax*4 + 0x80], r15d
inc edi
inc rbp
cmp rbp, rdx
jge 0x1401b0d90
mov rax, qword [rbx + 0x10]
mov rax, qword [rax + rbp*8]
cmp rax, r11
jb 0x1401b0d23
cmp rax, r12
jae 0x1401b0d23
mov rcx, qword [rbx + 0x18]
movzx r13d, word [rcx + rbp*2]
sub eax, r9d
movzx r15d, ax
add r13d, r15d
test esi, esi
jle 0x1401b0d77
mov r14d, esi
xor eax, eax
cmp dword [rsp + rax*4 + 0x80], r13d
je 0x1401b0d19
cmp dword [rsp + rax*4 + 0x50], r15d
je 0x1401b0d12
inc rax
cmp r14, rax
jne 0x1401b0d59
cmp esi, 0xa
jge 0x1401b0df0
movsxd rax, esi
mov dword [rsp + rax*4 + 0x80], r15d
mov dword [rsp + rax*4 + 0x50], r13d
cmp r13d, r10d
ja 0x1401b0dec
inc esi
jmp 0x1401b0d21
test esi, esi
jle 0x1401b0dbc
mov esi, esi
xor ebx, ebx
mov r14, qword [rsp + 0x20]
mov r8d, dword [rsp + rbx*4 + 0x50]
mov edx, dword [rsp + rbx*4 + 0x80]
sub r8d, edx
mov rcx, r14
call fcn.1401ae180
inc rbx
cmp rsi, rbx
jne 0x1401b0d9d
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401b0dd6
call fcn.140297b50
int3
mov eax, edi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edi, edi
jmp 0x1401b0dbc
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r9
xor esi, esi
xor eax, eax
mov qword [rsp + 0x48], rax
mov r8d, dword [rsp + rax*4 + 0x50]
mov edx, dword [rsp + rax*4 + 0x80]
sub r8d, edx
mov rcx, qword [rsp + 0x20]
call fcn.1401ae180
mov rcx, qword [rsp + 0x48]
inc rcx
mov rax, rcx
cmp r14, rcx
jne 0x1401b0e08
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
jmp 0x1401b0d77
Function at 0x1401c5910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov al, byte [rdx]
cmp al, 0xa3
je 0x1401c5a75
mov rcx, rdi
cmp al, 0xa4
je 0x1401c5a81
movzx eax, al
cmp eax, 0x80
je 0x1401c5a7d
test rdi, rdi
je 0x1401c5a00
mov eax, dword [rdi + 4]
test eax, 0x82000
jne 0x1401c5b05
cmp byte [rsi + 0x23], 0
je 0x1401c5a02
cmp byte [rdi], 0xa3
je 0x1401c5a02
movaps xmm0, xmmword [0x140470090]
lea r14, [rsp + 0x20]
movups xmmword [r14 + 0x18], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r14 + 0x28], rax
mov word [r14 + 0x24], 2
mov qword [r14], rsi
lea rax, [0x140288370]
mov qword [r14 + 8], rax
lea rax, [0x1401c6da0]
mov qword [r14 + 0x10], rax
mov rcx, r14
mov rdx, rdi
call fcn.1402884b0
cmp word [r14 + 0x24], 0
je 0x1401c5a02
mov dword [rbx], 0
mov rcx, rsi
mov rdx, rdi
mov r8d, 0xffffffff
call fcn.1401c3ce0
mov ebp, eax
jmp 0x1401c5a2e
dec al
mov byte [rsi + 0x1f], al
movzx eax, al
mov r14d, dword [rsi + rax*4 + 0xd8]
jmp 0x1401c5a14
xor edi, edi
mov al, byte [rsi + 0x1f]
test al, al
jne 0x1401c59ee
mov r14d, dword [rsi + 0x38]
inc r14d
mov dword [rsi + 0x38], r14d
mov rcx, rsi
mov rdx, rdi
mov r8d, r14d
call fcn.140285070
mov ebp, eax
cmp eax, r14d
jne 0x1401c5a54
mov eax, r14d
mov dword [rbx], eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401c5a45
call fcn.140297b50
int3
mov eax, ebp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
test r14d, r14d
je 0x1401c5a2c
movzx ecx, byte [rsi + 0x1f]
cmp rcx, 7
ja 0x1401c5a2c
lea edx, [rcx + 1]
mov byte [rsi + 0x1f], dl
mov dword [rsi + rcx*4 + 0xd8], r14d
jmp 0x1401c5a2c
mov al, byte [rdi + 2]
jmp 0x1401c593e
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx + 0x20]
mov r14d, dword [rax]
cmp r14, 1
je 0x1401c5957
mov dword [rbx], 0
xor eax, eax
cmp al, byte [rdi]
jno 0x1401c5ac2
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140297b50
mov rcx, rsi
mov rdx, rdi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1401c4070
mov ebx, dword [rsi + 0x38]
lea ebp, [rbx + 1]
lea eax, [rbx + r14]
mov dword [rsi + 0x38], eax
test r14d, r14d
jle 0x1401c5a2e
shl r14, 5
inc ebx
xor r15d, r15d
mov rax, qword [rdi + 0x20]
mov rdx, qword [rax + r15 + 8]
mov rcx, rsi
mov r8d, ebx
call fcn.140406780
add r15, 0x20
inc ebx
cmp r14, r15
jne 0x1401c5ae1
jmp 0x1401c5a2e
bt eax, 0x13
jb 0x1401c5b1a
cmp byte [rdi], 0x67
jne 0x1401c596e
add rdi, 0x10
jmp 0x1401c5b22
mov rdi, qword [rdi + 0x20]
add rdi, 8
mov rdi, qword [rdi]
jmp 0x1401c5957
Function at 0x1401d9e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, qword [rcx + 0x98]
test r14, r14
je 0x1401d9f6c
mov rsi, rcx
mov rdi, qword [rcx + 0x10]
mov r15, qword [rcx]
mov r13, qword [r15 + 0x20]
movsxd rbx, dword [r14 + 0x10]
mov r12d, dword [r14 + 0x14]
mov al, byte [rsi + 0x1f]
test al, al
jne 0x1401d9f94
mov ebp, dword [rsi + 0x38]
inc ebp
mov dword [rsi + 0x38], ebp
movsxd rax, dword [rdi + 0x90]
lea r9d, [rax + 7]
lea r8d, [r12 + 2]
cmp dword [rdi + 0x94], eax
jle 0x1401d9f7d
lea ecx, [rax + 1]
mov dword [rdi + 0x90], ecx
mov rcx, qword [rdi + 0x88]
lea rax, [rax + rax*2]
mov dword [rcx + rax*8], 0x35
mov dword [rcx + rax*8 + 4], r8d
mov dword [rcx + rax*8 + 8], r9d
mov dword [rcx + rax*8 + 0xc], r12d
mov qword [rcx + rax*8 + 0x10], 0
shl rbx, 5
mov rax, qword [r13 + rbx + 0x18]
mov r9, qword [rax + 0x68]
mov r8d, dword [r14 + 0x10]
mov dword [rsp + 0x20], 0x73
mov rcx, rsi
xor edx, edx
call fcn.1401c3380
mov rcx, rdi
mov edx, 5
lea r8, [0x1404e3850]
call fcn.140199140
test rax, rax
je 0x1401d9f6c
lea ecx, [r12 + 1]
mov dword [rax + 4], ecx
mov dword [rax + 0x20], ecx
dec r12d
mov dword [rax + 0x34], r12d
mov dword [rax + 0x3c], ebp
mov dword [rax + 0x50], ebp
mov dword [rax + 0x54], ecx
mov word [rax + 0x4a], 8
test ebp, ebp
je 0x1401d9f60
movzx eax, byte [rsi + 0x1f]
cmp rax, 7
ja 0x1401d9f60
lea ecx, [rax + 1]
mov byte [rsi + 0x1f], cl
mov dword [rsi + rax*4 + 0xd8], ebp
mov r14, qword [r14]
test r14, r14
jne 0x1401d9e7a
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x20], r12d
mov rcx, rdi
mov edx, 0x35
call fcn.1401b1310
jmp 0x1401d9ee8
dec al
mov byte [rsi + 0x1f], al
movzx eax, al
mov ebp, dword [rsi + rax*4 + 0xd8]
jmp 0x1401d9e99
Function at 0x1401e1240
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1401e1288
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1401e1291
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1401e1278
mov qword [rdi], rsi
call fcn.14020f940
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14020f940
mov rcx, qword [rdi]
call fcn.1401fa240
mov qword [rdi], 0
jmp 0x1401e1266
Function at 0x1401ef880
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x1401ef97e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x14047ca70]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x1401ef8f0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x14047ca90]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x1401efa0e
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x1401ef9e4
pmovzxdq xmm1, qword [0x14047ca90]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x14047ca80], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x1401fa0d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1405129c8]
mov ecx, dword [0x14050f5f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401fa137
mov rax, qword [0x1405129c0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401fa12d
call fcn.140297b50
int3
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1405129c8]
call fcn.14029664c
cmp dword [0x1405129c8], 0xffffffff
jne 0x1401fa10c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1402d26c0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x88
call fcn.1402965cc
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140512a10]
mov ecx, dword [0x14050f5f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401fa1f7
lea r8, [0x1405129e0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400fc2d0
mov qword [0x1405129c0], rsi
lea rcx, [0x1405129c8]
call fcn.140296700
jmp 0x1401fa10c
lea rcx, [0x140512a10]
call fcn.14029664c
cmp dword [0x140512a10], 0xffffffff
jne 0x1401fa1c8
xorps xmm0, xmm0
movups xmmword [0x140512a00], xmm0
movups xmmword [0x1405129f0], xmm0
movups xmmword [0x1405129e0], xmm0
lea rcx, [0x1405129e0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140512a10]
call fcn.140296700
jmp 0x1401fa1c8
Function at 0x1401fa960
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movsd xmm0, qword [0x140512aa0]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x1401fa990
jnp 0x1401fa9b5
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401fa9a7
call fcn.140297b50
int3
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140512ab0]
mov ecx, dword [0x14050f5f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401faacd
mov eax, dword [0x140512ac0]
mov ecx, dword [0x14050f5f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401fab07
rdtsc
mov rdi, rax
mov rbx, rdx
xor r15d, r15d
lea r14, [rsp + 0x28]
mov qword [r14], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r12, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r14], r15
lea rsi, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r12, qword [0x140512ab8]
xorps xmm1, xmm1
cvtsi2sd xmm1, r12
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x14047c2e8]
ucomisd xmm2, xmm1
ja 0x1401fa990
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x140512aa8]
movq xmm0, rdi
punpckldq xmm0, xmmword [0x14047b850]
subpd xmm0, xmmword [0x14047b860]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x140512aa0], xmm0
jmp 0x1401fa990
lea rcx, [0x140512ab0]
call fcn.14029664c
cmp dword [0x140512ab0], 0xffffffff
jne 0x1401fa9fe
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140512aa8], rdx
lea rcx, [0x140512ab0]
call fcn.140296700
jmp 0x1401fa9fe
lea rcx, [0x140512ac0]
call fcn.14029664c
cmp dword [0x140512ac0], 0xffffffff
jne 0x1401faa23
lea rdi, [rsp + 0x28]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x140512ab8], rax
lea rcx, [0x140512ac0]
call fcn.140296700
jmp 0x1401faa23
Function at 0x1401faba0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x1401fac3a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1401fac24
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1401fac01
mov qword [rsi], rdi
call fcn.14020f940
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x1401fac3e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14020f940
mov rcx, qword [rsi]
call fcn.1401fa240
mov qword [rsi], 0
jmp 0x1401fabef
mov byte [rsi + 8], 0
int3
Function at 0x1401fe470
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140470090]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x60
call fcn.14020f920
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140201bd0
test esi, esi
js 0x1401fe57f
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.14022da40
test al, al
jne 0x1401fe58b
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401fe5a7
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1401fe586
lea rcx, [rsp + 0x30]
call fcn.14022dac0
lea rcx, [rsp + 0x50]
call fcn.140201c60
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401fe56e
call fcn.140297b50
int3
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1401fe54a
int3
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140393c40
jmp 0x1401fe510
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1401fe540
Function at 0x1401fe5c0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140470090]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DoInitialize
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x175
call fcn.14020f920
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140201bd0
mov eax, ebx
and eax, 1
neg eax
and eax, 3
test bl, 2
mov edx, 1
cmove edx, eax
test bl, 4
mov ecx, 4
cmovne edx, ecx
test bl, 8
mov r8d, 2
cmove r8d, edx
test bl, 0x10
mov eax, 5
cmove eax, r8d
test eax, eax
je 0x1401fe835
mov edx, ebx
and edx, 0x40
shl edx, 0x18
test bl, bl
cmovns ecx, edx
mov r8d, ebx
rol r8d, 0x1a
and r8d, 0x80000100
or r8d, ecx
bt ebx, 0x12
jb 0x1401fe80a
mov edx, ebx
shr edx, 4
and edx, 0x10000
or edx, r8d
mov ecx, ebx
shr ecx, 8
and ecx, 3
mov r8d, ebx
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov r15d, ebx
and r15d, 0x400
mov ecx, r15d
shl ecx, 0x14
mov r9d, ebx
shr r9d, 3
and r9d, 0x100
or r9d, ecx
mov ecx, ebx
shr ecx, 0xb
and ecx, 2
or ecx, r9d
mov r10d, ebx
shl r10d, 0xd
and r10d, 0x4000000
or r10d, ecx
mov r9d, ebx
shl r9d, 8
and r9d, 0xa000000
or r9d, r10d
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1401fe723
mov rcx, qword [rdi]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x30], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp qword [rsi], rax
je 0x1401fe77d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1401fe81c
mov rax, r14
inc rax
cmp rax, 2
jb 0x1401fe772
mov qword [rsi], r14
call fcn.14020f940
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
inc r14
cmp r14, 2
jb 0x1401fe7cd
shr r15d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r15b
test bl, 4
jne 0x1401fe7ef
test bl, 0xa
je 0x1401fe7a3
mov byte [rsi + 0x28], 1
bt ebx, 0x15
jb 0x1401fe800
lea rcx, [rsp + 0x60]
call fcn.140201c60
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401fe7df
call fcn.140297b50
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140104950
mov dword [rsi + 0x24], eax
jmp 0x1401fe7a9
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x1401fe7a3
mov rcx, rdi
call fcn.1401066d0
jmp 0x1401fe7a9
bt ebx, 0x15
jb 0x1401fe838
or r8d, 0x20000000
jmp 0x1401fe6a1
call fcn.14020f940
mov rcx, qword [rsi]
call fcn.1401fa240
mov qword [rsi], 0
jmp 0x1401fe75e
int3
int3
Function at 0x1401feb10
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140470090]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x4d
call fcn.14020f920
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.140201bd0
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x1401feb94
mov rbx, qword [rbx]
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
jne 0x1401febd0
mov qword [rsi], 0
lea rcx, [rsp + 0x50]
call fcn.140201c60
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401febeb
call fcn.140297b50
int3
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.1402965cc
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
jmp 0x1401fed07
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1401fed21
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x94]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401fed21
mov r14, qword [rsp + 0x30]
test r14, r14
je 0x1401fed21
mov ecx, 0x38
call fcn.1402965cc
mov rbx, rax
movzx r12d, word [r14]
movzx ebp, word [r14 + 2]
lea rax, fcn.1401078f0
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
movabs r14, 0xfffffffc00000000
mov rax, rdi
and rax, r14
cmp rax, qword [0x140500ac8]
jne 0x1401feca7
mov rcx, rdi
call fcn.1400c2fa0
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r12w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x94]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x14048bd22]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401fed3e
mov rdi, qword [rsp + 0x30]
and r14, rdi
cmp r14, qword [0x140500ac8]
jne 0x1401fecfb
mov rcx, rdi
call fcn.1400c2fa0
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
jmp 0x1401febac
mov rcx, rdi
add rcx, rax
je 0x1401fed1f
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x1401fed07
jmp 0x1401fec00
ud2
mov qword [rsi], 0
test rdi, rdi
je 0x1401febac
mov rcx, rdi
call fcn.140296608
jmp 0x1401febac
int3