joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400021f0
Capabilities:
Enumerate pe sections

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

Function at 0x140002240
Capabilities:
Parse pe header

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

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

Function at 0x140002360
Capabilities:
Parse pe header

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

Function at 0x1400023a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004560]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400023c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400023c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400023c0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002410
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002407
test rcx, rcx
je 0x1400023c0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400023f8
xor eax, eax
ret
Function at 0x140002420
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x140004560]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002480
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002488
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002480
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002480
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]
mov rax, r8
cmp rcx, r8
jb 0x1400024d4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400024e0
add rdx, 0x28
cmp rdx, r9
jne 0x1400024c0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140004560]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002512
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002520
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002512
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002512
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002512
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]
mov r8, r9
cmp rax, r9
jb 0x140002575
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002588
add rdx, 0x28
cmp r10, rdx
jne 0x140002560
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002597
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400025a7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000257e
test ecx, ecx
jg 0x140002590
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x18009c970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x98
mov rax, qword [0x18032c180]
xor rax, rsp
mov qword [rsp + 0x70], rax
test edx, edx
jns 0x18009c9b3
lea rcx, [rsp + 0x20]
call fcn.1802a96d0
test al, al
je 0x18009caad
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 0x18009ca8d
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.18009bc30
cmp ebx, esi
jae 0x18009ca7d
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 0x18009ca74
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.180009a10
inc ebx
inc rdi
cmp ebx, esi
jb 0x18009ca30
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18009ca8d
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.1802a3af0
add rsp, 0x98
ret
Function at 0x180235b80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x38
cmp rcx, 0x100
ja 0x180235cc5
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 0x180235bee
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 0x180235bdf
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov dword [rax + 0x10], edi
jmp 0x180235be2
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 0x180235c54
mov rsi, qword [rbx]
test rsi, rsi
je 0x180235c08
mov qword [rbx + 8], rsi
mov qword [rbx], rdi
jmp 0x180235c4d
lea rcx, [r14 + 0x40]
call fcn.180282d60
mov qword [rbx + 8], rax
mov rsi, rax
test rax, rax
jne 0x180235c4d
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 0x180235c33
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 0x180235c82
test rdx, rdx
mov eax, edi
setne al
test ecx, ecx
setne dil
cmp edi, eax
je 0x180235cb3
mov r9, qword [rsp + 0x38]
lea rax, [0x1802b2a4c]
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 0x180235cb3
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 0x180241750
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.180235a30
test bl, 1
je 0x180241822
test bl, 4
jne 0x180241815
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 0x1802417c7
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 0x1802417b9
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov dword [rax + 0x10], ebp
jmp 0x1802417bc
mov rbx, rbp
mov ecx, dword [rsi]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [rbx + 0x10], 0x100
jl 0x1802417ef
mov rdx, qword [rbx]
test rdx, rdx
je 0x1802417e1
lea rcx, [rsi + 0x40]
call fcn.180283800
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 0x140002ff8
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x1400cc4fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400cc50d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400cc4f5
lea eax, [rcx + 1]
jmp 0x1400cc51b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400cc52e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400cc514
sub eax, 3
jb 0x1400cc54e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400cc59d
sar eax, 1
movsxd rbp, eax
jb 0x1400cc584
jmp 0x1400cc55c
add ebx, ebx
jne 0x1400cc55a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400cc584
inc ecx
add ebx, ebx
jne 0x1400cc56a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400cc584
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400cc57d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400cc56c
add ecx, 2
jmp 0x1400cc589
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400cc4b2
jmp 0x1400cc4fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x52a00
mov dl, 0x15
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400cc5e9
cmp rsi, rcx
jae 0x1400cc5f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400cc5d0
cmp al, 0x8f
ja 0x1400cc5d0
cmp byte [rsi - 2], 0xf
je 0x1400cc5d6
sub al, 0xe8
cmp al, 1
ja 0x1400cc5ba
cmp rsi, rcx
jae 0x1400cc5f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400cc5c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400cc5f1
lodsb al, byte [rsi]
jmp 0x1400cc5d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xc9000]
mov eax, dword [rdi]
or eax, eax
je 0x1400cc64e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x11a448]
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 0x1400cc5fe
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 0x1400cc648
mov qword [rbx], rax
add rbx, 8
jmp 0x1400cc61e
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 0x1400cc688
cmp al, 0xef
ja 0x1400cc67a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400cc65a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400cc669
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 + 0x24f]
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 0x1400cc6dc
sub rsp, 0xffffffffffffff80
jmp 0x14002acb0
Function at 0x140011244
Capabilities:
Terminate process

Disassembly:
jmp 0x140013900
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 0x1400112d5
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140012270
push rbp
push rsi
push rdi
sub rsp, 0x6e0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x11c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x6a8], rax
lea rcx, [0x1400240f2]
call fcn.1400113ed
lea rax, [rbp + 0x10]
lea rcx, [0x14001ad10]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x3ee
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3ee
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x418], rax
mov r8d, 0x3ee
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x418]
call fcn.140011203
lea rax, [rbp + 0x434]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x418]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x458], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x458]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, str.finished__n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ac50]
call fcn.14001137a
mov eax, edi
mov rcx, qword [rbp + 0x6a8]
xor rcx, rbp
call fcn.1400111fe
lea rsp, [rbp + 0x6b0]
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400112df
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014c70
xor al, al
jmp 0x140014cf1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014c83
xor al, al
jmp 0x140014cf1
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 0x140014cad
xor al, al
jmp 0x140014cf1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014cc1
xor al, al
jmp 0x140014cf1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014cd3
xor al, al
jmp 0x140014cf1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014cef
xor al, al
jmp 0x140014cf1
mov al, 1
add rsp, 0x38
ret
Function at 0x140084640
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14008464d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14008465d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140084645
lea eax, [rcx + 1]
jmp 0x14008466b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14008467e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140084664
sub eax, 3
jb 0x14008469e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400846ed
sar eax, 1
movsxd rbp, eax
jb 0x1400846d4
jmp 0x1400846ac
add ebx, ebx
jne 0x1400846aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400846d4
inc ecx
add ebx, ebx
jne 0x1400846ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400846d4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400846cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400846bc
add ecx, 2
jmp 0x1400846d9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140084602
jmp 0x14008464d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28600
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140084739
cmp rsi, rcx
jae 0x140084741
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140084720
cmp al, 0x8f
ja 0x140084720
cmp byte [rsi - 2], 0xf
je 0x140084726
sub al, 0xe8
cmp al, 1
ja 0x14008470a
cmp rsi, rcx
jae 0x140084741
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140084710
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140084741
lodsb al, byte [rsi]
jmp 0x140084720
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x82000]
mov eax, dword [rdi]
or eax, eax
je 0x14008479e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x8e308]
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 0x14008474e
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 0x140084798
mov qword [rbx], rax
add rbx, 8
jmp 0x14008476e
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 0x1400847d8
cmp al, 0xef
ja 0x1400847ca
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400847aa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400847b9
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 + 0x24f]
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 0x14008482c
sub rsp, 0xffffffffffffff80
jmp 0x140016820
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004e47c0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x004e47d0]
mov dword [rax], 1
mov rax, qword [0x004e47e0]
mov dword [rax], 1
mov rax, qword [0x004e47b0]
mov dword [rax], 1
mov rax, qword [0x004e4670]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x004e47a0]
mov dword [0x00506008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x004e4760]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x004e3af0]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058