joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d780
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xc8], rax
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xc0], 0x40000000
setg al
and al, 1
cmp al, 0
je 0x14003d84e
mov rcx, qword [rsp + 0xc0]
mov rax, rsp
mov qword [rax + 0x20], rcx
lea rcx, str.C:_Users_Jshaw_Odin_Odin_core_os_file_windows.odin
mov edx, 0xfd
mov r8d, listen
mov r9d, 0x40000000
call fcn.140004360
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 0x40000000
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov rdx, rcx
shr rdx, 0x20
mov dword [rsp + 0x94], edx
mov dword [rsp + 0x90], ecx
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x90]
mov r9d, dword [rsp + 0x94]
mov r10, qword [rsp + 0x98]
mov qword [rsp + 0x78], r10
mov dword [rsp + 0x74], r9d
mov dword [rsp + 0x70], r8d
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc0]
mov r8d, eax
lea r9, [rsp + 0x54]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call sub.KERNEL32.dll_WriteFile
cmp eax, 0
jne 0x14003d956
call sub.KERNEL32.dll_GetLastError
mov eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x54], 0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x54]
mov edx, eax
mov rax, qword [rsp + 0x48]
mov qword [rcx], rdx
add rsp, 0xd8
ret
Function at 0x14003e770
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xc8], rax
mov eax, dword [0x1400cea0c]
mov ecx, eax
mov rax, qword gs:[0x58]
mov rax, qword [rax + rcx*8]
mov rax, qword [rax + 0x70]
cmp rax, 0
setne al
mov cl, al
and cl, 1
mov byte [rsp + 0xd7], cl
test al, 1
jne 0x14003e7dc
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
lea rcx, str.The_thread_you_are_calling_from_is_not_a_server_handler_thread
call fcn.140087fd0
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 0x10], 5
setge al
and al, 1
cmp al, 0
je 0x14003e89c
mov r9, qword [rsp + 0x28]
mov rax, qword [rsp + 0xc8]
add rax, 8
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x90], rax
movabs rax, 0x61000000000000d5
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 1
lea rcx, str.connection__i_already_closing_closed
lea rdx, [rsp + 0xb0]
lea r8, str.C:_Users_Jshaw_Odin_odin_http_server.odin
call fcn.140010350
nop
add rsp, 0xd8
ret
mov r9, qword [rsp + 0x28]
mov rax, qword [rsp + 0xc8]
add rax, 8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x60], rax
movabs rax, 0x61000000000000d5
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rcx, str._bw_v_
lea rdx, [rsp + 0x80]
lea r8, str.C:_Users_Jshaw_Odin_odin_http_server.odin
call fcn.1400102b0
mov r9, qword [rsp + 0x28]
mov rax, qword [rsp + 0xc8]
mov qword [rax + 0x10], 5
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 8]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 1
call fcn.140021ed0
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xc8]
add rcx, 0x18
call fcn.140035360
mov rcx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rax, rsp
mov qword [rax + 0x20], rcx
mov eax, dword [0x1400cea0c]
mov ecx, eax
mov rax, qword gs:[0x58]
mov rax, qword [rax + rcx*8]
lea rcx, [rax + 0x78]
lea r9, [0x140088490]
mov edx, 0x1dcd6500
call fcn.1400541d0
nop
add rsp, 0xd8
ret
Function at 0x14004a6c0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1c8
mov qword [rsp + 0x20], rcx
cmp byte [0x1400ce569], 0
je 0x14004a6dd
add rsp, 0x1c8
ret
jmp 0x14004a6df
xor eax, eax
mov cl, 1
lock cmpxchg byte [0x1400ce568], cl
sete cl
cmp al, 0
je 0x14004a6f6
pause
jmp 0x14004a6df
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x198
call fcn.14009bf90
mov word [rsp + 0x2e], 0x202
mov cx, word [rsp + 0x2e]
lea rdx, [rsp + 0x30]
call sub.WS2_32.dll_WSAStartup
mov r9, qword [rsp + 0x20]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
sete al
and al, 1
cmp al, 0
setne cl
and cl, 1
lea rdx, str.unable_to_initialized_Winsock2
lea r8, str.C:_Users_Jshaw_Odin_Odin_core_sys_windows_util.odin
call fcn.14003d400
mov byte [0x1400ce569], 1
xor eax, eax
xchg byte [0x1400ce568], al
add rsp, 0x1c8
ret
Function at 0x140062ee0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x80]
add rcx, 8
call fcn.140017100
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x6c], 0
mov rax, qword [rsp + 0x80]
cmp byte [rax + 0x28], 0
je 0x140062f8b
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x88]
lea r8, [rsp + 0x7c]
xor r9d, r9d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call sub.WS2_32.dll_WSAGetOverlappedResult
mov dword [rsp + 0x6c], eax
jmp 0x140062ff8
mov dword [rsp + 0x64], 0
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x80]
add rdx, 0x18
mov rax, qword [rsp + 0x88]
mov r8d, 1
lea r9, [rsp + 0x7c]
lea r10, [rsp + 0x64]
xor r11d, r11d
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
call sub.WS2_32.dll_WSARecv
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0xffffffff
setne al
and al, 1
movzx eax, al
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x28], 1
cmp dword [rsp + 0x6c], 0
jne 0x140063008
call sub.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x78], eax
mov ecx, dword [rsp + 0x7c]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x7c], ecx
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x58]
add rsp, 0x98
ret
Function at 0x140063030
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x80]
add rcx, 8
call fcn.140017100
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x6c], 0
mov rax, qword [rsp + 0x80]
cmp byte [rax + 0x28], 0
je 0x1400630db
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x88]
lea r8, [rsp + 0x7c]
xor r9d, r9d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call sub.WS2_32.dll_WSAGetOverlappedResult
mov dword [rsp + 0x6c], eax
jmp 0x140063141
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x80]
add rdx, 0x18
mov rax, qword [rsp + 0x88]
mov r8d, 1
lea r9, [rsp + 0x7c]
xor r10d, r10d
xor r10d, r10d
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
call sub.WS2_32.dll_WSASend
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0xffffffff
setne al
and al, 1
movzx eax, al
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x28], 1
cmp dword [rsp + 0x6c], 0
jne 0x140063151
call sub.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x78], eax
mov ecx, dword [rsp + 0x7c]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x7c], ecx
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x58]
add rsp, 0x98
ret
Function at 0x14006b1a0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rcx
mov r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xb4], 0
mov qword [rsp + 0xa8], 0
lea rdx, str.C:_Users_Jshaw_Odin_Odin_core_thread_thread_windows.odin
lea r8, [rsp + 0xa8]
mov rcx, r9
call fcn.14007da30
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
sete al
and al, 1
cmp al, 0
je 0x14006b233
xor eax, eax
add rsp, 0xe8
pop rdi
pop rsi
ret
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rdx]
mov rdx, qword [rdx + 8]
mov qword [rax + 0xf0], rdx
mov qword [rax + 0xe8], rcx
mov r9, qword [rsp + 0x90]
xor eax, eax
mov edx, eax
lea r8, [0x14008c350]
lea rax, [rsp + 0xb4]
mov rcx, rdx
mov dword [rsp + 0x20], 4
mov qword [rsp + 0x28], rax
call sub.KERNEL32.dll_CreateThread
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
sete al
and al, 1
cmp al, 0
je 0x14006b35b
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x90]
add rcx, 0xe8
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0xe0], rax
cmp rax, 0
sete al
test al, 1
jne 0x14006b2e9
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
sete al
test al, 1
jne 0x14006b2e9
jmp 0x14006b2eb
jmp 0x14006b34f
mov r10, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov edx, 1
xor r8d, r8d
mov r9d, r8d
lea rsi, str.C:_Users_Jshaw_Odin_Odin_core_thread_thread_windows.odin
lea r11, [rsp + 0xd0]
mov r8, r9
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x40], r10
call rax
mov byte [rsp + 0xcf], al
xor eax, eax
add rsp, 0xe8
pop rdi
pop rsi
ret
mov r9, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
mov qword [rax], rcx
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0xb4]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
lea rcx, str.C:_Users_Jshaw_Odin_Odin_core_thread_thread_windows.odin
mov edx, 0x46
mov r8d, 0x43
mov qword [rsp + 0x20], 3
call fcn.140003990
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
lea rax, [0x1400cb730]
mov edx, dword [rax + rdx*4]
call sub.KERNEL32.dll_SetThreadPriority
mov r9, qword [rsp + 0x68]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 1
sete al
and al, 1
cmp al, 0
setne cl
and cl, 1
lea rdx, [0x1400ba5f8]
lea r8, str.C:_Users_Jshaw_Odin_Odin_core_thread_thread_windows.odin
call fcn.14003d400
mov rax, qword [rsp + 0x90]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x14006b430
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
add rcx, 0x10
mov qword [rsp + 0x20], rcx
call fcn.1400529c0
mov rax, qword [rsp + 0x30]
mov cl, byte [rax + 0x18]
or cl, 1
mov byte [rax + 0x18], cl
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call sub.KERNEL32.dll_ResumeThread
mov rcx, qword [rsp + 0x20]
call fcn.1400529a0
nop
add rsp, 0x38
ret

