joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e220
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x848
mov rax, qword [0x140053008]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x800
call fcn.14001d250
lea rdi, [rsp + 0x868]
call fcn.140001030
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x7fffffff
mov rcx, qword [rax]
call fcn.1400217b8
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140019ce0
add rsp, 0x848
pop rdi
pop rbx
ret

Function at 0x14000e2c0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
movsxd rbx, ecx
lea rcx, str.Enter_Function_DisableRadioHandler__disable___d_n
mov edx, ebx
call fcn.14000e220
mov r8d, ebx
lea rdx, str.Enter_Function_DisableRadioHandler__disable___d_n
mov ecx, 2
call fcn.1400197e0
test ebx, ebx
je case.default.0x14000e337
call fcn.140009810
cmp eax, 0x32
jl case.default.0x14000e337
lea rcx, str.DisableRadioHandler__dont_send_check_msg__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, str.DisableRadioHandler__dont_send_check_msg_n
mov ecx, 2
call fcn.1400197e0
mov dword [0x140053e94], 1
mov ecx, dword [0x140053e70]
mov r8, rbx
xor r9d, r9d
mov edx, 0x5e5d
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_PostThreadMessageW]
invalid
and al, 0xb0
invalid
and al, 0xbc
and edi, eax
cmp ebp, edx
lahf
jmp 0x14008b606
loop 0x14008b5f8
cli
ficom word [rsi + 0x34]
mov dl, 0x9e
sbb dword [rsi + rsi*2 + 0xe], ebp
movabs dword [0x9926dd9b0458d24c], eax
stc
cwde
invalid
mov bl, 0xb3
mov edx, 0xc418d347
jne 0x14008b58d
fcmovnbe st(0), st(3)
cmp eax, 0x76efff5f
invalid
out dx, eax
jbe 0x14008b648
jl 0x14008b620
invalid
call [rax]
stc
push 0x7abc9c53
sahf
jmp 0x14008b5bd
loopne 0x14008b623
int1
adc ebx, dword ds:[rdx - 0x3f]
invalid
je 0x14008b63b
sbb byte [rdi - 1], 0x9f
mov edi, 0xbb80d7b1
adc qword [r11 - 0x4f3fb0c8], rax
out 0x22, eax
invalid
Function at 0x2fc4d2860
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d3940
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d3262
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d32fa
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d32de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d32d2
cmp qword [rbp - 0x10], 0
je 0x2fc4d32d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d3298
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d32fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d3400
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d3428
mov eax, 0
jmp 0x2fc4d3476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d3451
mov eax, 0
jmp 0x2fc4d3476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d3471
mov eax, 0
jmp 0x2fc4d3476
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d347c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d34fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d34f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d34f1
mov rax, qword [rbp - 8]
jmp 0x2fc4d350f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d34c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140013ca0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014ff0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015010
xor al, al
jmp 0x140015091
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015023
xor al, al
jmp 0x140015091
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001504d
xor al, al
jmp 0x140015091
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015061
xor al, al
jmp 0x140015091
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015073
xor al, al
jmp 0x140015091
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001508f
xor al, al
jmp 0x140015091
mov al, 1
add rsp, 0x38
ret
Function at 0x2fc4d6c60
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d7d40
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d7662
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fa108]
test eax, eax
je 0x2fc4d76fa
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fa110]
mov qword [rbp - 8], rax
jmp 0x2fc4d76de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d76d2
cmp qword [rbp - 0x10], 0
je 0x2fc4d76d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d7698
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d76fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d7800
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d7828
mov eax, 0
jmp 0x2fc4d7876
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d7851
mov eax, 0
jmp 0x2fc4d7876
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d7871
mov eax, 0
jmp 0x2fc4d7876
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d787c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d78fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d78f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d78f1
mov rax, qword [rbp - 8]
jmp 0x2fc4d790f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d78c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x18009ae10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x98
mov rax, qword [0x180323178]
xor rax, rsp
mov qword [rsp + 0x70], rax
test edx, edx
jns 0x18009ae53
lea rcx, [rsp + 0x20]
call fcn.1802a16d0
test al, al
je 0x18009af4d
nop
int3
mov qword [rsp + 0xb0], rbx
mov ebx, dword [rcx + 0x18]
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x88], rdi
shl ebx, 9
add ebx, dword [rcx + 0x1c]
mov qword [rsp + 0x80], r14
lea r14, [rcx + 0x18]
movsxd rsi, edx
mov edi, ebx
inc rsi
cmp rsi, rdi
jbe 0x18009af2d
xor eax, eax
mov dword [rsp + 0x6c], 0xc
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
xorps xmm1, xmm1
mov qword [rsp + 0x38], rax
mov edx, esi
movdqa xmmword [rsp + 0x40], xmm0
mov rcx, r14
movdqa xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], eax
call fcn.18009a030
cmp ebx, esi
jae 0x18009af1d
nop
mov rax, qword [r14 + 8]
mov rcx, rdi
and ecx, 0x1ff
mov edx, ebx
shr rdx, 9
shl rcx, 6
add rcx, qword [rax + rdx*8]
lea rax, [rsp + 0x30]
cmp rcx, rax
je 0x18009af14
mov rax, qword [rsp + 0x60]
lea rdx, [rsp + 0x30]
mov r9d, dword [rcx + 0x3c]
test rax, rax
mov r8d, dword [rsp + 0x68]
cmovne rdx, rax
call fcn.1800094d0
inc ebx
inc rdi
cmp ebx, esi
jb 0x18009aed0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18009af2d
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18029bff0
add rsp, 0x98
ret
Function at 0x180231cc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x38
cmp rcx, 0x100
ja 0x180231e05
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x30], r14
mov r14, qword [sym.imp.FactoryServer_Core.dll_class_TLockFreeFixedSizeAllocator_TLSCache_256__64__class_FNoopCounter__0__UE::Tasks::Private::SmallTaskAllocator]
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
mov rbx, rax
test rax, rax
jne 0x180231d2e
lea edx, [rax + 0x10]
lea ecx, [rax + 0x18]
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void____ptr64___cdecl_FMemory::Malloc_unsigned_long_long_unsigned___int64___unsigned_int_]
mov rbx, rax
test rax, rax
je 0x180231d1f
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov dword [rax + 0x10], edi
jmp 0x180231d22
mov rbx, rdi
mov ecx, dword [r14]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rsi, qword [rbx + 8]
test rsi, rsi
jne 0x180231d94
mov rsi, qword [rbx]
test rsi, rsi
je 0x180231d48
mov qword [rbx + 8], rsi
mov qword [rbx], rdi
jmp 0x180231d8d
lea rcx, [r14 + 0x40]
call fcn.18027b830
mov qword [rbx + 8], rax
mov rsi, rax
test rax, rax
jne 0x180231d8d
xor edx, edx
mov ecx, 0x10000
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void____ptr64___cdecl_FMemory::MallocPersistentAuxiliary_unsigned_long_long_unsigned___int64___unsigned_int_]
mov qword [rbx + 8], rax
mov edx, 0xff
lea rcx, [rax + 0x100]
mov qword [rax], rcx
mov rax, rcx
sub rdx, 1
jne 0x180231d73
mov qword [rcx], rdi
mov rsi, qword [rbx + 8]
mov dword [rbx + 0x10], 0x100
mov ecx, dword [rbx + 0x10]
mov rdx, qword [rsi]
sub ecx, 1
mov r14, qword [rsp + 0x30]
mov dword [rbx + 0x10], ecx
mov qword [rbx + 8], rdx
mov rbx, qword [rsp + 0x40]
js 0x180231dc2
test rdx, rdx
mov eax, edi
setne al
test ecx, ecx
setne dil
cmp edi, eax
je 0x180231df3
mov r9, qword [rsp + 0x38]
lea rax, [0x1802aabc0]
mov r8d, 0x58
mov qword [rsp + 0x20], rax
lea rdx, str.C:BuildAgentwork78a794e88763017dUE4EngineSourceRuntimeCorePublicContainersLockFreeFixedSizeAllocator.h
lea rcx, str.TLS.NumPartial___0______TLS.NumPartial______TLS.PartialBundle__
call qword [sym.imp.FactoryServer_Core.dll_public:_static_bool___cdecl_FDebug::CheckVerifyFailedImpl_char_const____ptr64__char_const____ptr64__int__void____ptr64__wchar_t_const____ptr64_]
test al, al
je 0x180231df3
nop
int3
mov rdi, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x38
ret
mov rax, qword [sym.imp.FactoryServer_Core.dll_class_FMalloc____ptr64___ptr64_GMalloc]
mov edx, 0xb0
mov rcx, qword [rax]
lea r8d, [rdx - 0x70]
mov rax, qword [rcx]
add rsp, 0x38
jmp qword [rax + 0x28]
Function at 0x18023d930
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
call fcn.180231b70
test bl, 1
je 0x18023da02
test bl, 4
jne 0x18023d9f5
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, qword [sym.imp.FactoryServer_Core.dll_class_TLockFreeFixedSizeAllocator_TLSCache_256__64__class_FNoopCounter__0__UE::Tasks::Private::SmallTaskAllocator]
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebp, ebp
mov rbx, rax
test rax, rax
jne 0x18023d9a7
lea edx, [rax + 0x10]
lea ecx, [rax + 0x18]
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void____ptr64___cdecl_FMemory::Malloc_unsigned_long_long_unsigned___int64___unsigned_int_]
mov rbx, rax
test rax, rax
je 0x18023d999
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov dword [rax + 0x10], ebp
jmp 0x18023d99c
mov rbx, rbp
mov ecx, dword [rsi]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [rbx + 0x10], 0x100
jl 0x18023d9cf
mov rdx, qword [rbx]
test rdx, rdx
je 0x18023d9c1
lea rcx, [rsi + 0x40]
call fcn.18027c300
mov rax, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 8], rbp
mov dword [rbx + 0x10], ebp
mov rax, qword [rbx + 8]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov qword [rdi], rax
mov rax, rdi
inc dword [rbx + 0x10]
mov qword [rbx + 8], rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edx, 0xb0
mov rcx, rdi
call fcn.180001530
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x2fc4d3480
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d4560
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d3e82
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f6108]
test eax, eax
je 0x2fc4d3f1a
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f6110]
mov qword [rbp - 8], rax
jmp 0x2fc4d3efe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d3ef2
cmp qword [rbp - 0x10], 0
je 0x2fc4d3ef2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d3eb8
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d3f1b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d4020
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d4048
mov eax, 0
jmp 0x2fc4d4096
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d4071
mov eax, 0
jmp 0x2fc4d4096
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d4091
mov eax, 0
jmp 0x2fc4d4096
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d409c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d411a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d4111
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d4111
mov rax, qword [rbp - 8]
jmp 0x2fc4d412f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d40e4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d66d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d77b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d70d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f9108]
test eax, eax
je 0x2fc4d716a
lea rax, [0x2fc4f90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f9110]
mov qword [rbp - 8], rax
jmp 0x2fc4d714e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d7142
cmp qword [rbp - 0x10], 0
je 0x2fc4d7142
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d7108
lea rax, [0x2fc4f90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d716b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d7270
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d7298
mov eax, 0
jmp 0x2fc4d72e6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d72c1
mov eax, 0
jmp 0x2fc4d72e6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d72e1
mov eax, 0
jmp 0x2fc4d72e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d72ec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d736a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d7361
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d7361
mov rax, qword [rbp - 8]
jmp 0x2fc4d737f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d7334
mov eax, 0
add rsp, 0x20
pop rbp
ret