joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488760
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48882a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004032e0
xorps xmm15, xmm15
mov r14, qword [0x006a29b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48880f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00511c40]
xor ebx, ebx
mov rcx, rdx
call fcn.0044ba80
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00488c00
inc rbx
cmp rcx, rbx
jae 0x4887fe
mov edi, 1
lea rsi, [0x00511c40]
call fcn.0044bb60
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0056cc58]
lea rsi, [0x0056bf88]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464a80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00488760

Function at 0x4a0ba0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a12df
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4a0bcd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4a0e51
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4a0e7d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x0056ef40]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x00511b40]
lea rbx, [0x0056c9a0]
call fcn.004365a0
inc rax
cmp rax, r8
jge 0x4a0ea2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4a0ed7
lea rdi, [0x00511bc0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4a0bc3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4a0ebb
jmp 0x4a0e90
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00464a80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004a0ba0

Function at 0x4a1480
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4a1497
inc rax
cmp rax, 4
jge 0x4a14af
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4a1494
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4a14c0
inc rax
cmp rax, 4
jge 0x4a14ce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4a14f7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4a14db
jmp 0x4a14bd
Function at 0x4af400
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x4af4d5
movdqa xmm0, xmmword [0x0056c090]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x4af441
movdqa xmm0, xmmword [0x0056c0a0]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x4af557
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x4af52b
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x0056bd80]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x0056c0b0]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x4c6d60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c6f32
push rbp
mov rbp, rsp
sub rsp, 0x38
movsd qword [rsp + 0x48], xmm0
movsd qword [rsp + 0x50], xmm1
movsd qword [rsp + 0x58], xmm2
movsd qword [rsp + 0x60], xmm3
movsd qword [rsp + 0x68], xmm4
movsd qword [rsp + 0x70], xmm5
movups xmm6, xmm2
subsd xmm2, xmm0
movups xmm7, xmm3
subsd xmm3, xmm1
subsd xmm4, xmm6
movsd qword [rsp + 0x28], xmm4
subsd xmm5, xmm7
movsd qword [rsp + 0x20], xmm5
movsd qword [rsp], xmm2
movsd qword [rsp + 8], xmm3
call fcn.0046d160
xorps xmm15, xmm15
mov r14, qword [0x006a29b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
movsd xmm0, qword [rsp + 0x10]
movsd qword [rsp + 0x18], xmm0
movsd xmm1, qword [rsp + 0x28]
movsd qword [rsp], xmm1
movsd xmm1, qword [rsp + 0x20]
movsd qword [rsp + 8], xmm1
nop dword [rax]
call fcn.0046d160
xorps xmm15, xmm15
mov r14, qword [0x006a29b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
movsd xmm0, qword [rsp + 0x18]
addsd xmm0, qword [rsp + 0x10]
movsd xmm1, qword [0x0056bdb0]
addsd xmm1, xmm0
cvttsd2si rcx, xmm1
cmp rcx, 4
mov eax, 4
cmovl rcx, rax
mov qword [rsp + 0x30], rcx
lea rax, [0x005256c0]
mov rbx, rcx
call fcn.0044ba80
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
movsd xmm1, qword [0x0056bdc8]
subsd xmm0, xmm1
movsd xmm2, qword [rsp + 0x58]
movsd xmm3, qword [rsp + 0x48]
movsd xmm4, qword [rsp + 0x70]
movsd xmm5, qword [rsp + 0x68]
movsd xmm6, qword [rsp + 0x60]
movsd xmm7, qword [rsp + 0x50]
xor edx, edx
jmp 0x4c6f20
xorps xmm8, xmm8
cvtsi2sd xmm8, rdx
divsd xmm8, xmm0
mov rsi, rdx
shl rsi, 4
subsd xmm1, xmm8
movups xmm9, xmm1
mulsd xmm1, xmm1
addsd xmm9, xmm9
mulsd xmm9, xmm8
mulsd xmm8, xmm8
movups xmm10, xmm3
mulsd xmm10, xmm1
movups xmm11, xmm2
mulsd xmm11, xmm9
addsd xmm11, xmm10
movups xmm10, xmm5
mulsd xmm10, xmm8
addsd xmm10, xmm11
mulsd xmm1, xmm7
mulsd xmm9, xmm6
addsd xmm9, xmm1
mulsd xmm8, xmm4
addsd xmm8, xmm9
inc rdx
nop
movsd qword [rax + rsi], xmm10
movsd qword [rax + rsi + 8], xmm8
movsd xmm1, qword [0x0056bdc8]
cmp rdx, rcx
jl 0x4c6e99
mov rbx, rcx
add rsp, 0x38
pop rbp
ret
movsd qword [rsp + 8], xmm0
movsd qword [rsp + 0x10], xmm1
movsd qword [rsp + 0x18], xmm2
movsd qword [rsp + 0x20], xmm3
movsd qword [rsp + 0x28], xmm4
movsd qword [rsp + 0x30], xmm5
call fcn.00464a80
movsd xmm0, qword [rsp + 8]
movsd xmm1, qword [rsp + 0x10]
movsd xmm2, qword [rsp + 0x18]
movsd xmm3, qword [rsp + 0x20]
movsd xmm4, qword [rsp + 0x28]
movsd xmm5, qword [rsp + 0x30]
nop
jmp fcn.004c6d60
Function at 0x6014e0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb30]
sub rsp, 0xc30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xb20], rax
xor edx, edx
lea rcx, [rbp + 0x300]
mov r8d, 0x820
mov r14d, r9d
xor edi, edi
call fcn.00602e20
xor edx, edx
lea rcx, [rbp + 0xf0]
mov r8d, 0x20a
call fcn.00602e20
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x105
call fcn.00602e20
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
test rax, rax
je 0x601766
mov r9d, 0x105
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.00601120
test eax, eax
je 0x601766
lea rcx, [rbp + 0xf0]
call fcn.00601a50
test eax, eax
je 0x601766
mov edx, 0x104
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x2fe], 0x5c
jne 0x6015e3
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cdqe
add rax, rax
cmp rax, 0x820
jae 0x60178b
mov word [rbp + rax + 0x300], di
lea rcx, [rbp + 0x300]
mov qword [rsp + 0xc50], rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
mov eax, 0x410
sub eax, ecx
lea rcx, [rbp + 0x300]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea r8, str._rundll32.exe
lea rax, [rbp + 0x300]
mov rdx, rbx
lea rcx, [rax + rcx*2]
call fcn.00601410
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
lea rcx, [rbp + 0x300]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x601725
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, rsi
lea rcx, [rbp + 0x300]
mov edx, 0x410
call fcn.00601000
test eax, eax
je 0x60175e
xor eax, eax
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x68]
call fcn.00602e20
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x300]
lea rax, [rsp + 0x70]
mov dword [rbp - 0x54], 1
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
xor ecx, ecx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], edi
mov word [rbp - 0x50], r14w
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x60175e
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x601713
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x601759
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x601759
lea rcx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x60175e
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x60175e
mov r9d, r14d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call rax
mov edi, 1
mov rbx, qword [rsp + 0xc50]
mov eax, edi
mov rcx, qword [rbp + 0xb20]
xor rcx, rsp
call fcn.00601fb0
mov rsi, qword [rsp + 0xc58]
add rsp, 0xc30
pop r14
pop rdi
pop rbp
ret
call fcn.00601c7c
int3
Function at 0x6017b0
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor ebx, ebx
mov dword [rsp + 0x60], 1
lea rax, str.Comments
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x58], rax
mov r8d, edx
lea rax, [0x006453d8]
mov dword [rsp + 0x34], ebx
mov qword [rsp + 0x68], rax
mov r15, rcx
lea rax, [0x006453f0]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x78], rax
lea rcx, [rbp]
lea rax, [0x00645410]
mov qword [rsp + 0x48], rbx
mov qword [rbp - 0x78], rax
lea rax, [0x00645428]
mov qword [rbp - 0x68], rax
lea rax, [0x00645448]
mov qword [rbp - 0x58], rax
lea rax, str.LegalTrademarks
mov qword [rbp - 0x48], rax
lea rax, [0x00645488]
mov qword [rbp - 0x38], rax
lea rax, [0x006454b0]
mov qword [rbp - 0x28], rax
lea rax, [0x006454c8]
mov qword [rbp - 0x18], rax
lea rax, str.PrivateBuild
mov qword [rbp - 8], rax
lea rax, str.SpecialBuild
mov qword [rbp + 8], rax
mov eax, 0xc
mov edx, eax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x70], 2
mov dword [rbp - 0x80], 3
mov dword [rbp - 0x70], 4
mov dword [rbp - 0x60], 5
mov dword [rbp - 0x50], 6
mov dword [rbp - 0x40], 7
mov dword [rbp - 0x30], 8
mov dword [rbp - 0x20], 9
mov dword [rbp - 0x10], 0xa
mov dword [rbp], 0xb
cmp r8d, dword [rcx]
je 0x6018f3
dec eax
dec rdx
sub rcx, 0x10
test rdx, rdx
jg 0x6018d8
mov rax, rbx
jmp 0x601a2e
dec eax
mov qword [rsp + 0x368], r14
movsxd rcx, eax
add rcx, rcx
mov r14, qword [rsp + rcx*8 + 0x58]
test r14, r14
je 0x601a49
test r15, r15
je 0x601a49
mov qword [rsp + 0x358], rsi
lea rdx, [rsp + 0x30]
mov rcx, r15
mov qword [rsp + 0x360], rdi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ecx, eax
mov edx, 1
mov esi, eax
call fcn.00623c24
mov rdi, rax
test esi, esi
je 0x601a06
test rax, rax
je 0x601a13
mov edx, dword [rsp + 0x30]
mov r9, rax
mov r8d, esi
mov rcx, r15
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x34]
mov rcx, rdi
lea r8, [rsp + 0x48]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueW
cmp dword [rsp + 0x34], ebx
je 0x601a06
mov rax, qword [rsp + 0x48]
lea r8, str.StringFileInfo_04X_04X_s
mov qword [rsp + 0x28], r14
mov edx, 0x104
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x10]
call fcn.00601410
test eax, eax
js 0x601a06
lea r9, [rsp + 0x38]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x601a06
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax*2 + 2]
mov ecx, eax
mov esi, eax
call fcn.00623c34
mov rbx, rax
test rax, rax
je 0x601a06
mov rdx, qword [rsp + 0x40]
mov r8d, esi
mov rcx, rax
call fcn.00602fd0
test rdi, rdi
je 0x601a13
mov rcx, rdi
call fcn.00623c2c
mov rdi, qword [rsp + 0x360]
mov rax, rbx
mov rsi, qword [rsp + 0x358]
mov r14, qword [rsp + 0x368]
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.00601fb0
add rsp, 0x330
pop r15
pop rbx
pop rbp
ret
mov rax, rbx
jmp 0x601a26
Function at 0x6302e0
Capabilities:
Create thread
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.00634b10
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x630333
test rbx, rbx
je 0x630324
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x630333
mov edi, 4
jmp 0x6303dc
call fcn.0063475c
test al, al
jne 0x630350
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x6303dc
test bpl, bpl
je 0x6303b3
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x00630104]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x6303dc
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x6303ad
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x6303dc
mov edi, dword [rsp + 0x44]
jmp 0x6303a5
call fcn.00634a3c
test al, al
jne 0x6303c4
bts esi, 0x15
xor ecx, ecx
jmp 0x6303cc
call fcn.00634974
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.00634594
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x633f4c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r9d
mov rsi, r8
mov ebp, edx
lea r9, str.GetLocaleInfoEx
mov r14, rcx
lea r8, [0x00647a58]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xc
call fcn.00633730
mov rbx, rax
test rax, rax
je 0x633faf
mov rcx, rax
call qword [0x006452f0]
mov r9d, edi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call rbx
jmp 0x633fc9
xor edx, edx
mov rcx, r14
call fcn.00634430
mov ecx, eax
mov r9d, edi
mov r8, rsi
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140003900
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140003a8d
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400339b8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400339c8]
lea rdx, [rdi + rdi]
call fcn.1400027c0
mov rax, qword [0x1400339b8]
lea rdx, [rdi - 1]
mov qword [0x1400339e0], rdx
mov qword [0x1400339e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140003a82
mov qword [rsp + 0x38], rsi
movabs rdi, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
nop word [rax + rax]
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rsi
and r11, rdx
shl r11, 4
add r11, qword [0x1400339c8]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1400039d1
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140003a43
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x140003a0a
mov r10, qword [rdx]
cmp r10, rax
je 0x140003a04
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140003a43
cmp r8, rdx
je 0x140003a1f
nop
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140003a57
cmp r8, rdx
jne 0x140003a10
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x140003a7d
mov rdx, qword [0x1400339e0]
jmp 0x1400039a0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140003a43
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140004110
int3
Function at 0x140005754
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140005782
xor eax, eax
jmp 0x140005868
cmp qword [rcx + 0x68], 0
je 0x140005793
call fcn.140005884
jmp 0x140005868
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400057aa
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400057ac
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400057de
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400201f0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140005862
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140005815
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000583e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14000de20
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140005862
cmp rsi, rbx
ja 0x14000581c
test rsi, rsi
je 0x140005862
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000de20
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140007288
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400072d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400072d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400072d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400072d2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400072d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400072d4
xor al, al
add rsp, 0x28
ret
Function at 0x14000feb0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000ff1f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ff1f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ff1f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ff1f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ff1f
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ff1f
cmp dword [rcx + 0xf8], 0
je 0x14000ff1f
mov ecx, ebx
call fcn.14000ffd0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fdac
nop
cmp dword [rbp + 0x20], 0
je 0x14000ff6d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000ff78
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000feb0

Function at 0x1400100b4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000feb0
Function at 0x14001561c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140006de0
sub rsp, rax
mov rax, qword [0x140031040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400141fc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001566b
mov rax, rbp
jmp 0x140015773
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x33420]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001673c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x33420]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001576f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001576f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001673c
test rax, rax
js 0x14001576f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001576f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140015761
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140015761
cmp byte [rcx], 0xd
jne 0x140015747
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140015756
cmp byte [rcx + 1], 0xa
jne 0x140015756
inc rcx
jmp 0x140015756
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x31480]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140015729
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140015773
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140006db0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140015994
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400159aa
mov al, 1
jmp 0x140015a0a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400159bb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140015a08
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001a9ac
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140015a08
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140015a08
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140015a08
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140015a0a
xor al, al
add rsp, 0x20
pop rbx
ret