joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006160
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0xd0], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140006193
mov r8d, 0x70d
lea rdx, str.C:UserslucidDownloadspandora_loaderimgui_menuimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rbx + 0xf0]
lea r10, [0x140054270]
movsxd rcx, dword [rbx + 0xd0]
mov rax, qword [rbx + 0xd8]
movss xmm2, dword [rdi]
movss xmm1, dword [rbx + 0xf4]
subss xmm2, xmm0
movss xmm3, dword [rdi + 4]
mov r9d, dword [rax + rcx*4 - 4]
subss xmm3, xmm1
movss xmm4, dword [rdi + 8]
not r9d
movzx ecx, r9b
subss xmm4, xmm0
movss xmm0, dword [rdi + 0xc]
shr r9d, 8
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp + 0x20], xmm2
movzx eax, byte [rsp + 0x20]
xor rcx, rax
movss dword [rsp + 0x24], xmm3
mov eax, r8d
movss dword [rsp + 0x28], xmm4
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 0x2c], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x24]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x28]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
mov rbx, qword [rsp + 0x40]
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x2c]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x30
pop rdi
ret
Function at 0x140014930
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140064ab0]
mov edi, ecx
cmp byte [rbx + 0x427d], 0
jne 0x140014982
cmp byte [rbx + 0x427e], 0
jne 0x140014982
movsx r9d, word [rbx + 0x5362]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002d70
test dil, 1
je 0x140014aa8
jmp 0x140014a0d
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14005ba88]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14005ba68]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3ff8], rax
mov dword [rbx + 0x3fe4], 1
movss dword [rbx + 0x3ff0], xmm0
movss dword [rbx + 0x3ff4], xmm1
movss xmm0, dword [rbx + 0x3918]
mulss xmm0, dword [0x14005b9dc]
or dword [rbx + 0x3fe0], 0x41
movss dword [rbx + 0x4040], xmm0
movsx r9d, word [rbx + 0x5362]
call fcn.140002d70
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014a60
lea r11, [0x140054270]
nop dword [rax]
cmp r9b, 0x23
jne 0x140014a43
cmp byte [r8], r9b
jne 0x140014a43
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140014a30
not ecx
call fcn.14000be90
test rax, rax
je 0x140014aa8
cmp byte [rax + 0x96], 0
je 0x140014aa8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5362]
mov edx, 0x10
movsx r9d, word [rbx + 0x5362]
call fcn.140002d70
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000e880
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001a610
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5410], 0
lea rbx, [rcx + 0x5418]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001a6b3
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x14001a666
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14001cc70
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003910
mov eax, dword [rbx]
lea rcx, [0x140064aa8]
mov r9, qword [rdi + 0x5410]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x5420]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001a6bb
mov rcx, rbx
call fcn.140003910
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ad50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x140064ab0]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001adb4
lea r10, [0x140054270]
cmp r8b, 0x23
jne 0x14001ad97
cmp byte [rdx], r8b
jne 0x14001ad97
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001ad84
mov eax, dword [r14 + 0x53c0]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001ae15
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001adda
cmp edi, eax
jl 0x14001adf4
mov r8d, 0x704
lea rdx, str.C:UserslucidDownloadspandora_loaderimgui_menuimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x53c8]
cmp dword [rax + rbp + 8], ebx
je 0x14001ae32
mov eax, dword [r14 + 0x53c0]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001add1
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001ae3f
cmp edi, dword [r14 + 0x53c0]
jl 0x14001ae59
mov r8d, 0x704
lea rdx, str.C:UserslucidDownloadspandora_loaderimgui_menuimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x53c8]
lea rax, [rax + rcx*8]
jmp 0x14001ae17
Function at 0x1400492d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.1400125b0
cmp byte [rax], 0
je 0x140049355
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140049355
mov rbx, qword [0x140064ab0]
test rbx, rbx
jne 0x140049324
mov r8d, 0xec0
lea rdx, str.C:UserslucidDownloadspandora_loaderimgui_menuimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140064ab0]
cmp byte [rbx + 0x37c1], 0
je 0x140049341
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002500
mov dword [rbx + 0x378], 0x210
mov dword [rbx + 0x938], 0xa0
mov ecx, 0x214
call fcn.1400125b0
cmp byte [rax], 0
je 0x1400493d4
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400493d4
mov rbx, qword [0x140064ab0]
test rbx, rbx
jne 0x1400493a3
mov r8d, 0xec0
lea rdx, str.C:UserslucidDownloadspandora_loaderimgui_menuimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140064ab0]
cmp byte [rbx + 0x37c1], 0
je 0x1400493c0
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002500
mov dword [rbx + 0x37c], 0x214
mov dword [rbx + 0x948], 0xa1
mov ecx, 0x212
call fcn.1400125b0
cmp byte [rax], 0
je 0x140049453
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140049453
mov rbx, qword [0x140064ab0]
test rbx, rbx
jne 0x140049422
mov r8d, 0xec0
lea rdx, str.C:UserslucidDownloadspandora_loaderimgui_menuimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140064ab0]
cmp byte [rbx + 0x37c1], 0
je 0x14004943f
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002500
mov dword [rbx + 0x264], 0x212
mov dword [rbx + 0x940], 0x5b
mov ecx, 0x216
call fcn.1400125b0
cmp byte [rax], 0
je 0x1400494d2
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400494d2
mov rbx, qword [0x140064ab0]
test rbx, rbx
jne 0x1400494a1
mov r8d, 0xec0
lea rdx, str.C:UserslucidDownloadspandora_loaderimgui_menuimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140064ab0]
cmp byte [rbx + 0x37c1], 0
je 0x1400494be
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002500
mov dword [rbx + 0x268], 0x216
mov dword [rbx + 0x950], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x14004e39c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword gs:[0x30]
mov r14, r8
mov rbp, qword [rcx + 0x88]
mov esi, edx
mov rdi, rcx
xor edx, edx
mov r8d, 0x4478
add rcx, 0x818
mov r9, qword [rax + 0x60]
lea rax, [0x1400c1910]
sub rbp, qword [r9 + 0x10]
add rbp, rax
mov qword [rsp + 0x60], 0
call sym.VBoxNetNAT.exe_nocrt_memset
mov rcx, qword [rdi]
lea rax, [rsp + 0x60]
mov r9d, 0x4478
mov qword [rsp + 0x20], rax
lea r8, [rdi + 0x818]
mov rdx, rbp
call qword [0x1400bf250]
test eax, eax
js 0x1400032e3
mov edx, dword [rdi + 0x830]
cmp edx, esi
je 0x1400032d0
mov byte [rdi + 0x4c8b], 0
lea rbx, [rdi + 0x88c]
mov byte [rdi + 0x88b], 0
lea rbp, [rdi + 0x83c]
mov r9d, dword [rdi + 0x838]
lea rcx, str.supR3HardenedWinCheckChild:_enmRequest_d_rc_d_enmWhat_d__s:__s_n
mov r8d, dword [rdi + 0x834]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbp
call fcn.14000cf70
mov eax, dword [rdi + 0x830]
cmp eax, 2
jne 0x140003306
mov rcx, qword [rdi + 0x18]
xor edx, edx
call qword [0x1400bf2a0]
test eax, eax
js 0x140003330
mov rcx, qword [rdi]
lea r8, [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x78], 0xfffffffffd050f80
call fcn.140001cff
test eax, eax
je 0x1400032ad
mov edx, eax
lea rcx, str.supR3HardNtChildProcessRequest:_Child_is_taking_too_long_to_quit__rcWait_x___killing_it..._n
call fcn.14000cf70
mov rcx, qword [rdi]
mov edx, 0x40010004
call qword [0x1400bf320]
mov edx, dword [rdi + 0x838]
lea r9, [0x14007f900]
mov r8d, dword [rdi + 0x834]
mov qword [rsp + 0x20], rbx
test edx, edx
jne 0x140003360
jmp 0x14000334e
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov dword [rsp + 0x28], eax
lea r9, str.NtReadVirtualMemory___p___failed_reading_child_process_status:__x_n
mov r8d, eax
mov qword [rsp + 0x20], rbp
lea rdx, str.supR3HardNtChildProcessRequest
mov rcx, rdi
call fcn.140007f30
int3
mov qword [rsp + 0x30], r14
lea r9, str.Unexpected_child_request__d._Was_expecting__d___s_._n
mov dword [rsp + 0x28], esi
lea rdx, str.supR3HardenedWinCheckChild
mov r8d, 0xfffffffe
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.140007f30
int3
lea r9, str.NtSetEvent_failed:__x_n
mov dword [rsp + 0x20], eax
mov r8d, eax
lea rdx, str.supR3HardNtChildProcessRequest
mov rcx, rdi
call fcn.140007f30
int3
mov edx, 5
lea rcx, str.supR3HardenedWinCheckChild
call fcn.14000cd00
int3
mov rcx, rbp
call fcn.14000cd00
int3
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140631b80]
mov dword [rax], 1
mov rax, qword [0x140631b90]
mov dword [rax], 1
mov rax, qword [0x140631ba0]
mov dword [rax], 1
mov rax, qword [0x140631b40]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
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 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001a8d
Capabilities:
Move file

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbx, rdx
mov rbp, rcx
mov rcx, r8
mov rsi, r9
mov qword [rsp + 0x90], r8
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, rbx
mov rdi, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rdi + rax + 2]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [rsp + 0x90]
lea rdx, str._s__s
mov r9, rbx
mov qword [rsi], rax
mov rcx, rax
call fcn.14000174e
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
call fcn.1400019d2
test eax, eax
jne 0x140001b05
movsxd rdx, dword [rsp + 0x34]
mov eax, 2
cmp rdx, qword [rbp + 8]
je 0x140001baf
mov rcx, qword [rsi]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + 0x16]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__getpid
mov r8, qword [rsi]
lea rdx, str._s._lu
mov rcx, rbx
mov r9d, eax
call fcn.14000174e
mov r8d, 0x1ed
mov edx, 0x8101
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll__open
mov edi, eax
cmp eax, 0xffffffff
jne 0x140001b51
xor eax, eax
jmp 0x140001baf
mov rbp, qword [rbp + 0x10]
mov r8, qword [rbp]
test r8, r8
je 0x140001b77
mov rdx, qword [rbp + 8]
mov ecx, edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
cdqe
cmp rax, qword [rbp]
jne 0x140001b4d
add rbp, 0x10
jmp 0x140001b55
mov ecx, edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__close
inc eax
je 0x140001b4d
mov edx, 0x1e8
mov rcx, rbx
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__chmod
mov rdx, qword [rsi]
mov rcx, rbx
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_rename
inc eax
je 0x140001ba5
mov eax, 1
jmp 0x140001baf
mov rcx, rbx
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__unlink_1
jmp 0x140001b9e
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140002037
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x60], r8
lea r8, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x28], r8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rdx, rbx
mov rcx, rax
call fcn.1400059a0
mov ecx, 0xff
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop

Function at 0x140002083
Capabilities:
Read file on windows

Disassembly:
push r12
mov eax, 0x10030
push rbp
push rdi
push rsi
push rbx
call fcn.140005960
sub rsp, rax
xor edx, edx
mov r8d, 2
lea r12, str._nPAR.pm_n
mov edi, ecx
lea rbp, [rsp + 0x28]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__lseek
mov ecx, 0x10000
lea ebx, [rax - 1]
mov eax, ebx
cdq
idiv ecx
sub ebx, edx
test ebx, ebx
js 0x14000213a
xor r8d, r8d
mov edx, ebx
mov ecx, edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__lseek
inc eax
jne 0x1400020dd
lea rcx, str.lseek_failed
jmp 0x1400020f9
mov r8d, 0x10008
mov rdx, rbp
mov ecx, edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cmp eax, 0xffffffff
jne 0x1400020fe
lea rcx, str.read_failed
call fcn.140002037
cdqe
lea rsi, [rbp + rax - 8]
cmp rax, 7
jbe 0x140002132
cmp rsi, rbp
jb 0x140002132
mov r8d, 8
mov rdx, r12
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
je 0x14000212a
dec rsi
jmp 0x14000210b
sub rsi, rbp
lea eax, [rbx + rsi]
jmp 0x14000213d
sub ebx, 0x10000
jmp 0x1400020c0
or eax, 0xffffffff
add rsp, 0x10030
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1400026a6
Capabilities:
Delete directory

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
call fcn.140002003
test eax, eax
je 0x1400026f7
test rbx, rbx
je 0x1400026f7
cmp byte [rbx], 0
je 0x1400026f7
mov rcx, rbx
call fcn.140001e9d
mov rcx, rax
call fcn.140001e73
lea rdx, str.par_
mov rcx, rax
mov rsi, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
cmp rsi, rax
jne 0x1400026f7
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140001770
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x1400026fe
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
xor r8d, r8d
xor edx, edx
mov ebx, ecx
call sub.api_ms_win_crt_stdio_l1_1_0.dll__lseek
inc eax
jne 0x14000271e
lea rcx, str.lseek_failed
jmp 0x14000273f
lea rdi, [rsp + 0x20]
mov r8d, 0x40
mov ecx, ebx
mov rdx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cmp eax, 0x40
je 0x140002744
lea rcx, str.short_read
call fcn.140002037
cmp word [rsp + 0x20], 0x5a4d
je 0x14000276e
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, str.MZ_magic_bytes
lea rdx, str.assertion_failed:__s_n
mov rcx, rax
call fcn.140001c29
mov esi, dword [rsp + 0x5c]
xor r8d, r8d
mov ecx, ebx
mov edx, esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__lseek
inc eax
je 0x140002715
mov r8d, 0x1a
mov rdx, rdi
mov ecx, ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cmp eax, 0x1a
jne 0x140002738
cmp dword [rsp + 0x20], 0x4550
je 0x1400027c2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, str.PE_header
lea rdx, str.assertion_failed:__s_n
mov rcx, rax
call fcn.140001c29
mov edx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
cmp dx, 0xe0
jne 0x1400027d7
cmp ax, 0x10b
je 0x140002805
cmp dx, 0xf0
jne 0x1400027e4
cmp ax, 0x20b
je 0x140002805
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, str.IMAGE_NT_OPTIONAL_HDR_MAGIC
lea rdx, str.assertion_failed:__s_n
mov rcx, rax
call fcn.140001c29
xor r8d, r8d
lea edx, [rsi + 0x5c]
mov ecx, ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll__lseek
inc eax
je 0x140002715
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
Function at 0x1400028d7
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rbp, rdx
lea rcx, str.user32
mov r12, r8
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
test rax, rax
je 0x140002918
lea rdx, str.AllowSetForegroundWindow
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002918
or ecx, 0xffffffff
call rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x3c]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
test rax, rax
jne 0x140002949
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
lea rcx, str._s:_GetCommandLineW_or_CommandLineToArgvW_failed:__E_u
mov r8d, eax
jmp 0x140002987
xor eax, eax
xor edx, edx
mov r13, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
or r9d, 0xffffffff
mov qword [rsp + 0x20], rdx
mov r8, rbp
xor edx, edx
mov ecx, 3
mov dword [rsp + 0x28], eax
call r13
mov edi, eax
test eax, eax
jne 0x14000298c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
lea rcx, str._s:_failed_to_convert_string_to_UTF_16:__E_u
mov r8d, eax
call fcn.140002037
movsxd rcx, eax
add rcx, rcx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [rsp + 0x28], edi
or r9d, 0xffffffff
mov r8, rbp
mov rsi, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 3
call r13
mov qword [rbx], rsi
xor edi, edi
lea r13, str.__t_n_r_v_
cmp dword [rsp + 0x3c], edi
jle 0x140002a09
movsxd rax, edi
lea rbp, [rbx + rax*8]
mov rcx, qword [rbp]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
test eax, eax
jne 0x1400029e9
mov rcx, qword [rbp]
call fcn.140002822
mov qword [rbp], rax
jmp 0x140002a05
dec eax
mov rcx, qword [rbp]
cdqe
cmp word [rcx + rax*2], 0x5c
je 0x1400029da
mov rdx, r13
call sub.api_ms_win_crt_string_l1_1_0.dll_wcspbrk
test rax, rax
jne 0x1400029da
inc edi
jmp 0x1400029c0
lea rdx, [0x14063115e]
lea rcx, str.PAR_SPAWNED
call fcn.140001c52
mov r8, rbx
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_process_l1_1_0.dll__wspawnvp]
mov rcx, rsi
mov rdi, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r12
call fcn.1400026a6
mov ecx, edi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
nop
nop