Function at 0x140082110
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x50
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov rcx, qword [rsp]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 8
movabs rdx, 0xcbf29ce484222325
add rcx, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x18], 0
cmp qword [rsp + 0x20], 8
jge 0x1400821c3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x18]
add rax, 1
mov qword [rsp + 0x18], rax
jmp 0x140082162
movabs rax, 0x7fffffffffffffff
and rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x30], 0
sete cl
and cl, 1
movzx ecx, cl
or rax, rcx
add rsp, 0x50
ret

Function at 0x140084be0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x70
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x18]
mov rdx, qword [rdx + 8]
mov qword [rsp], rdx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rdx
movabs rdx, 0xcbf29ce484222325
add rcx, rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov rax, qword [rsp]
cmp qword [rsp + 0x40], rax
jge 0x140084cb8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
add rax, 1
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
add rax, 1
mov qword [rsp + 0x38], rax
jmp 0x140084c54
movabs rax, 0x7fffffffffffffff
and rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x50], 0
sete cl
and cl, 1
movzx ecx, cl
or rax, rcx
add rsp, 0x70
ret
Function at 0x140087370
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x50
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov rcx, qword [rsp]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 8
movabs rdx, 0xcbf29ce484222325
add rcx, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x18], 0
cmp qword [rsp + 0x20], 8
jge 0x140087423
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x18]
add rax, 1
mov qword [rsp + 0x18], rax
jmp 0x1400873c2
movabs rax, 0x7fffffffffffffff
and rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x30], 0
sete cl
and cl, 1
movzx ecx, cl
or rax, rcx
add rsp, 0x50
ret

