joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442300
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x442467
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x442312
cmp edx, ecx
jne 0x442455
nop word [rax + rax]
test rsi, rsi
jne 0x442455
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x442374
nop
call fcn.00462440
xorps xmm15, xmm15
mov r14, qword [0x01551688]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00442220
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x442450
mov rdx, qword [0x014ca0c8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x442445
mov rcx, qword [0x014ca0c0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x014cd850]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x014cd850], rax
nop
mov edx, 1
lea rsi, [0x014cd858]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x442433
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x00cdfff6]
mov ebx, 0x28
nop
call fcn.00434640
mov rax, rsi
mov rcx, rdx
call fcn.00460ac0
call fcn.004332e0
lea rax, [0x00cdb214]
mov ebx, 0x23
call fcn.00434640
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e7e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00442300
Function at 0x44e340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44e4b7
movzx edx, byte [rax]
test edx, edx
jne 0x44e374
nop dword [rax]
test r8b, r8b
jne 0x44e374
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x44e387
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44e477
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x44e465
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x44e457
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x44e3dd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x44e420
mov eax, 1
cmp rax, rbx
ja 0x44e40b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00460b80
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x44e44f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x44e413
mov rcx, r11
mov eax, r12d
jmp 0x44e3e2
mov rcx, rbx
call fcn.00460ac0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00460ac0
mov eax, r8d
mov rcx, rbx
call fcn.00460b80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44e4ad
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x44e470
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44e38d
mov eax, edx
mov rcx, rbx
call fcn.00460ac0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00460ac0
nop
int3

Function at 0x454420
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4544d5
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00452140
nop
test bl, bl
je 0x4544cf
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x00454520]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.0045e6c0
xorps xmm15, xmm15
mov r14, qword [0x01551688]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045e7e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00454420
Function at 0x4555e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45568f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x004556e0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045e6c0
xorps xmm15, xmm15
mov r14, qword [0x01551688]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045e7e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.004555e0
Function at 0x18009e970
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd rsi, r8d
mov rbp, rcx
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov r8d, esi
lea rdx, [rsp + 0x58]
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_grow_int____ptr64__int____ptr64]
mov rcx, rbp
mov r15, rax
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
movsxd rdx, dword [rsp + 0x58]
mov rcx, rbp
lea rbx, [rax + rdx*8]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov rcx, rbp
call fcn.1800a09d0
movsxd rcx, dword [rsp + 0x58]
lea r14, [rdi + rcx*8]
mov rcx, rbp
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
mov rcx, rbp
mov r12, rax
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
movsxd rdx, dword [rsp + 0x58]
add rdx, rsi
lea rbx, [rax + rdx*8]
cmp rbx, r12
je 0x18009ea64
nop dword [rax + rax]
mov ecx, 0x20
call fcn.180212228
mov rdi, qword [r14]
mov rsi, rax
mov rcx, qword [rdi]
lea rdx, [rdi + 0x10]
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
lea rcx, [rax + 0x10]
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QSurfaceFormat::constructor_class_QSurfaceFormat_const____ptr64____ptr64]
mov ecx, dword [rsi + 0x18]
lea r14, [r14 + 8]
xor ecx, dword [rdi + 0x18]
and ecx, 1
xor dword [rsi + 0x18], ecx
mov ecx, dword [rsi + 0x18]
xor ecx, dword [rdi + 0x18]
and ecx, 2
xor dword [rsi + 0x18], ecx
mov qword [rbx], rsi
add rbx, 8
cmp rbx, r12
jne 0x18009ea10
mov eax, dword [r15]
test eax, eax
je 0x18009ea7d
cmp eax, 0xffffffff
je 0x18009ea88
or eax, 0xffffffff
lock xadd dword [r15], eax
cmp eax, 1
jne 0x18009ea88
mov rdx, r15
mov rcx, rbp
call fcn.18009e850
mov rcx, rbp
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
movsxd rcx, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
lea rax, [rax + rcx*8]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1800a09d0
Capabilities:
Encode data using xor

Disassembly:
cmp rdx, r8
je 0x1800a0a6b
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov r14, r9
mov qword [rsp + 0x30], rsi
sub r14, rdx
mov qword [rsp + 0x38], rdi
mov rbp, r8
mov rbx, rdx
nop
mov ecx, 0x20
call fcn.180212228
mov rdi, qword [r14 + rbx]
mov rsi, rax
mov rcx, qword [rdi]
lea rdx, [rdi + 0x10]
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
lea rcx, [rax + 0x10]
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QSurfaceFormat::constructor_class_QSurfaceFormat_const____ptr64____ptr64]
mov ecx, dword [rsi + 0x18]
xor ecx, dword [rdi + 0x18]
and ecx, 1
xor dword [rsi + 0x18], ecx
mov ecx, dword [rdi + 0x18]
xor ecx, dword [rsi + 0x18]
and ecx, 2
xor dword [rsi + 0x18], ecx
mov qword [rbx], rsi
add rbx, 8
cmp rbx, rbp
jne 0x1800a0a00
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800a7190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rdx
mov rdi, rcx
call fcn.1800a6ec0
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
test al, al
je 0x1800a7210
mov rax, qword gs:[0x58]
mov r8d, dword [0x180346328]
mov ecx, 4
mov r9, qword [rax + r8*8]
mov eax, dword [rcx + r9]
cmp dword [0x1803458d8], eax
jg 0x1800a72b3
lea rcx, [0x1803458c0]
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QLoggingCategory::categoryName_void_const___ptr64]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.nodeGeometryUpdated
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const____ptr64_const___ptr64]
lea rcx, [rdi + 0xe0]
mov r9, qword [rcx]
cmp dword [r9 + 0x14], 0
je 0x1800a7297
mov r10d, dword [r9 + 0x20]
xor r8d, r8d
test r10d, r10d
je 0x1800a7277
mov r8, rbx
shr r8, 0x1f
xor r8d, dword [r9 + 0x24]
xor r8d, ebx
test r10d, r10d
je 0x1800a7277
xor edx, edx
mov eax, r8d
div r10d
mov rax, qword [r9 + 8]
lea rcx, [rax + rdx*8]
mov rax, qword [rax + rdx*8]
cmp rax, r9
je 0x1800a7277
nop dword [rax]
cmp r8d, dword [rax + 8]
jne 0x1800a726c
cmp rbx, qword [rax + 0x10]
je 0x1800a7277
mov rcx, rax
mov rax, qword [rax]
cmp rax, r9
jne 0x1800a7260
mov rcx, qword [rcx]
cmp rcx, r9
je 0x1800a7297
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1800a7297
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.1800aeed0
mov rcx, qword [rdi + 0x110]
xor r8d, r8d
mov rdx, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.1800b1170
lea rcx, [0x1803458d8]
call fcn.180212414
cmp dword [0x1803458d8], 0xffffffff
jne 0x1800a71db
lea rdx, str.qt.scenegraph.softwarecontext.abstractrenderer
lea rcx, [0x1803458c0]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QLoggingCategory::constructor_char_const____ptr64____ptr64]
lea rcx, [0x180213c30]
call fcn.180212a28
lea rcx, [0x1803458d8]
call fcn.1802123b4
jmp 0x1800a71db
Function at 0x1800a7300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rdx
mov rdi, rcx
call fcn.1800a6ec0
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
test al, al
je 0x1800a7380
mov rax, qword gs:[0x58]
mov r8d, dword [0x180346328]
mov ecx, 4
mov r9, qword [rax + r8*8]
mov eax, dword [rcx + r9]
cmp dword [0x1803458d8], eax
jg 0x1800a7423
lea rcx, [0x1803458c0]
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QLoggingCategory::categoryName_void_const___ptr64]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.nodeMaterialUpdated
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::debug_char_const____ptr64_const___ptr64]
lea rcx, [rdi + 0xe0]
mov r9, qword [rcx]
cmp dword [r9 + 0x14], 0
je 0x1800a7407
mov r10d, dword [r9 + 0x20]
xor r8d, r8d
test r10d, r10d
je 0x1800a73e7
mov r8, rbx
shr r8, 0x1f
xor r8d, dword [r9 + 0x24]
xor r8d, ebx
test r10d, r10d
je 0x1800a73e7
xor edx, edx
mov eax, r8d
div r10d
mov rax, qword [r9 + 8]
lea rcx, [rax + rdx*8]
mov rax, qword [rax + rdx*8]
cmp rax, r9
je 0x1800a73e7
nop dword [rax]
cmp r8d, dword [rax + 8]
jne 0x1800a73dc
cmp rbx, qword [rax + 0x10]
je 0x1800a73e7
mov rcx, rax
mov rax, qword [rax]
cmp rax, r9
jne 0x1800a73d0
mov rcx, qword [rcx]
cmp rcx, r9
je 0x1800a7407
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1800a7407
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.1800aeed0
mov rcx, qword [rdi + 0x110]
xor r8d, r8d
mov rdx, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.1800b1170
lea rcx, [0x1803458d8]
call fcn.180212414
cmp dword [0x1803458d8], 0xffffffff
jne 0x1800a734b
lea rdx, str.qt.scenegraph.softwarecontext.abstractrenderer
lea rcx, [0x1803458c0]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QLoggingCategory::constructor_char_const____ptr64____ptr64]
lea rcx, [0x180213c30]
call fcn.180212a28
lea rcx, [0x1803458d8]
call fcn.1802123b4
jmp 0x1800a734b
Function at 0x140002952
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x140002971
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a4e8

Function at 0x1400055bb
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.14001a4e8

Function at 0x1400055fa
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x14008b0f0], 0
jne 0x140005612
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.1400055bb
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.140005534
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x14008b0f0]
test rbx, rbx
je 0x140005643
test byte [rbx + 7], 0x40
jne 0x140005643
mov rcx, rbx
call fcn.1400039df
lea rcx, [0x140020320]
call fcn.140015130
cmp byte [rax], 0
je 0x14000567b
lea rcx, [0x140020220]
mov byte [rax], 0
call fcn.140015130
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140003f44
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x140005cf2
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x14008b0c0]
xor ebx, ebx
lea r14, [0x140020320]
lea r13, [rsp + 0x20]
mov rsi, rcx
mov rdi, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rdi
mov ecx, 1
jl 0x140005d78
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14002139b]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.14001a4e8
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140005bcb
mov rcx, r14
call fcn.140015130
cmp byte [rax], 0
jne 0x140005daa
inc rbx
jmp 0x140005d2b
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140011098
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1400110d6
cmp word [rcx], 0x5a4d
jne 0x1400110d6
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x1400110d6
call fcn.1400075c9
mov rcx, qword [0x140086bf0]
mov rbx, rax
call fcn.140015130
cmp byte [rax], 0
jne 0x1400110d6
cmp dword [rbx], 0x4550
je 0x1400110d8
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400142a0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.14001a1d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140014310
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14008bb04]
test esi, esi
mov rbx, rcx
jle 0x140014440
mov rax, qword [0x14008bb08]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001435b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400143e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140014340
mov rcx, rbx
call fcn.140014d80
test rax, rax
mov rdi, rax
je 0x140014462
mov rax, qword [0x14008bb08]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014ec0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14008bb08]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140014447
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400143de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400143f0
add dword [0x14008bb04], 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 [0x14008bb08]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400143de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400142a0
nop dword [rax]
xor esi, esi
jmp 0x140014368
mov rax, qword [0x14008bb08]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.1400142a0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.1400142a0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400149d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14008bb60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14008bb40]
test rbx, rbx
je 0x140014a2c
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 0x140014a23
test rsi, rsi
je 0x140014a23
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140014a08
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 0x140014c40
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
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014c78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014c80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140014c50
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
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014c78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014c80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140014c60
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
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014c78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014c80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

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

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

Function at 0x140014e00
Capabilities:
Parse pe header

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