joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003f68b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140056850]
jne 0x14003d07a
rol rcx, 0x10
test cx, 0xffff
jne 0x14003d076
repz ret
ror rcx, 0x10
jmp 0x14003f5e4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400664f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400665e8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14003f669
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400664f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14003f68b
mov rax, qword [rsp + 0x88]
mov qword [0x1400665e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140066588], rax
mov rax, qword [0x1400665e8]
mov qword [0x140066460], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140066570], rax
mov dword [0x140066450], 0xc0000409
mov dword [0x140066454], 1
mov rax, qword [0x140056850]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140056858]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400664e8], eax
mov ecx, 1
call fcn.140045404
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14004d138]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400664e8], 0
jne 0x14003f712
mov ecx, 1
call fcn.140045404
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400461a8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140040a20
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400670e8], rbx
jne 0x1400462ae
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140046383
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140046383
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400670e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400670f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400670f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140067108], rax
test rax, rax
je 0x1400462a5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140067100], rax
jmp 0x1400462b5
mov rax, qword [0x140067100]
jmp 0x1400462bc
mov rax, qword [0x140067100]
mov r11, qword [0x140067108]
cmp rax, rdi
je 0x140046324
cmp r11, rdi
je 0x140046324
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140067108]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140046324
test rax, rax
je 0x140046324
call rsi
test rax, rax
je 0x14004631e
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14004631e
test byte [rsp + 0x38], 1
jne 0x140046324
bts ebp, 0x15
jmp 0x140046362
mov rcx, qword [0x1400670f0]
cmp rcx, rdi
je 0x140046362
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140046362
call rax
mov rbx, rax
test rax, rax
je 0x140046362
mov rcx, qword [0x1400670f8]
cmp rcx, rdi
je 0x140046362
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140046362
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400670e8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140046383
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140046385
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140003870
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, str.ADLM_ENABLE_HELP
mov ebx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.MSVCR110.dll_getenv]
test rax, rax
jne 0x1400038b0
mov rcx, rdi
call qword [sym.imp.Qt5CoreAdlm.dll_public:_void___cdecl_AdlmQt::QString::constructor_void____ptr64]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
test ebx, ebx
je 0x1400038fa
dec ebx
je 0x1400038ec
dec ebx
je 0x1400038de
dec ebx
je 0x1400038d0
dec ebx
jne 0x140003899
lea edx, [rbx + 0x28]
lea rcx, str.AL_index.html_contextIdLicenseBorrowing
jmp 0x140003906
mov edx, 0x28
lea rcx, str.AL_index.html_contextIdexport_a_license
jmp 0x140003906
mov edx, 0x28
lea rcx, str.AL_index.html_contextIdimport_a_license
jmp 0x140003906
mov edx, 0x30
lea rcx, str.AL_index.html_contextIdlicense_transfer_utility
jmp 0x140003906
mov edx, 0xd
lea rcx, str.AL_index.html
call qword [sym.imp.Qt5CoreAdlm.dll_private:_static_struct_AdlmQt::QTypedArrayData_unsigned_short_int_____ptr64___cdecl_AdlmQt::QString::fromAscii_helper_char_const____ptr64__int_]
mov rbx, qword [rsp + 0x40]
mov qword [rdi], rax
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x140005ff0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.14010a000
add rsp, 0x28
jmp 0x140005ff0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
and dword [rsp + 0x20], 0
call qword [sym.imp.MSVCR110.dll___crtGetShowWindowMode]
movzx esi, ax
mov rcx, qword gs:[0x30]
mov rdx, qword [rcx + 8]
xor ebx, ebx
xor eax, eax
lock cmpxchg qword [0x14000f888], rdx
je 0x140006037
cmp rax, rdx
jne 0x140006035
mov ebx, 1
jmp 0x140006037
jmp 0x14000601c
mov eax, dword [0x14000f890]
cmp eax, 1
jne 0x14000604c
lea ecx, [rax + 0x1e]
call sub.MSVCR110.dll__amsg_exit
jmp 0x14000608b
mov eax, dword [0x14000f890]
test eax, eax
jne 0x140006081
mov dword [0x14000f890], 1
lea rdx, [0x1400085a8]
lea rcx, [0x140008588]
call sub.MSVCR110.dll__initterm_e
test eax, eax
je 0x14000608b
mov eax, 0xff
jmp 0x1400061c3
mov dword [0x14000f2d4], 1
mov eax, dword [0x14000f890]
cmp eax, 1
jne 0x1400060b3
lea rdx, [0x140008580]
lea rcx, [0x140008540]
call sub.MSVCR110.dll__initterm
mov dword [0x14000f890], 2
test ebx, ebx
jne 0x1400060c0
xor eax, eax
xchg qword [0x14000f888], rax
cmp qword [0x14000f898], 0
je 0x1400060ec
lea rcx, [0x14000f898]
call fcn.1400064d0
test eax, eax
je 0x1400060ec
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000f898]
call rax
mov rax, qword [sym.imp.MSVCR110.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
cmp byte [rbx], 0x20
ja 0x140006162
cmp byte [rbx], 0
je 0x14000610d
test edi, edi
jne 0x140006162
mov al, byte [rbx]
dec al
cmp al, 0x1f
ja 0x14000611f
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14000610d
movzx r9d, si
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400066b0
mov dword [0x14000f2d0], eax
cmp dword [0x14000f2f0], 0
jne 0x14000614b
mov ecx, eax
call qword [sym.imp.MSVCR110.dll_exit]
cmp dword [0x14000f2d4], 0
jne 0x140006160
call qword [sym.imp.MSVCR110.dll__cexit]
mov eax, dword [0x14000f2d0]
jmp 0x1400061c3
cmp byte [rbx], 0x22
jne 0x140006174
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rbx]
call qword [sym.imp.MSVCR110.dll__ismbblead]
test eax, eax
je 0x140006189
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x1400060ff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400066b0
Capabilities:
Accept command line arguments

Disassembly:
push rdi
push r15
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400066e5
or rax, 0xffffffffffffffff
add rsp, 0x78
pop r15
pop rdi
ret
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x90], rbx
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x60], r14
movsxd rcx, eax
mov eax, 8
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140006850
xor ebx, ebx
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
jle 0x1400067ea
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r13
mov r13, rdi
mov r12, r14
sub r13, r14
mov r14d, ebx
nop word [rax + rax]
mov rbp, qword [r13 + r12]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov r9d, r15d
xor edx, edx
xor ecx, ecx
mov r8, rbp
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140006850
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov r9d, r15d
mov r8, rbp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov rsi, rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
mov eax, dword [rsp + 0x40]
inc r14d
lea r12, [r12 + 8]
cmp r14d, eax
jl 0x140006760
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x98]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140005470
mov esi, eax
cmp dword [rsp + 0x40], ebx
jle 0x140006829
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x140006829
call sub.MSVCR110.dll_void___cdecl_operator_delete___void____ptr64_
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jl 0x140006810
mov rcx, r14
call sub.MSVCR110.dll_void___cdecl_operator_delete___void____ptr64_
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x90]
mov eax, esi
mov rsi, qword [rsp + 0xa0]
add rsp, 0x78
pop r15
pop rdi
ret
Function at 0x14102c468
Capabilities:
Encode data using xor