Function at 0x140088580
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x50
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov rcx, qword [rsp]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 8
movabs rdx, 0xcbf29ce484222325
add rcx, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x18], 0
cmp qword [rsp + 0x20], 8
jge 0x140088633
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x18]
add rax, 1
mov qword [rsp + 0x18], rax
jmp 0x1400885d2
movabs rax, 0x7fffffffffffffff
and rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x30], 0
sete cl
and cl, 1
movzx ecx, cl
or rax, rcx
add rsp, 0x50
ret
Function at 0x14008ba00
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x50
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov rcx, qword [rsp]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 8
movabs rdx, 0xcbf29ce484222325
add rcx, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x18], 0
cmp qword [rsp + 0x20], 8
jge 0x14008bab3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x18]
add rax, 1
mov qword [rsp + 0x18], rax
jmp 0x14008ba52
movabs rax, 0x7fffffffffffffff
and rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x30], 0
sete cl
and cl, 1
movzx ecx, cl
or rax, rcx
add rsp, 0x50
ret

Function at 0x14008de04
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 0x14008de73
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008de73
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008de73
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008de73
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008de73
cmp dword [rcx + 0x84], 0xe
jbe 0x14008de73
cmp dword [rcx + 0xf8], 0
je 0x14008de73
mov ecx, ebx
call fcn.14008df24
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.14008dd00
nop
cmp dword [rbp + 0x20], 0
je 0x14008dec1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008decc
int3
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14008de04

Function at 0x14008e008
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14008de04

Function at 0x1400919bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140091a06
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140091a06
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140091a06
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140091a06
cmp dword [rcx + 0x84], 0xe
jbe 0x140091a06
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140091a08
xor al, al
add rsp, 0x28
ret
Function at 0x140097324
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 0x140097354
xor eax, eax
jmp 0x140097417
mov rbp, rbx
cmp word [rax], si
je 0x140097379
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140097360
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14009735c
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.140091364
movsxd r14, eax
test eax, eax
jne 0x1400973b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14009734d
mov rcx, r14
call fcn.14008dca0
mov rdi, rax
test rax, rax
jne 0x1400973d0
xor ecx, ecx
call fcn.14008f114
jmp 0x1400973ac
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.140091364
test eax, eax
jne 0x140097401
mov rcx, rdi
call fcn.14008f114
jmp 0x14009740b
xor ecx, ecx
call fcn.14008f114
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 0x140098fbc
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.14008fcb4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140099046
cmp byte [rbp - 0x21], r15b
je 0x140099041
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14009907c
call fcn.14008f770
test eax, eax
jne 0x140099068
cmp byte [rbp - 0x21], r15b
je 0x140099060
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14009907c
cmp byte [rbp - 0x21], r15b
je 0x140099079
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.140096634
test eax, eax
jne 0x14009911c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14008fcb4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400990bb
cmp byte [rbp - 0x21], r15b
je 0x1400990f0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400990f0
call fcn.14008f770
test eax, eax
jne 0x1400990dc
cmp byte [rbp - 0x21], r15b
je 0x1400990d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400990f0
cmp byte [rbp - 0x21], r15b
je 0x1400990ed
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.140096634
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14009911c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14009911f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14009912d
mov rcx, rdi
call fcn.14008f114
cmp byte [rbp + 0x3f], r15b
je 0x14009913c
mov rcx, qword [rbp + 0x27]
call fcn.14008f114
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 0x14009bdb0
Capabilities:
Parse pe header

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