joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000612c
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f170]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007200
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007190
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x1400211d0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020600]
jmp 0x14000723c
cmp qword [rbx + 0x18], rdi
je 0x140007243
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007233
jmp 0x14000725d
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020600]
call fcn.140011f98
lea rcx, [0x1400211d0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
in al, 0x50
invalid
push rdi
or edi, dword [rax + riz*8 - 0x2c2e139c]
ror edx, 0x8a
iretd
invalid
push rsp
add ebx, dword [rdx]
pop rdi
cmpsd dword [rsi], dword [rdi]
pop rbp
jrcxz 0x14003f5cc
stosd dword [rdi], eax
int 2
invalid
jge 0x14003f5e8
and al, 0x64
std
push rdx
lodsd eax, dword [rsi]
invalid
loope 0x14003f64f
invalid
cmp dl, byte [rax + 0x59]
cmp dword [rsi - 0x67], edx
mov bh, 0xa5
fidivr word [rbx - 0x3275c16a]
invalid
movabs byte [0x8b6660fb45d1a19b], al
insb byte [rdi], dx
cmp dh, dh
mov ebp, dword [rdx + rdi - 0xa]
add cl, 0xd8
xor dword ss:[rcx - 0x4c4f3d8], ebx
pop rsi
retf 0x551f
and dl, byte [rdi - 0x2d]
invalid
not dh
cld
std
invalid

Function at 0x140007278
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x14000733e
lea rcx, [0x1400211d0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020600]
jmp 0x140007302
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400072ff
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x140020600]
mov rdx, rsi
call fcn.140011f98
jmp 0x140007302
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072cf
mov rdx, qword [0x14001f100]
lea rcx, [0x140020600]
mov rdi, rdx
inc rdx
mov qword [0x14001f100], rdx
lea edx, [rbx + 0x20]
call fcn.140011fe0
lea rcx, [0x1400211d0]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x180001a78
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180001b09
movsxd rax, dword [0x18000003c]
lea rdx, [0x180000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x180001b09
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180001b09
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x180001aed
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180001ae7
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x180001aef
add rdx, 0x28
jmp 0x180001acc
xor edx, edx
test rdx, rdx
jne 0x180001af8
xor al, al
jmp 0x180001b0f
test dword [rdx + 0x24], 0x80000000
je 0x180001b05
xor al, al
jmp 0x180001b0f
mov al, 1
jmp 0x180001b0f
xor al, al
jmp 0x180001b0f
add rsp, 0x18
ret

Function at 0x140001a7c
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400306f8], rbx
je 0x1400194a3
cmp rax, rbx
jne 0x140019496
mov ebx, 1
mov esi, ebx
jmp 0x1400194a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001947b
mov ebx, 1
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x1400194c0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14001952c
mov eax, dword [0x140030700]
test eax, eax
jne 0x140019521
mov dword [0x140030700], ebx
lea r15, [0x14001dcb8]
lea rdi, [0x14001dca0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140019513
test eax, eax
jne 0x140019517
cmp qword [rdi], r14
je 0x140019508
mov rax, qword [rdi]
mov rcx, qword [0x14001dc18]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400194ea
test eax, eax
je 0x140019527
mov eax, 0xff
jmp 0x140019682
mov dword [0x14002ffb4], ebx
mov edi, 0x1f
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x140019553
lea rdx, [0x14001dc98]
lea rcx, [0x14001dc20]
call sub.msvcrt.dll__initterm
mov dword [0x140030700], 2
test esi, esi
jne 0x140019561
mov rax, r14
xchg qword [0x1400306f8], rax
cmp qword [0x140030718], r14
je 0x140019594
lea rcx, [0x140030718]
call fcn.140019a50
test eax, eax
je 0x140019594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140030718]
mov r9, qword [0x14001dc18]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400195ad
mov eax, 0xff
jmp 0x140019682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140019633
test ax, ax
je 0x1400195c8
test edx, edx
jne 0x140019633
sub ax, bx
cmp ax, di
ja 0x1400195de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400195c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003e4c
mov dword [0x14002ffb0], eax
cmp dword [0x14002ffd0], r14d
jne 0x14001961c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002ffb4], r14d
jne 0x140019631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ffb0]
jmp 0x140019682
cmp ax, 0x22
jne 0x140019647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400195b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140166000
add rsp, 0x28
jmp 0x14001943c
Function at 0x1400011c0
Capabilities:
Execute command
Self delete

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor esi, esi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], sil
lea r8d, [rsi + 0xd]
lea rcx, [rsp + 0x20]
call fcn.1400013a0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rax
mov edx, esi
mov r15, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140001287
mov ecx, esi
nop
lea rax, [rsp + 0x20]
cmp r15, 0x10
cmovae rax, rbp
movsx rax, byte [rcx + rax]
inc dword [rsp + rax*4 - 0x144]
inc edx
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, r8
jb 0x140001260
lea r14, [rsp + 0x40]
nop dword [rax]
mov eax, dword [r14]
test eax, eax
jle 0x1400012b6
lea edi, [rsi + 0x61]
mov ebx, eax
nop dword [rax]
movzx edx, dil
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001510
sub rbx, 1
jne 0x1400012a0
inc esi
add r14, 4
cmp esi, 0x1a
jl 0x140001290
lea rcx, str.del__s__q_C:.pdf_D:.pdf_E:.pdf_F:.pdf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
cmp r15, 0x10
jb 0x140001309
lea rdx, [r15 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x140001301
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001301
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.1400017ac
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140001750
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400094a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x1400c0df0]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1400d49d8]
not ebx
cmp dword [rcx + 0x3ef8], ebx
jne 0x140009535
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001c2e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140015dc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400d4040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400d49d8]
mov edi, ecx
cmp byte [rbx + 0x4a3d], 0
jne 0x140015e21
cmp byte [rbx + 0x4a3e], 0
jne 0x140015e21
movsx r9d, word [rbx + 0x5b3a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140005d80
test dil, 1
je 0x140015f48
jmp 0x140015eac
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b3a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400c5a3c]
mov edx, 0x10
mulss xmm1, dword [0x1400c5a1c]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47a0], rax
mov dword [rbx + 0x478c], 1
movss dword [rbx + 0x4798], xmm0
movss dword [rbx + 0x479c], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x1400c5974]
or dword [rbx + 0x4788], 0x41
movss dword [rbx + 0x47e8], xmm0
call fcn.140005d80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015f00
lea r11, [0x1400c0df0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140015ee3
cmp byte [r8], r9b
jne 0x140015ee3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140015ed0
not ecx
call fcn.14000d060
test rax, rax
je 0x140015f48
cmp byte [rax + 0xae], 0
je 0x140015f48
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b3a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b3a]
call fcn.140005d80
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f7b0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003d930
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001ad60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c20], 0
lea rbx, [rcx + 0x5c28]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ae07
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001adba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ce20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400066f0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c20]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c30]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400d49d0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001ae0f
mov rcx, rbx
call fcn.1400066f0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b160
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400d49d8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001b1c3
mov qword [rsp], rbx
lea rbx, [0x1400c0df0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b1a3
cmp byte [r8], r9b
jne 0x14001b1a3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001b190
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b98]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001b1f7
mov r10, qword [r10 + 0x5ba0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001b1fe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001b1e4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14001b480
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x1400d49d8]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x5b84], r15d
test rcx, rcx
je 0x14001b5ab
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x5b88]
mov dword [rbx + 0x5b84], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x14001b4e4
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.14001ce20
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x14001b4fa
mov edx, 8
mov rcx, rdi
call fcn.14001ce20
movsxd rcx, dword [rdi]
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
cmp dword [rbx + 0x5b98], r15d
jle 0x14001b545
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rbx + 0x5ba0]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x38]
inc ebp
add rsi, 0x48
cmp ebp, dword [rbx + 0x5b98]
jl 0x14001b520
mov eax, dword [rdi]
lea rdx, [0x1400c0990]
test eax, eax
lea rdi, [0x1400d49d0]
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x5b90]
cmove ecx, r15d
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.140005f70
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x14001b5a1
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x140034fc0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140034ff5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140034290
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140035136
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400350b0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140035125
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400350ed
mov r10, qword [rdx]
cmp r10, rax
je 0x1400350e7
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 0x140035125
cmp r9, rdx
je 0x140035101
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140035147
cmp r9, rdx
jne 0x1400350f2
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
jne 0x140035060
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
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 0x140035125
Function at 0x140037ff0
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
jbe 0x140038021
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400d4ae8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400d4af8]
lea rdx, [rdi + rdi]
call fcn.140034290
mov rax, qword [0x1400d4ae8]
lea r9, [rdi - 1]
mov qword [0x1400d4b10], r9
mov qword [0x1400d4b18], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400381c2
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400d4af8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14003810c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140038183
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140038149
mov r10, qword [rdx]
cmp r10, rax
je 0x140038143
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 0x140038183
cmp r9, rdx
je 0x14003815f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140038197
cmp r9, rdx
jne 0x140038150
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 0x1400381bd
mov r9, qword [0x1400d4b10]
jmp 0x140038091
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 0x140038183
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003e714
Capabilities:
Parse pe header

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

Function at 0x14003eb30
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14003eb6a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14003eb6f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14003ebb8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400a3640]
cmp byte [rcx + rax], 0
je 0x14003ebb8
dec r8
sub rdx, 1
jne 0x14003eb9e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret