joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400209ec
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140020a1c
xor eax, eax
jmp 0x140020adf
mov rbp, rbx
cmp word [rax], si
je 0x140020a41
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140020a28
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140020a24
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14002090c
movsxd r14, eax
test eax, eax
jne 0x140020a7f
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x140020a15
mov rcx, r14
call fcn.1400218c8
mov rdi, rax
test rax, rax
jne 0x140020a98
xor ecx, ecx
call fcn.14001ef6c
jmp 0x140020a74
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14002090c
test eax, eax
jne 0x140020ac9
mov rcx, rdi
call fcn.14001ef6c
jmp 0x140020ad3
xor ecx, ecx
call fcn.14001ef6c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140023fd0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001f9dc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002405a
cmp byte [rbp - 0x21], r15b
je 0x140024055
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140024090
call fcn.1400220d8
test eax, eax
jne 0x14002407c
cmp byte [rbp - 0x21], r15b
je 0x140024074
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140024090
cmp byte [rbp - 0x21], r15b
je 0x14002408d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001efbc
test eax, eax
jne 0x140024130
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001f9dc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400240cf
cmp byte [rbp - 0x21], r15b
je 0x140024104
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140024104
call fcn.1400220d8
test eax, eax
jne 0x1400240f0
cmp byte [rbp - 0x21], r15b
je 0x1400240e9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140024104
cmp byte [rbp - 0x21], r15b
je 0x140024101
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001efbc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140024130
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140024133
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140024141
mov rcx, rdi
call fcn.14001ef6c
cmp byte [rbp + 0x3f], r15b
je 0x140024150
mov rcx, qword [rbp + 0x27]
call fcn.14001ef6c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140027030
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140027058
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140027058
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4c4cc0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4c5d80
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4c56c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ea108]
test eax, eax
je 0x2fc4c575a
lea rax, [0x2fc4ea0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ea110]
mov qword [rbp - 8], rax
jmp 0x2fc4c573e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c5732
cmp qword [rbp - 0x10], 0
je 0x2fc4c5732
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c56f8
lea rax, [0x2fc4ea0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c575b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c5860
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c5888
mov eax, 0
jmp 0x2fc4c58d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c58b1
mov eax, 0
jmp 0x2fc4c58d6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c58d1
mov eax, 0
jmp 0x2fc4c58d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c58dc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c595a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c5951
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c5951
mov rax, qword [rbp - 8]
jmp 0x2fc4c596f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5924
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002c5c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002ca6
mov ecx, GetModuleHandleW
cmp word [rax], cx
jne 0x140002ca6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002ca6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002ca6
cmp dword [rcx + 0x84], 0xe
jbe 0x140002ca6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002ca8
xor al, al
add rsp, 0x28
ret
Function at 0x140001350
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140022d20], 0
mov edi, edx
mov rbx, rcx
jne 0x14000136e
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff6
mov dword [0x140022284], edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [0x140022de8], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [0x140022df0], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, qword [0x140022df0]
lea rdx, [0x140022e00]
mov qword [0x140022df8], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov edi, 1
lea rcx, [0x140001338]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test rbx, rbx
je 0x1400013e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [0x140022e20]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x140022e60]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
mov edx, 2
xor ecx, ecx
jmp 0x140001350

Function at 0x140001408
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140022d20], 0
mov edi, edx
mov rbx, rcx
jne 0x14000136e
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff6
mov dword [0x140022284], edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [0x140022de8], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [0x140022df0], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, qword [0x140022df0]
lea rdx, [0x140022e00]
mov qword [0x140022df8], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov edi, 1
lea rcx, [0x140001338]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test rbx, rbx
je 0x1400013e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [0x140022e20]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x140022e60]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
mov edx, 2
xor ecx, ecx
jmp 0x140001350
Function at 0x140001bdc
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x140001c58
movsxd rdx, ecx
lea rcx, [0x140001ce0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x140022dc0]
test rbx, rbx
je 0x140001ccb
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140001c4e
cmp byte [rbx + 0x20], 0
je 0x140001c4e
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x140001c14
jmp 0x140001ccb
mov rbx, qword [0x140022dc0]
test rbx, rbx
je 0x140001ccb
mov rsi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140001cc3
cmp byte [rbx + 0x21], 0
je 0x140001c87
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x140001cb3
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
and dword [rsp + 0x28], 0
or rdx, 0xffffffffffffffff
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x140022dc0]
call fcn.140005e64
mov rbx, rsi
test rsi, rsi
jne 0x140001c64
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400020bc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
test r9d, r9d
je 0x140002133
mov rcx, qword [0x140022d58]
add esi, 2
xor edx, edx
lea eax, [rsi + 1]
movsxd r8, eax
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140002133
mov rcx, rax
test rbx, rbx
je 0x140002124
mov rdx, rbx
call fcn.140005f30
lea rdx, [0x14001cd14]
mov rcx, rdi
call fcn.140005f04
jmp 0x140002130
lea rdx, [0x14001cd14]
call fcn.140005f30
mov rbx, rdi
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x1400021bd
mov eax, dword [0x140022284]
cmp eax, 2
je 0x140002188
cmp eax, 0x18
je 0x14000217e
and qword [rsp + 0x20], 0
lea r8d, [rsi + rsi]
lea r9, [rsp + 0x58]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400021bd
mov rcx, rbx
call fcn.140006010
jmp 0x140002190
mov rcx, rbx
call fcn.140006100
mov rcx, rax
mov rbx, rax
call fcn.140005f60
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.1400060f0
test rdi, rdi
je 0x1400021d4
mov rcx, qword [0x140022d58]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000b5a4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400030fc
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14000b645
cmp ebx, dword [rsp + 0x30]
je 0x14000b63e
test esi, esi
je 0x14000b63e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14000b619
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14000b626
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14000b603
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14000b62a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14000b647
mov eax, 1
jmp 0x14000b647
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000baf0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000bc38
Function at 0x1400154f4
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140015524
xor eax, eax
jmp 0x1400155e7
mov rbp, rbx
cmp word [rax], si
je 0x140015549
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140015530
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001552c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140007028
movsxd r14, eax
test eax, eax
jne 0x140015587
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001551d
mov rcx, r14
call fcn.1400026f4
mov rdi, rax
test rax, rax
jne 0x1400155a0
xor ecx, ecx
call fcn.1400026b8
jmp 0x14001557c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140007028
test eax, eax
jne 0x1400155d1
mov rcx, rdi
call fcn.1400026b8
jmp 0x1400155db
xor ecx, ecx
call fcn.1400026b8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800077f0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
sub rsp, 0x78
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rdx
mov r9d, r8d
mov r8, qword [rcx]
mov rbx, rcx
movabs r10, 0x100000001b3
mov dword [rsp + 0x50], r9d
mov eax, r9d
movabs rcx, 0xcbf29ce484222325
shr eax, 8
movzx edx, al
movzx eax, r9b
xor rax, rcx
imul rax, r10
xor rdx, rax
mov eax, r9d
imul rdx, r10
shr eax, 0x10
movzx ecx, al
mov eax, r9d
xor rdx, rcx
shr rax, 0x18
mov rcx, qword [r8 + 0x30]
imul rdx, r10
xor rdx, rax
imul rdx, r10
mov r10, qword [r8 + 0x18]
and rcx, rdx
mov rdx, qword [r8 + 8]
add rcx, rcx
mov rax, qword [r10 + rcx*8 + 8]
cmp rax, rdx
je 0x1800078a1
mov rcx, qword [r10 + rcx*8]
cmp r9d, dword [rax + 0x10]
je 0x1800078a3
nop word [rax + rax]
cmp rax, rcx
je 0x1800078a1
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
jne 0x180007890
jmp 0x1800078a3
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
jne 0x18000796a
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0x70], rdi
movaps xmmword [rsp + 0x60], xmm6
mov rdi, qword [rax]
mov rax, qword [rbx + 8]
mov rsi, qword [rax]
test rsi, rsi
je 0x18000793c
test rdi, rdi
je 0x18000793c
mov rdi, qword [rdi + 0x320]
test rdi, rdi
je 0x18000793c
mov r8d, r9d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1800028d0
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov r8, qword [rax]
call fcn.180002570
xorps xmm0, xmm0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
mov rcx, rsi
movups xmmword [rsp + 0x20], xmm0
call fcn.180004a70
test al, al
je 0x18000793c
movups xmm1, xmmword [rsp + 0x20]
movaps xmm0, xmm1
movaps xmm6, xmm1
unpckhpd xmm0, xmm1
unpcklpd xmm6, xmm0
jmp 0x18000793f
xorps xmm6, xmm6
mov rcx, qword [rbx]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
call fcn.18000a6f0
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xa8]
mov rcx, qword [rax]
movups xmmword [rcx + 0x18], xmm6
movaps xmm6, xmmword [rsp + 0x60]
mov rcx, qword [rbx]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
call fcn.18000a6f0
mov rcx, qword [rax]
mov rax, rbp
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rbp], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180045620
add rsp, 0x78
pop rbp
pop rbx
ret

Function at 0x180009a90
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180009aca
lea rcx, [0x180009d10]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
xor eax, eax
lea r8, [0x180009ae0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x18000aca0
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 0x18000acd5
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.18000a0e0
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 0x18000ae16
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 0x18000ad90
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18000ae05
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18000adcd
mov r10, qword [rdx]
cmp r10, rax
je 0x18000adc7
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 0x18000ae05
cmp r9, rdx
je 0x18000ade1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18000ae27
cmp r9, rdx
jne 0x18000add2
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 0x18000ad40
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 0x18000ae05
Function at 0x18000c4f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000c54d
lea rbx, [0x180049070]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000c534
cmp r10, 2
jb 0x18000c534
cmp byte [r9], r8b
jne 0x18000c534
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18000c510
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000c58f
lea rbx, [0x180049070]
cmp r8b, 0x23
jne 0x18000c573
cmp byte [r9], r8b
jne 0x18000c573
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18000c560
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18000c6d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000c6ea
mov qword [r8], 0
lea rdx, [0x180048dd4]
call fcn.18000c5a0
mov rbx, rax
test rax, rax
jne 0x18000c70a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x18000c7e1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000c7e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18000c7e1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000c7e1
cmp rdi, 0xffffffffffffffff
je 0x18000c7e1
mov rax, qword [0x180056b58]
test rax, rax
je 0x18000c77e
inc dword [rax + 0x158]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18000c7e1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18000c7ce
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180056b58]
test rax, rax
je 0x18000c7c3
dec dword [rax + 0x158]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000c7ea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000c7dc
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000c7ec
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret