joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485140
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48587f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x48516d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4853f1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48541d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004e1d80]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004a2180]
lea rbx, [0x004e0a30]
call fcn.00464a00
inc rax
cmp rax, r8
jge 0x485442
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x485477
lea rdi, [0x004a2200]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x485163
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x48545b
jmp 0x485430
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046a120
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00485140

Function at 0x485a20
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 0x485a37
inc rax
cmp rax, 4
jge 0x485a4f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x485a34
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x485a60
inc rax
cmp rax, 4
jge 0x485a6e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x485a97
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 0x485a7b
jmp 0x485a5d

Function at 0x4893e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4894aa
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.00403200
xorps xmm15, xmm15
mov r14, qword [0x005aa870]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48948f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004a2280]
xor ebx, ebx
mov rcx, rdx
call fcn.00465da0
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.004899c0
inc rbx
cmp rcx, rbx
jae 0x48947e
mov edi, 1
lea rsi, [0x004a2280]
call fcn.00465e80
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, [0x004e0b60]
lea rsi, [0x004e03e8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046a120
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004893e0
Function at 0x140002250
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x1400100e0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r8d, 0x40
lea rdx, [rsp + 0x20]
lea rcx, str._MSI_TEST
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
test eax, eax
je 0x1400022b8
movzx eax, word [rsp + 0x20]
lea rdx, [rsp + 0x20]
test eax, eax
je 0x1400022b6
mov ecx, dword [0x140010bb0]
and eax, 0x1f
lea rdx, [rdx + 2]
bts ecx, eax
movzx eax, word [rdx]
test eax, eax
jne 0x14000229f
mov dword [0x140010bb0], ecx
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140009a90
add rsp, 0xb8
ret
Function at 0x140005898
Capabilities:
Check os version

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetVersion]
nop dword [rax + rax]
test eax, eax
js 0x1400058f5
cmp al, 6
jb 0x1400058f5
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x1400058f5
lea rdx, str.HeapSetInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x1400058f5
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [0x14000b638]
add rsp, 0x38
ret
Function at 0x1400079c0
Capabilities:
Block operations on executable memory pages using arbitrary code guard
Terminate process

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rax - 0x10], 8
mov dword [rax - 0xc], 0x20
and dword [rax - 0x14], 0
lea rcx, [rax - 0x10]
mov rax, qword [0x14000f058]
call qword [0x14000b638]
and dword [rsp + 0x20], 0
mov dword [rsp + 0x20], 1
mov r8d, 4
lea rdx, [rsp + 0x20]
lea ecx, [r8 + 0xc]
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140005904
mov ebx, eax
mov dword [rsp + 0x24], eax
jmp 0x140007a2a
call fcn.140009298
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1400092a4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp byte [0x1400110da], bl
jne 0x140009359
cmp byte [0x140010dc4], bl
je 0x140009359
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000936a
lea rdx, str.GetSystemWow64DirectoryW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
jne 0x140009316
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
xor edi, edi
jmp 0x140009336
mov edx, 0x105
mov rcx, rdi
call qword [0x14000b638]
mov edi, eax
test eax, eax
jne 0x140009338
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov eax, edi
jmp 0x14000936a
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140009f1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140009f68
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140009f60
cmp dword [rcx + 0x3c], edx
jl 0x140009f60
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140009f60
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140009f68
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000117c
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400189d8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
xor ebx, ebx
mov dword [rsp + 0x20], 0x7361736c
xor edx, edx
mov dword [rsp + 0x24], 0x78652e73
mov word [rsp + 0x28], 0x65
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140018a65
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
jmp 0x140018a52
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x5c]
call fcn.1400035e4
test eax, eax
je 0x140018a58
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140018a32
jmp 0x140018a5c
mov ebx, dword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x160]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x1400015f0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400aea48
xor r8d, r8d
xor edx, edx
jmp 0x1400ae738

Function at 0x140001bd1
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400c66a8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne sil
test eax, eax
je 0x1400c66f4
test rbx, rbx
je 0x1400c66e3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140001df2
cmp eax, 1
je 0x1400c66f4
mov eax, 4
jmp 0x1400c6737
call fcn.1400058e4
cmp eax, 2
jne 0x1400c6730
call fcn.140001e74
test al, al
je 0x1400c6730
call fcn.140003f7b
test al, al
jne 0x1400c6726
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.14000592f
jmp 0x1400c6737
call fcn.1400056e6
mov rcx, rax
jmp 0x1400c6716
movzx eax, sil
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140001ece
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400bd700
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400ef820]
mov ecx, 3
lea r8, [0x1400ef818]
lea rdx, str.FlsAlloc
call fcn.1400bcdac
test rax, rax
je 0x1400bd73c
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x14011e020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x140002770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400d33c8
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14010c040]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r10d, r10d
lea r11, [0x140111ba0]
test r9, r9
lea rdi, [0x1400e559e]
mov rax, rdx
mov r15, rdx
cmovne r11, r9
test rdx, rdx
lea ebp, [r10 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x1400d3431
mov rax, 0xfffffffffffffffe
jmp 0x1400d357f
cmp word [r11 + 6], r10w
jne 0x1400d34a0
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400d345b
test rsi, rsi
je 0x1400d344c
mov dword [rsi], r9d
test r9b, r9b
setne r10b
mov rax, r10
jmp 0x1400d357f
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400d3469
mov r8b, 2
jmp 0x1400d3487
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400d3477
mov r8b, 3
jmp 0x1400d3487
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400d356d
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400d34c9
mov r8b, byte [r11 + 4]
mov edx, dword [r11]
mov bl, byte [r11 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400d356d
cmp bl, bpl
jb 0x1400d356d
cmp bl, r8b
jae 0x1400d356d
movzx ebp, bl
cmp rbp, r14
mov r9d, ebp
cmovae r9, r14
jmp 0x1400d34f6
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400d356d
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r9
jb 0x1400d34d8
cmp r9, rbp
jae 0x1400d3522
movzx eax, r8b
sub bl, r9b
mov word [r11 + 4], ax
movzx eax, bl
mov word [r11 + 6], ax
mov dword [r11], edx
jmp 0x1400d3425
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400d356d
cmp edx, 0x110000
jae 0x1400d356d
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400d356d
test rsi, rsi
je 0x1400d3560
mov dword [rsi], edx
neg edx
mov qword [r11], r10
sbb rax, rax
and rax, rbp
jmp 0x1400d357f
mov qword [r11], r10
call fcn.140002c39
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400035e9
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140002b85
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400653a4
sub rsp, 0x28
call fcn.140003df0
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400653f6
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x1400653f6
sub ecx, 1
je 0x1400653ef
cmp ecx, 1
je 0x1400653e8
xor eax, eax
jmp 0x1400653fb
mov eax, 3
jmp 0x1400653fb
mov eax, 1
jmp 0x1400653fb
mov eax, 2
add rsp, 0x28
ret
Function at 0x140002e37
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400665dc
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140066669
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140066669
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140066669
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140066650
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14006664a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140066652
add rdx, 0x28
jmp 0x14006662f
xor edx, edx
test rdx, rdx
jne 0x14006665b
xor al, al
jmp 0x14006666f
cmp dword [rdx + 0x24], 0
jge 0x140066665
xor al, al
jmp 0x14006666f
mov al, 1
jmp 0x14006666f
xor al, al
jmp 0x14006666f
add rsp, 0x18
ret
Function at 0x14000332d
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140018c60
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x150
mov r15, rdx
mov rbp, rcx
xor edx, edx
mov r14d, r8d
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140018c9e
xor eax, eax
jmp 0x140018d28
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rsi
call sub.KERNEL32.dll_Process32First
xor ebx, ebx
jmp 0x140018d0c
mov rdx, rbp
lea rcx, [rsp + 0x4c]
call fcn.1400035e4
test eax, eax
jne 0x140018cff
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140018cff
mov r9d, r14d
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.KERNEL32.dll_K32GetModuleFileNameExA
mov rcx, rdi
test eax, eax
jne 0x140018d12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140018cb7
jmp 0x140018d1d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea r11, [rsp + 0x150]
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 0x14000338c
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c4ffc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x1400c5083
mov rbp, rax
cmp word [rax], si
je 0x1400c5045
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c502c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c5028
sub rbp, rbx
add rbp, 2
sar rbp, 1
add rbp, rbp
mov rcx, rbp
call fcn.140001050
mov rdi, rax
test rax, rax
je 0x1400c5073
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.140003616
mov rsi, rdi
xor ecx, ecx
call fcn.140001253
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140003634
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14005cfe4
jmp 0x1400639c8
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x14005d014
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x14005cff6
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x140002360

Function at 0x14000384b
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007a568
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400eb978]
mov ecx, 2
lea r8, [0x1400eb970]
lea rdx, str.FlsGetValue
call fcn.14007a038
mov ecx, ebx
test rax, rax
je 0x14007a5a2
add rsp, 0x20
pop rbx
jmp qword [0x14011e020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x140003ab7
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c4eb8
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 r14d, r14d
mov rbx, rax
test rax, rax
je 0x1400c4f8a
mov rsi, rax
cmp word [rax], r14w
je 0x1400c4f0b
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1400c4ef3
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1400c4eef
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.140004b47
movsxd rbp, eax
test eax, eax
je 0x1400c4f8a
mov rcx, rbp
call fcn.140001050
mov rdi, rax
test rax, rax
je 0x1400c4f7d
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140004b47
test eax, eax
je 0x1400c4f7d
mov rsi, rdi
mov rdi, r14
jmp 0x1400c4f80
mov rsi, r14
mov rcx, rdi
call fcn.140001253
jmp 0x1400c4f8d
mov rsi, r14
test rbx, rbx
je 0x1400c4f9b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140003acb
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14007a4b8
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400eb938]
xor ecx, ecx
lea r8, [0x1400eb930]
lea rdx, str.FlsAlloc
call fcn.14007a038
test rax, rax
je 0x14007a4f1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x14011e020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003b93
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400bd9a0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1400ef908]
mov rbp, rcx
lea r8, [0x1400ef900]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.1400bcdac
mov rcx, rbp
test rax, rax
je 0x1400bd9f6
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x14011e020]
jmp 0x1400bda0d
xor edx, edx
call fcn.140002ea5
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140003b9d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400679a0
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140003e1d
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400ae9e4
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400ae738
Function at 0x140003f0d
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400d26d0
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rbx
mov rax, qword [0x14010c040]
xor rax, rbp
mov qword [rbp + 8], rax
mov r9, rcx
test rcx, rcx
je 0x1400d2756
or r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], 0
jne 0x1400d26f9
add r8, 1
je 0x1400d2756
lea rax, [r8 + r8]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400d2720
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140001e47
sub rsp, rcx
lea rax, [r8 - 1]
lea rcx, [rbp]
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rdx, rbx
call fcn.140002400
test eax, eax
jne 0x1400d2756
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.1400035e9
mov rbx, qword [rbp + 0x20]
lea rsp, [rbp + 0x10]
pop rbp
ret

