joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011b300
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x14011b31c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14011b370
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14011b495
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x14011b495
test rax, rax
je 0x14011b495
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x14011b495
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x14011b40a
lea rax, [0x14011b4f0]
jmp 0x14011b463
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x14011b495
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14011b483
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x14011b430
lea rax, [0x14011b4c0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x14011b4aa
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x14011c1f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x14011c1fb
xor eax, eax
ret
lea r11, [0x14014e900]
not ecx
cmp r8d, 8
jb 0x14011c2d1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x14011c220
test r8d, r8d
je 0x14011c2fd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x14011c2e0
not ecx
mov eax, ecx
ret
Function at 0x14012100c
Capabilities:
Parse pe header

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

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.14000a088

Function at 0x140009d18
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x140009d3f
and qword [r8], 0
call fcn.140009e54
mov rbx, rax
test rax, rax
je 0x140009e38
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x140009e2f
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009e2f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x140009e2f
mov rax, qword [0x140162c80]
mov rbp, rdi
test rax, rax
je 0x140009da7
inc dword [rax + 0x3c8]
mov rdx, qword [0x140162c90]
lea rcx, [r15 + rdi]
call qword [section._________1]
mov rdi, rax
test rax, rax
je 0x140009e2f
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_fread]
cmp rax, rbp
je 0x140009e06
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
mov rax, qword [0x140162c80]
test rax, rax
je 0x140009df4
dec dword [rax + 0x3c8]
mov rdx, qword [0x140162c90]
mov rcx, rdi
call qword [0x1400da008]
jmp 0x140009e38
test r15d, r15d
jle 0x140009e19
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
test rsi, rsi
je 0x140009e2a
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140009e3a
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14000a088
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x140162cb4], 0
lea rsi, [0x140162cb0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x14000a0ef
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x14000a0bd
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x14000a0b5
not ebx
mov edx, ebx
test edi, edi
jle 0x14000a111
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x14000a0f7
jmp 0x14000a14b
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x14000a14b
mov r9b, 0x23
cmp r8b, r9b
jne 0x14000a130
cmp byte [r10], r9b
jne 0x14000a130
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x14000a11f
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000ff44
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140162c80]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000ffad
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000ffb8
lea rdx, [0x1400b5354]
mov rcx, rbx
mov rdi, rax
call fcn.140009e54
mov rbx, rax
test rax, rax
je 0x14000ffad
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ef7c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001f16d
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, 0x100
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001f01e
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x14001f040
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x1400b54f0]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001f160
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001f08e
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001f092
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001e6e0
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.14001eb18
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001f07d
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x14001efcc
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400202cc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140162500]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.1400096d4
mov rcx, qword [0x140163108]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x140163110]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x140163118]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x140163110], rax
call qword [sym.imp.user32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.user32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.user32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.1400096d4
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x1400203f5
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x140163108]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.user32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.user32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.user32.dll_GetActiveWindow]
cmp rax, qword [0x140163108]
jne 0x14002044a
lea rcx, [rbp - 0x28]
call qword [sym.imp.user32.dll_GetCursorPos]
test eax, eax
je 0x14002044a
mov rcx, qword [0x140163108]
lea rdx, [rbp - 0x28]
call qword [sym.imp.user32.dll_ScreenToClient]
test eax, eax
je 0x14002044a
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140020458
or eax, 0xffffffff
jmp 0x14002045d
call fcn.140009710
cmp dword [0x1400da138], eax
je 0x140020470
mov dword [0x1400da138], eax
call fcn.140020498
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400af440
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140032e24
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.1400337c0
nop
lea rax, [0x140032790]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.1400323e0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x140032eb4
lea rcx, [rsp + 0x30]
call fcn.140045b98
nop
jmp 0x140032ecb
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x30]
call fcn.140035e18
nop
add rsp, 0x58
ret