Disassembly:
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14102c491
pop rbp
sub rbp, 0x29
sub rbp, 0x102c468
jmp 0x14102c4f1
sub rsp, 0x20
jmp 0x14102c501
mov rax, 0x102c468
add rax, rbp
add rax, 0xcb
mov rcx, 0x64a
mov rdx, 0x78652ca9
invalid
xor byte [rax], dl
inc rax
dec rcx
leave
jne 0x14102c520
jmp 0x14102c537
loope 0x14102c559
and spl, byte [rax]
xchg ebp, eax
test eax, 0x28e1a9a9
push 0xffffffffa9a9a8a1
loope 0x14102c4f1
loope 0x14102c5ba
imul esp, dword [rdx - 0x1e565657], 0xa9816b6e
test eax, 0x4b5ee1a9
loope 0x14102c505
pop rsi
loope 0x14102c505
push 0xffffffffa9a52822
test eax, 0x41a8e1a9
stc
stc
loope 0x14102c57c
sal dword [rsi], 0xbb
test eax, 0xa9a9a9a9
loope 0x14102c585
mov ebx, 0xa9a9a9a9
test eax, 0x8ca910e1
pop rcx
test eax, 0xa9a9a9a9
loope 0x14102c527
test eax, 0xa9a9598c
test eax, 0xa8e1a9a9
test eax, 0xe140a8e1
adc edx, ebp
invalid
loope 0x14102c595
invalid
sbb al, 0xa9
test eax, 0xac41a9a9
test eax, 0xbf40a9a9
test eax, 0x4168a9a9
stosd dword [rdi], eax
stosd dword [rdi], eax
cwde
mov eax, 0xad6828e1
test eax, 0x56e1a9a9
invalid
test eax, 0xa9a9598c
test eax, 0xa8e1a9a9
pop rcx
test eax, 0xa9a9a9a9
loope 0x14102c56c
lodsb al, byte [rsi]
test eax, 0x2440a9a9
stosd dword [rdi], eax
test eax, 0xd441fba9
test eax, 0xfef3a9a9
loope 0x14102c5f9
jle 0x14102c5bc
cwde
invalid
cmpsb byte [rsi], byte [rdi]
sub eax, 0xa9a9a9b5
sub dword [rdx + 0x40], edx
cmpsb byte [rsi], byte [rdi]
sub eax, 0xa9a9a9ba
iretd
Function at 0xdab7f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xdab7fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xdab80d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xdab7f5
lea eax, [rcx + 1]
jmp 0xdab81b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xdab82e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xdab814
sub eax, 3
jb 0xdab84e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xdab89d
sar eax, 1
movsxd rbp, eax
jb 0xdab884
jmp 0xdab85c
add ebx, ebx
jne 0xdab85a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xdab884
inc ecx
add ebx, ebx
jne 0xdab86a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xdab884
call r11
adc ecx, ecx
add ebx, ebx
jne 0xdab87d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xdab86c
add ecx, 2
jmp 0xdab889
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00dab7b2
jmp 0xdab7fd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x99f000]
mov eax, dword [rdi]
or eax, eax
je 0xdab8fd
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x9b0ce4]
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 0xdab8ad
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 0xdab8f7
mov qword [rbx], rax
add rbx, 8
jmp 0xdab8cd
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 0xdab941
cmp al, 0xef
ja 0xdab929
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xdab909
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xdab918
mov eax, dword [rdi]
add rdi, 4
jmp 0xdab918
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 + 0x1af]
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
mov byte [fcn.00dab9c0], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.00dab9c0
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xdab9b0
sub rsp, 0xffffffffffffff80
jmp 0x4014b0
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14058c4d0]
mov dword [rax], 1
mov rax, qword [0x14058c4e0]
mov dword [rax], 1
mov rax, qword [0x14058c4f0]
mov dword [rax], 1
mov rax, qword [0x14058c4c0]
mov dword [rax], 1
mov rax, qword [0x14058c390]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
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 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400017e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov eax, 0x587f20
call fcn.140002e70
sub rsp, rax
lea rbp, [rsp + 0x80]
call sym.__main
lea rax, [rbp - 0x60]
lea rdx, [0x140004020]
mov ecx, 0x587eed
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x587eed
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x587e98], rax
cmp qword [rbp + 0x587e98], 0
jne 0x14000184d
mov eax, 1
jmp 0x140001897
mov rax, qword [rbp + 0x587e98]
mov rcx, rax
lea rax, [rbp - 0x60]
mov edx, 0x587eed
mov r8, rdx
mov rdx, rax
call sym.memcpy
mov rax, qword [rbp + 0x587e98]
call rax
mov rax, qword [rbp + 0x587e98]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov eax, 0
add rsp, 0x587f20
pop rbp
ret

Function at 0x140001bf0
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop
Function at 0x140002822
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140590168]
test eax, eax
je 0x1400028ba
lea rax, [0x140590140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140590170]
mov qword [rbp - 8], rax
jmp 0x14000289e
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 0x140002892
cmp qword [rbp - 0x10], 0
je 0x140002892
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 0x140002858
lea rax, [0x140590140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400028bb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400029c0
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 0x1400029e8
mov eax, 0
jmp 0x140002a36
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 0x140002a11
mov eax, 0
jmp 0x140002a36
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 0x140002a31
mov eax, 0
jmp 0x140002a36
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140002a3c
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 0x140002aba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140002ab1
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 0x140002ab1
mov rax, qword [rbp - 8]
jmp 0x140002acf
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 0x140002a84
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1acb230
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1acb23d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1acb24d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1acb235
lea eax, [rcx + 1]
jmp 0x1acb25b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1acb26e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1acb254
sub eax, 3
jb 0x1acb28e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1acb2dd
sar eax, 1
movsxd rbp, eax
jb 0x1acb2c4
jmp 0x1acb29c
add ebx, ebx
jne 0x1acb29a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1acb2c4
inc ecx
add ebx, ebx
jne 0x1acb2aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1acb2c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1acb2bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1acb2ac
add ecx, 2
jmp 0x1acb2c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01acb1f2
jmp 0x1acb23d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x24ca00
mov dl, 0x3a
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1acb329
cmp rsi, rcx
jae 0x1acb331
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1acb310
cmp al, 0x8f
ja 0x1acb310
cmp byte [rsi - 2], 0xf
je 0x1acb316
sub al, 0xe8
cmp al, 1
ja 0x1acb2fa
cmp rsi, rcx
jae 0x1acb331
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1acb300
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1acb331
lodsb al, byte [rsi]
jmp 0x1acb310
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x16c4000]
mov eax, dword [rdi]
or eax, eax
je 0x1acb38e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x16dbb50]
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 0x1acb33e
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 0x1acb388
mov qword [rbx], rax
add rbx, 8
jmp 0x1acb35e
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 0x1acb3d2
cmp al, 0xef
ja 0x1acb3ba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1acb39a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1acb3a9
mov eax, dword [rdi]
add rdi, 4
jmp 0x1acb3a9
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 + 0x1af]
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 0x1acb426
sub rsp, 0xffffffffffffff80
jmp 0x45aee0