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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400f8cd8], rbx
je 0x1400c1157
cmp rax, rbx
jne 0x1400c114a
mov ebx, 1
mov esi, ebx
jmp 0x1400c115c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400c112f
mov ebx, 1
mov eax, dword [0x1400f8ce0]
cmp eax, ebx
jne 0x1400c1174
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400c11e0
mov eax, dword [0x1400f8ce0]
test eax, eax
jne 0x1400c11d5
mov dword [0x1400f8ce0], ebx
lea r15, [0x1400caa58]
lea rdi, [0x1400caa40]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400c11c7
test eax, eax
jne 0x1400c11cb
cmp qword [rdi], r14
je 0x1400c11bc
mov rax, qword [rdi]
mov rcx, qword [str.__f_]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400c119e
test eax, eax
je 0x1400c11db
mov eax, 0xff
jmp 0x1400c1336
mov dword [0x1400f6970], ebx
mov edi, 0x1f
mov eax, dword [0x1400f8ce0]
cmp eax, ebx
jne 0x1400c1207
lea rdx, [0x1400caa38]
lea rcx, [0x1400ca8d0]
call sub.msvcrt.dll__initterm
mov dword [0x1400f8ce0], 2
test esi, esi
jne 0x1400c1215
mov rax, r14
xchg qword [0x1400f8cd8], rax
cmp qword [0x1400f8cf8], r14
je 0x1400c1248
lea rcx, [0x1400f8cf8]
call fcn.1400c1c20
test eax, eax
je 0x1400c1248
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400f8cf8]
mov r9, qword [str.__f_]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400c1261
mov eax, 0xff
jmp 0x1400c1336
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400c12e7
test ax, ax
je 0x1400c127c
test edx, edx
jne 0x1400c12e7
sub ax, bx
cmp ax, di
ja 0x1400c1292
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400c127c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003928
mov dword [0x1400f696c], eax
cmp dword [0x1400f6990], r14d
jne 0x1400c12d0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400f6970], r14d
jne 0x1400c12e5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400f696c]
jmp 0x1400c1336
cmp ax, 0x22
jne 0x1400c12fb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400c126a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1401a0000
add rsp, 0x28
jmp 0x1400c10f0
Function at 0x1400c1b1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400c1b68
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c1b60
cmp dword [rcx + 0x3c], edx
jl 0x1400c1b60
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400c1b60
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400c1b68
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1400c1ce4
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400c1cf0
push rbx
sub rsp, 0x540
mov rax, qword [0x1400f6388]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400c1d6d
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x1400c1d8d
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400c13a0
add rsp, 0x540
pop rbx
ret

Function at 0x1400c1cf0
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400c1cf0
push rbx
sub rsp, 0x540
mov rax, qword [0x1400f6388]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400c1d6d
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x1400c1d8d
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400c13a0
add rsp, 0x540
pop rbx
ret
Function at 0x14048933c
Capabilities:
Set console window title