Function at 0x1400372e4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4f8
mov rax, qword [0x140162500]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0xac], 1
xor eax, eax
mov word [rsp + 0xb0], ax
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x510]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x508]
lea r8, [0x1400bb7b8]
mov edx, 0x400
lea rcx, [rsp + 0xe0]
call fcn.14004a8fc
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
jne 0x1400373ce
jmp 0x1400373f5
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.kernel32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1400af440
add rsp, 0x4f8
ret
Function at 0x14003d224
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x140162500]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x14003d27e
cmp dword [rsp + 0x90], 0x7c
jge 0x14003d27e
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x1401610f0]
call fcn.14003d514
nop
lea rcx, [rsp + 0x50]
call fcn.140034e40
nop
cmp qword [rsp + 0x30], 0
jne 0x14003d2a5
lea rdx, [0x1400ba830]
lea rcx, [rsp + 0x50]
call fcn.1400363c4
nop
jmp 0x14003d2b5
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400363c4
nop
cmp dword [rsp + 0xa0], 1
jne 0x14003d2d1
lea rdx, [0x1400ba840]
lea rcx, [rsp + 0x50]
call fcn.1400363c4
nop
movss xmm2, dword [0x1400b9998]
movss xmm1, dword [0x1400bc3cc]
lea rcx, [rsp + 0x48]
call fcn.140035410
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.140040f74
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140025454
movzx eax, al
test eax, eax
je 0x14003d346
cmp dword [rsp + 0xa0], 0
jne 0x14003d346
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.140035d08
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400af440
add rsp, 0x88
ret

Function at 0x14003d368
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x1400baa48]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
lea rdx, [0x1400baa38]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003d3f1
lea rcx, [0x1400baa60]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
lea rdx, [0x1400baa50]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003d3f1
lea rcx, [0x1400baa74]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
lea rdx, [0x1400baa68]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003d3f1
xor al, al
jmp 0x14003d4a3
lea rcx, [0x1400baa98]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
lea rdx, [0x1400baa80]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003d473
lea rcx, [0x1400baab8]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
lea rdx, [0x1400baaa0]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003d473
lea rcx, [0x1400baad4]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
lea rdx, [0x1400baac0]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003d473
xor al, al
jmp 0x14003d4a3
mov r8d, 0x1e
mov rdx, qword [rsp + 0x20]
lea rcx, [0x140163790]
call fcn.1400b0b2a
mov r8d, 0x1e
mov rdx, qword [rsp + 0x28]
lea rcx, [0x1401637b0]
call fcn.1400b0b2a
mov al, 1
add rsp, 0x38
ret
Function at 0x14003e7a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003e7d2
xor eax, eax
jmp 0x14003e828
mov r8d, 0x1e
lea rdx, [0x1401637b0]
mov rcx, qword [rsp + 0x28]
call fcn.1400b0b2a
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
call qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_VirtualFree]
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x14003fb54
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140162500]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14003fb91
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14003fb98
mov al, 1
jmp 0x14003fcef
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140043bc0
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140043bc0
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140043c04
movzx eax, al
test eax, eax
je 0x14003fbed
xor al, al
jmp 0x14003fcef
mov qword [rsp + 0x68], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14003fc5d
cmp dword [rsp + 0x30], 1
je 0x14003fc69
cmp dword [rsp + 0x30], 3
je 0x14003fcdd
jmp 0x14003fced
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14003fcb5
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x14003fcb5
xor al, al
jmp 0x14003fcef
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14003fccf
mov dword [rsp + 0x34], 1
jmp 0x14003fcd7
mov dword [rsp + 0x34], 0
mov al, byte [rsp + 0x34]
jmp 0x14003fcef
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14003fcef
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400af440
add rsp, 0xa8
ret
Function at 0x140043e58
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x140162500]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov ecx, 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.kernel32.dll_Process32First
test eax, eax
je 0x140043ee7
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x140043ed4
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x14016328c], eax
mov eax, dword [rsp + 0x38]
jmp 0x140043ef4
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.kernel32.dll_Process32Next
test eax, eax
jne 0x140043ea2
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400af440
add rsp, 0x178
ret

Function at 0x1400458d4
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x50
lea rax, [0x1400b9a70]
mov qword [rsp + 0x28], rax
lea rax, [0x1400b9a98]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x21], 1
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x38]
call fcn.140033a64
mov r8, rax
lea rdx, [rsp + 0x22]
lea rcx, [rsp + 0x40]
call fcn.140030290
nop
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9d, 0x2400
lea r8, [0x1400da4f0]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140037048
mov r9d, 0x84800
lea r8, [0x1400dc8f0]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140037048
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x23]
call fcn.1400372e4
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ucrtbase.dll_remove]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ucrtbase.dll_remove]
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x40]
call fcn.140044ad4
nop
lea rcx, [rsp + 0x40]
call fcn.14003638c
nop
add rsp, 0x50
pop rdi
ret