Function at 0x1400040a2
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400d7a00
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400d7a28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400d7a28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400045e3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140067614
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006765e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006765e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006765e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006765e
cmp dword [rcx + 0x84], 0xe
jbe 0x14006765e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140067660
xor al, al
add rsp, 0x28
ret
Function at 0x1400046ec
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x140039258
jmp 0x1400568a0
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14003928a
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14003926d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000115e
Function at 0x140004a3e
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400d7940
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1400d7981
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1400d7975
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1400d7983
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1400d7963
xor eax, eax
ret

Function at 0x140004db8
Capabilities:
Terminate process

Disassembly:
jmp 0x14007ac40
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14007ac5a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140005948
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140004eb7
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400bd7b4
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400ef840]
mov ecx, 5
lea r8, [0x1400ef838]
lea rdx, str.FlsGetValue
call fcn.1400bcdac
mov ecx, ebx
test rax, rax
je 0x1400bd7ee
add rsp, 0x20
pop rbx
jmp qword [0x14011e020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1400050a6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14001a118
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r13, rdx
mov rdi, rcx
mov esi, dword [rax + rcx + 0x88]
add rsi, rcx
mov r12d, dword [rsi + 0x20]
mov r14d, dword [rsi + 0x1c]
add r12, rcx
mov r15d, dword [rsi + 0x24]
add r14, rcx
add r15, rcx
cmp dword [rsi + 0x18], ebx
jbe 0x14001a17e
mov ecx, dword [r12 + rbx*4]
mov rdx, r13
add rcx, rdi
call fcn.14000670d
test eax, eax
je 0x14001a19d
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x14001a164
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r15 + rbx*2]
mov eax, dword [r14 + rax*4]
add rax, rdi
jmp 0x14001a180