Disassembly:
mov edx, 2
jmp 0x14048933c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x14048c022], 0
mov edi, edx
mov rbx, rcx
jne 0x14048935a
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff6
mov dword [0x14048c508], edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [0x14048d800], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [0x14048d820], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, qword [0x14048d820]
lea rdx, [0x14048d840]
mov qword [0x14048d860], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov edi, 1
lea rcx, [0x140489318]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test rbx, rbx
je 0x1404893cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [0x14048d7c0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x14048d880]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x14048943c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
test r9d, r9d
je 0x1404894b3
mov rcx, qword [0x14048d70c]
add esi, 2
xor edx, edx
lea eax, [rsi + 1]
movsxd r8, eax
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1404894b3
mov rcx, rax
test rbx, rbx
je 0x1404894a4
mov rdx, rbx
call sub.msvcrt.dll_wcscpy
lea rdx, [0x14048a104]
mov rcx, rdi
call sub.msvcrt.dll_wcscat
jmp 0x1404894b0
lea rdx, [0x14048a104]
call sub.msvcrt.dll_wcscpy
mov rbx, rdi
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x14048953d
mov eax, dword [0x14048c508]
cmp eax, 2
je 0x140489508
cmp eax, 0x18
je 0x1404894fe
and qword [rsp + 0x20], 0
lea r8d, [rsi + rsi]
lea r9, [rsp + 0x58]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14048953d
mov rcx, rbx
call fcn.140489780
jmp 0x140489510
mov rcx, rbx
call fcn.140489860
mov rcx, rax
mov rbx, rax
call sub.msvcrt.dll_strlen
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.140489770
test rdi, rdi
je 0x140489554
mov rcx, qword [0x14048d70c]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140004df0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r15, rcx
mov r14, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r12, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
mov r13, rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov esi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, esi
mov rcx, r12
mov r8d, eax
mov edi, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, r13
mov rbp, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, esi
mov rbx, rax
xor r8d, r8d
xor eax, eax
xor edx, edx
mov dword [rsp + 0x38], eax
mov rcx, r13
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
cmp qword [r14 + 0x18], 7
mov rdx, r14
jbe 0x140004ea5
mov rdx, qword [r14]
mov rcx, rbp
call fcn.140004500
test eax, eax
js 0x140004f06
lea rdx, str.Screenshot_saved_to
lea rcx, [0x1400fa780]
call fcn.140010c30
cmp qword [r14 + 0x18], 7
mov rdx, r14
jbe 0x140004ed1
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.140018270
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140014560
movzx edx, ax
mov rcx, rbx
call fcn.1400143b0
mov rcx, rbx
call fcn.14000fda0
jmp 0x140004f21
lea rdx, str.Failed_to_save_screenshot.
lea rcx, [0x1400fa8b0]
call fcn.140010860
mov rcx, rax
call fcn.140010b10
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, r14
mov rcx, r15
call fcn.14000bc20
lea r11, [rsp + 0x60]
mov rax, r15
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000a060
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14000a084
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x14000a112
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000a0e0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x14000a0e0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400bfb00
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000a0fd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x14000a105
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x14000a0a1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x14000a1f0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x14000a129
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000a12b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000a15d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400bfb00
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000a1ed
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000a198
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x14000a1ce
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.140037a58
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14000a1ed
cmp rsi, rax
ja 0x14000a1a1
test rsi, rsi
je 0x14000a1ed
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140037a58
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x140020ae0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400f8100]
xor rax, rsp
mov qword [rsp + 0x150], rax
movzx esi, r8b
mov edi, edx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x30], 1
lea eax, [rdx - 8]
cmp eax, 0x20
ja case.0x140020b57.10
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x20d8c]
mov ecx, dword [rdx + rax*4 + 0x20d54]
add rcx, rdx
jmp rcx
mov r8d, listen
lea rdx, str._Backspace_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, 5
lea rdx, str._Tab_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, 7
lea rdx, str._Enter_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, 7
lea rdx, str._Shift_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, 6
lea rdx, str._Ctrl_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, 5
lea rdx, str._Alt_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, 0xa
lea rdx, str._CapsLock_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, 5
lea rdx, str._Esc_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, 1
lea rdx, [0x1400e72bc]
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, recvfrom
lea rdx, str._Left_Arrow_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._Right_Arrow_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, 0xa
lea rdx, str._Up_Arrow_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
mov r8d, recvfrom
lea rdx, str._Down_Arrow_
mov rcx, rbx
call fcn.1400102f0
jmp 0x140020d2c
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test sil, sil
je 0x140020cc0
mov byte [rsp + 0x60], 0x80
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edx, eax
mov dword [rsp + 0x20], ebp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov ecx, edi
call qword [sym.imp.USER32.dll_ToAscii]
test eax, eax
jle 0x140020d2c
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
cmp rcx, r8
jae 0x140020d16
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rdx, rbx
cmp r8, 0xf
jbe 0x140020d07
mov rdx, qword [rbx]
movzx eax, byte [rsp + 0x40]
mov byte [rdx + rcx], al
mov byte [rdx + rcx + 1], 0
jmp 0x140020d2c
movzx r9d, byte [rsp + 0x40]
xor r8d, r8d
mov edx, 1
mov rcx, rbx
call fcn.140012f00
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140028980
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x140021880
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400f8100]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x1400218d0
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
test eax, eax
js 0x140021943
call fcn.140011e70
nop
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400217d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140021990
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002198b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400219b2
jmp 0x14002198b
call fcn.140011e70
nop
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400217d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140021990
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002198b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400219ac
call fcn.1400289a0
mov rax, rbx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140028980
add rsp, 0x180
pop rbx
ret
call fcn.140038268
int3
call fcn.140038268
int3
Function at 0x140029860
Capabilities:
Parse pe header

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

Function at 0x140032698
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400326cf
call fcn.140036c20
mov dword [rax], socket
call fcn.140038248
xor eax, eax
jmp 0x14003275d
mov rdx, r9
mov rcx, r8
call fcn.140032634
mov rbx, rax
test rax, rax
je 0x14003275a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140032560]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140032747
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140036b94
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003272e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14003273d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140040fb8
jmp 0x14003275a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140032757
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14003c1a4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14003c213
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003c213
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003c213
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003c213
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003c213
cmp dword [rcx + 0x84], 0xe
jbe 0x14003c213
cmp dword [rcx + 0xf8], 0
je 0x14003c213
mov ecx, ebx
call fcn.14003c2c4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14003c0a0
nop
cmp dword [rbp + 0x20], 0
je 0x14003c261
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003c26c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14003c1a4

Function at 0x14003c3a8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003c1a4
Function at 0x14003f398
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003f3ae
mov al, 1
jmp 0x14003f40e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003f3bf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003f40c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14004be90
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003f40c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003f40c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003f40c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003f40e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140043e24
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400290b0
sub rsp, rax
mov rax, qword [0x1400f8100]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14003f17c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140043e73
mov rax, rbp
jmp 0x140043f7b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xfbbc0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140045b10
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xfbbc0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140043f77
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140043f77
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140045b10
test rax, rax
js 0x140043f77
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140043f77
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140043f69
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140043f69
cmp byte [rcx], 0xd
jne 0x140043f4f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140043f5e
cmp byte [rcx + 1], 0xa
jne 0x140043f5e
inc rcx
jmp 0x140043f5e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xf8540]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140043f31
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140043f7b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140028980
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret