joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402f7fc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rdi, rdx
mov rbx, rcx
jne 0x1402f80ce
cmp qword [rdx + 0x10], 9
je 0x1402f8004
cmp qword [rdx + 0x10], 0x1b
jne 0x1402f8058
call fcn.14018dc10
test rax, rax
je 0x1402f8058
mov rcx, rbx
call fcn.14018dc10
jmp 0x1402f8046
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14018d5fc
test rax, rax
je 0x1402f8058
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14018d5fc
mov rdx, qword [rbx + 0x40]
xor r8d, r8d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call fcn.14018d5fc
mov rcx, rax
call fcn.140193c78
mov eax, 1
jmp 0x1402f80d9
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14018d5fc
cmp rax, rbx
jne 0x1402f80ce
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1402f80ce
mov rax, qword [rdi + 0x10]
cmp rax, 0x2e
je 0x1402f80c7
cmp rax, 0x43
je 0x1402f80c0
cmp rax, 0x56
je 0x1402f80a9
cmp rax, 0x58
je 0x1402f80a2
cmp rax, 0x5a
jne 0x1402f80ce
lea edx, [rax + 0x6d]
jmp 0x1402f80ae
mov edx, 0x300
jmp 0x1402f80ae
mov edx, 0x302
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1402f804e
mov edx, 0x301
jmp 0x1402f80ae
mov edx, 0x303
jmp 0x1402f80ae
mov rdx, rdi
mov rcx, rbx
call fcn.1401ab600
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140302b94
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140397880]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14030624c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140302a3c
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140306308
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14030636e
test ebx, ebx
jne 0x14030636e
lea ecx, [rax + 2]
call fcn.140302a3c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140301e60
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret

Function at 0x14030f440
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14030f4a2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14030f4a2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14030f4a2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14030f4a2
cmp dword [rdx + 0x84], 0xe
jbe 0x14030f4a2
cmp dword [rdx + 0xf8], 0
je 0x14030f4a2
mov ecx, ebx
call fcn.14030f300
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1403a3a50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14030f180
cmp dword [rsp + 0x60], 0
jne 0x14030f4e5
mov ecx, ebx
call fcn.14030f2b0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14030f530
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14030f58c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14030f58c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14030f58c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14030f58c
cmp dword [rcx + 0x84], 0xe
jbe 0x14030f58c
cmp dword [rcx + 0xf8], 0
je 0x14030f58c
mov ecx, ebx
call fcn.14030f300
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1403a3a50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14030f180
cmp dword [rsp + 0x60], 0
jne 0x14030f5cf
mov ecx, ebx
call fcn.14030f2b0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x1405f11c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1405f11cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1405f11dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1405f11c5
lea eax, [rcx + 1]
jmp 0x1405f11eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1405f11fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1405f11e4
sub eax, 3
jb 0x1405f121e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1405f126d
sar eax, 1
movsxd rbp, eax
jb 0x1405f1254
jmp 0x1405f122c
add ebx, ebx
jne 0x1405f122a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1405f1254
inc ecx
add ebx, ebx
jne 0x1405f123a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1405f1254
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1405f124d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1405f123c
add ecx, 2
jmp 0x1405f1259
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1405f1182
jmp 0x1405f11cd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x29e000
mov dl, 0x64
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1405f12bd
cmp rsi, rcx
jae 0x1405f12c5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1405f12a4
cmp al, 0x8f
ja 0x1405f12a4
cmp byte [rsi - 2], 0xf
je 0x1405f12aa
sub al, 0xe8
cmp al, 1
ja 0x1405f128e
cmp rsi, rcx
jae 0x1405f12c5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1405f1294
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1405f12c5
lodsb al, byte [rsi]
jmp 0x1405f12a4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5ee000]
mov eax, dword [rdi]
or eax, eax
je 0x1405f1322
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5f1540]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1405f12d2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1405f131c
mov qword [rbx], rax
add rbx, 8
jmp 0x1405f12f2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1405f1366
cmp al, 0xef
ja 0x1405f134e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1405f132e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1405f133d
mov eax, dword [rdi]
add rdi, 4
jmp 0x1405f133d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1405f13ba
sub rsp, 0xffffffffffffff80
jmp 0x140076728
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400e0960]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400e0970]
mov dword [rax], 1
mov rax, qword [0x1400e0980]
mov dword [rax], 1
mov rax, qword [0x1400e0900]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400e0950]
mov dword [0x14010c00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400e0a50]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400e0a30]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x1400dfd10]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x1400047f2
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 qword [rbp + 0x28], rdx
movzx eax, byte [0x14010c080]
test al, al
je 0x140004846
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___.c_str___const
mov rdx, rax
mov rax, qword [rbp + 0x28]
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 0x1400107a0
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 0x140010810
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14010c1a4]
test esi, esi
mov rbx, rcx
jle 0x140010940
mov rax, qword [0x14010c1a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001085b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400108e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140010840
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140010962
mov rax, qword [0x14010c1a8]
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 [0x14010c1a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140010947
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400108de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400108f0
add dword [0x14010c1a4], 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 [0x14010c1a8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400108de
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 0x140010868
mov rax, qword [0x14010c1a8]
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 0x140010ed0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14010c200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14010c1e0]
test rbx, rbx
je 0x140010f2c
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 0x140010f23
test rsi, rsi
je 0x140010f23
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140010f08
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 0x140011140
Capabilities:
Parse pe header

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

Function at 0x140011150
Capabilities:
Parse pe header

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

Function at 0x140011160
Capabilities:
Parse pe header

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

Function at 0x140011190
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 0x1400111dd
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 0x1400111d4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400111df
add rax, 0x28
cmp rax, r9
jne 0x1400111c0
xor eax, eax
ret

Function at 0x1400111e0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140011270
mov rdx, qword [0x1400e0900]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14001125e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14001125e
cmp word [rax + 0x18], 0x20b
jne 0x14001125e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140011270
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140011249
add rbx, 0x28
cmp rbx, rdi
je 0x140011270
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140011240
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 0x140011280
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400e0900]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400112a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400112a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400112a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400112fd
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 0x1400112f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400112a0
add rax, 0x28
cmp rax, r9
jne 0x1400112e0
xor eax, eax
ret

Function at 0x140011300
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400e0900]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14001131f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140011328
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14001131f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140011340
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400e0900]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140011360
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140011368
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140011360
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x1400113b0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400113a7
test rcx, rcx
je 0x140011360
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140011398
xor eax, eax
ret

Function at 0x1400113c0
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x1400e0900]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140011420
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140011428
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140011420
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x140011420
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 0x140011474
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140011480
add rdx, 0x28
cmp r9, rdx
jne 0x140011460
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret
Function at 0x140011490
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400e0900]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400114b2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400114c0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400114b2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400114b2
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x1400114b2
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 0x140011515
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140011528
add rdx, 0x28
cmp rdx, r10
jne 0x140011500
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140011537
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140011547
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14001151e
test ecx, ecx
jg 0x140011530
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x14001c820
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x1400d51c8], eax
je sym.pthread_tls_init.cold
add rsp, 0x28
ret

Function at 0x14001c840
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
mov qword [rsp + 0x20], rax
movabs rax, 0x7520676e696e6165
mov qword [rsp + 0x28], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x30], rax
movabs rax, 0x20726f6620737965
mov qword [rsp + 0x38], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x87], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x14001c94a
lea rcx, [rsp + 0x20]
mov eax, 0x28
jmp 0x14001c922
add rax, 1
cmp rax, 0x6b
je 0x14001c93f
cmp byte [rcx + rax], 0
jne 0x14001c918
cmp eax, 0x6a
movsxd rdx, eax
je 0x14001c93f
add eax, 1
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sym.abort
lea rcx, [rsp + 0x20]
mov eax, 0x28
mov edx, 0x27
jmp 0x14001c933