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

Disassembly:
test r8d, r8d
jle 0x140020aa9
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400d18d0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x140020a71
mov rcx, rbp
call fcn.14001ffa0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x14002092e
lea rcx, [rbp + 0x2f80]
call fcn.1400091e0
mov rcx, rax
jmp 0x140020930
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xb0], 0xfffffe49
or dword [rbx + 0xb0], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x1400209c1
cmp qword [rcx + 0x18], 0
jne 0x1400209b6
mov qword [rcx + 0x18], rbx
jmp 0x1400209c1
cmp qword [rcx + 0x20], 0
jne 0x1400209c1
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov rcx, rbx
mov dword [rbx + 0xa8], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400209fc
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400209f0
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.140008a70
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x140020a58
cmp r9b, 0x23
jne 0x140020a3b
cmp byte [r8], r9b
jne 0x140020a3b
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140020a28
mov rcx, qword [0x1408b62b8]
not edx
add rcx, 0x1b78
call fcn.1400091e0
mov qword [rbx + 0x78], rax
add rdi, 0x24
sub rsi, 1
jne 0x140020900
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400bd060
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140021570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rbp, qword [0x1408b62b8]
test rax, rax
je 0x140021598
mov eax, dword [rax + 4]
mov dword [rcx + 4], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1400215a6
call fcn.140021570
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400215b4
call fcn.140021570
mov r9d, dword [rbx + 0x28]
xor esi, esi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
test r9d, r9d
jle 0x140021696
mov r14d, esi
mov rax, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x9c]
mov ecx, dword [rbp + 0x1b18]
inc r8d
mov rdi, qword [r14 + rax]
cmp r8d, ecx
jne 0x1400215fd
mov eax, dword [rdi + 0x2d8]
inc eax
cmp eax, ecx
jge 0x1400215fd
mov dl, 1
jmp 0x140021604
xor dl, dl
cmp r8d, ecx
jne 0x14002162c
test byte [rbx + 0xb4], 0x20
jne 0x140021618
mov eax, dword [rdi + 8]
cmp dword [rbx + 0xac], eax
jne 0x14002162c
cmp byte [rdi + 0xc8], 0
je 0x14002162c
test dword [rdi + 0xc], 0x100000
jne 0x14002162c
mov dl, 1
movzx ecx, byte [rdi + 0x472]
movzx eax, cl
shr al, 2
and al, 1
or al, dl
je 0x140021676
and cl, 0xfb
mov byte [rdi + 0x472], cl
cmp dword [rbx + 0x28], 1
jne 0x14002165c
mov eax, dword [rbx + 8]
shr eax, 0xb
test al, 1
je 0x1400216fc
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
call fcn.140021130
mov r9d, dword [rbx + 0x28]
dec esi
sub r14, 8
jmp 0x140021687
mov eax, dword [rdi + 0x28]
not eax
and dword [rbx + 8], eax
mov eax, dword [rbx + 8]
or eax, dword [rdi + 0x24]
mov dword [rbx + 8], eax
inc esi
add r14, 8
cmp esi, r9d
jl 0x1400215d0
movzx edx, byte [rbx + 0xb5]
movzx ecx, dl
test dl, 1
je 0x1400216c5
cmp r9d, 1
jne 0x1400216c5
mov r8d, dword [rbx + 8]
mov eax, r8d
or eax, dword [rbx + 4]
test al, 0x40
je 0x1400216c5
shr r8d, 0xd
test r9b, r8b
jne 0x1400216c5
or cl, 2
and cl, 0xfe
mov byte [rbx + 0xb5], cl
movzx eax, cl
test cl, 2
je 0x1400216ed
mov rdx, qword [rbx + 0x80]
test rdx, rdx
je 0x1400216ed
test dword [rdx + 0x24], 0x2000
je 0x1400216ed
and al, 0xfd
cmp r9d, 1
jle 0x14002171b
and dword [rbx + 8], 0xffffdfff
jmp 0x140021726
mov rcx, rbx
call fcn.140021490
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
mov dword [rbx + 0xc], 1
call fcn.140021130
jmp 0x14002178c
test al, 2
je 0x140021726
xor dword [rbx + 8], 0x2000
mov ecx, dword [rbx + 8]
and al, 0xfd
mov byte [rbx + 0xb5], al
mov eax, ecx
shr eax, 0xb
shr ecx, 0xa
cmp qword [rbx + 0x10], 0
movzx eax, al
movzx edx, cl
cmovne edx, eax
test r9d, r9d
setg al
or dl, al
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140021763
test byte [rax + 0xb4], 1
je 0x140021763
mov dl, 1
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140021779
test byte [rax + 0xb4], 1
je 0x140021779
mov al, 1
jmp 0x14002177b
xor al, al
and byte [rbx + 0xb4], 0xfe
or al, dl
and al, 1
or byte [rbx + 0xb4], al
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x140046d00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r10, rdx
test r8, r8
je 0x140046d8b
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140046d60
lea r10, [0x1400d18d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140046d43
cmp byte [r8], r9b
jne 0x140046d43
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r10 + rdx*4]
test r9b, r9b
jne 0x140046d30
mov rcx, qword [0x1408b62b8]
not eax
cmp dword [rcx + 0x1be8], eax
jne 0x140046d77
mov dword [rcx + 0x1bec], eax
cmp dword [rcx + 0x1c28], eax
jne 0x140046ddd
mov byte [rcx + 0x1c2c], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x1408b62b8]
mov rax, qword [rbx + 0x1b90]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r10
call fcn.140008b80
cmp dword [rbx + 0x1be8], eax
jne 0x140046dc9
mov dword [rbx + 0x1bec], eax
cmp dword [rbx + 0x1c28], eax
jne 0x140046dd8
mov byte [rbx + 0x1c2c], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x14004cd00
Capabilities:
Delete file
Delete service
Modify service
Stop service

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, qword [0x1408c9f58]
cmp byte [rbx], 0
je 0x14004ce22
mov word [rbx + 0x78], 0
xor edx, edx
mov qword [rsp + 0xb0], rdi
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x14004ce89
cmp byte [rbx + 0x79], 0
lea rdx, [rbx + 0x48]
mov eax, 0x10020
mov qword [rsp + 0xa8], rsi
mov ecx, reloc.WLDAP32.dll_Ordinal_32
cmovne eax, ecx
mov r8d, eax
or r8d, 2
cmp byte [rbx + 0x7a], 0
cmove r8d, eax
cmp qword [rdx + 0x18], 0x10
jb 0x14004cd89
mov rdx, qword [rdx]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x14004ceb7
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14004ceae
cmp byte [rbx + 0x7a], 0
je 0x14004ce01
xor eax, eax
mov edx, 0xffffffff
mov qword [rsp + 0x50], rax
mov r9d, edx
mov qword [rsp + 0x48], rax
mov rcx, rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 4]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
je 0x14004ceae
cmp byte [rbx + 0x79], 0
je 0x14004ce30
cmp byte [rbx], 0
jne 0x14004ce30
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x14004ce81
cmp byte [rbx + 0x78], 0
je 0x14004cd31
mov al, 1
jmp 0x14004ce91
mov rcx, rsi
mov qword [rsp + 0xa0], rbp
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp byte [rbx + 0x7b], 0
je 0x14004ceaa
cmp byte [rbx], 0
je 0x14004ceaa
cmp qword [rbx + 0x20], 0x10
lea rcx, [rbx + 8]
jb 0x14004ce6e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
mov rbp, qword [rsp + 0xa0]
setne al
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400bd060
add rsp, 0x90
pop rbx
ret
test ebp, ebp
jmp 0x14004ce76
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14004ce81
Function at 0x14004d4f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 3
jb 0x14004d657
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004d53c
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 3
lea r9, [0x140141618]
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14005aed0
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
xor edi, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
lea r8, str.cmd.exe
lea rdx, [0x140141628]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14004d5da
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d5d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d5d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bd5b8
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004d623
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004d61e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004d650
mov rcx, r8
call fcn.1400bd5b8
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400bd060
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14004a540
nop
int3
Function at 0x14004dbe0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rcx
mov qword [rsp + 0x90], rcx
call fcn.140058850
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x24], 0x40
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
lea rax, str.cmd.exe
mov qword [rsp + 0x38], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004dc72
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x14004dcd5
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004dcce
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004dcc9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004dd7f
mov rcx, r8
call fcn.1400bd5b8
mov eax, 0xffffffff
jmp 0x14004dd4b
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x98]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004dd49
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004dd44
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004dd7f
mov rcx, r8
call fcn.1400bd5b8
mov eax, edi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400bd060
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14004dd90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
xor edx, edx
mov ebx, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14004de25
nop
lea rdx, [0x140141638]
lea rcx, [rsp + 0x4c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14004de13
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jle 0x14004de13
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14004ddf0
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400bd060
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14004ef60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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, 0x20
mov r14, rcx
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, reloc.WS2_32.dll_recv
xor ebp, ebp
mov eax, dword [rax + rbx]
cmp dword [0x140901ed8], eax
jle 0x14004effb
lea rcx, [0x140901ed8]
call fcn.1400bd208
cmp dword [0x140901ed8], 0xffffffff
jne 0x14004effb
mov qword [0x140901d80], rbp
mov qword [0x140901d90], rbp
mov qword [0x140901d98], 0xf
lea r8d, [rbp + 0x1a]
lea rdx, str.mnpqrABCDFGHJKLMNPQRSTVWXZ
lea rcx, [0x140901d80]
call fcn.140059490
lea rcx, [0x1400c0340]
call fcn.1400bd5a0
nop
lea rcx, [0x140901ed8]
call fcn.1400bd1a8
mov esi, 0x13a8
mov eax, dword [rsi + rbx]
mov r15d, reloc.WLDAP32.dll_Ordinal_32
test al, 1
jne 0x14004f06b
or eax, 1
mov dword [rsi + rbx], eax
mov edi, r15d
add rdi, rbx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rdi + 0x1384], 0xffffffff
mov dword [rdi + 4], eax
mov edx, 1
lea r8, [rdi + 8]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x14004f040
mov dword [rdi], 0x270
mov eax, dword [rsi + rbx]
mov edi, Ordinal_26
test al, 2
jne 0x14004f089
or eax, 2
mov dword [rsi + rbx], eax
mov dword [rdi + rbx], ebp
mov eax, dword [0x140901d90]
dec eax
mov dword [rdi + rbx + 4], eax
mov qword [r14], rbp
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, r14
call fcn.140059330
cmp qword [r14 + 0x18], 0x10
jb 0x14004f0bb
mov rcx, qword [r14]
mov rdx, rcx
mov r12, rcx
jmp 0x14004f0c4
mov r12, r14
mov rdx, r14
mov rcx, r14
mov r13, qword [r14 + 0x10]
add r13, rdx
cmp rcx, r13
je 0x14004f1b1
mov ebp, edi
add rbp, rbx
mov esi, r15d
add rsi, rbx
mov r8d, 0x80000000
nop word [rax + rax]
mov ebx, dword [rbp + 4]
mov ecx, dword [rbp]
lea eax, [rcx - 0x80000000]
lea r15d, [rcx + r8]
cmp ecx, r8d
cmovae r15d, eax
cmp ebx, r8d
jae 0x14004f111
add ebx, r8d
jmp 0x14004f117
add ebx, 0x80000000
sub ebx, r15d
cmp ebx, 0xffffffff
jne 0x14004f12b
mov rcx, rsi
call fcn.14005b280
mov edx, eax
jmp 0x14004f169
lea edi, [rbx + 1]
nop
xor r8d, r8d
xor eax, eax
test ebx, ebx
je 0x14004f149
mov rcx, rsi
call fcn.14005b280
mov r8d, eax
mov eax, 0xffffffff
xor edx, edx
div edi
mov r9d, edx
mov ecx, eax
xor edx, edx
mov eax, r8d
div edi
cmp eax, ecx
jb 0x14004f162
cmp r9d, ebx
jne 0x14004f130
xor edx, edx
mov eax, r8d
div edi
lea ecx, [r15 + rdx]
lea eax, [rcx - 0x80000000]
mov r8d, 0x80000000
lea edx, [rcx + r8]
cmp ecx, r8d
cmovae edx, eax
lea rcx, [0x140901d80]
cmp qword [0x140901d98], 0x10
cmovae rcx, qword [0x140901d80]
movsxd rax, edx
movzx ecx, byte [rax + rcx]
mov byte [r12], cl
inc r12
cmp r12, r13
jne 0x14004f0f0
mov rax, r14
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14004f740
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x130
cmp rdi, 0xffffffffffffffff
je 0x14004f806
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14004f806
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14004f7fd
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x14004f7c1
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14004f7e3
inc rax
test ecx, ecx
jne 0x14004f7d0
mov rcx, rdi
test edx, edx
je 0x14004f876
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14004f7b4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004f840
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004f83b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f8bd
mov rcx, r8
call fcn.1400bd5b8
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400bd060
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x28], 0
je 0x14004f806
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004f8b9
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004f8b4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f8bd
mov rcx, r8
call fcn.1400bd5b8
mov al, 1
jmp 0x14004f842
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140050b10
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0xf8
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
lea rdx, [0x1400d08e7]
movups xmmword [rsp + 0x74], xmm0
xor eax, eax
xor r9d, r9d
mov dword [r11 - 0x24], eax
xor r8d, r8d
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
movups xmmword [r11 - 0x74], xmm0
mov dword [rsp + 0x20], eax
movups xmmword [r11 - 0x64], xmm0
movups xmmword [r11 - 0x54], xmm0
movups xmmword [r11 - 0x44], xmm0
movups xmmword [r11 - 0x34], xmm0
mov dword [rsp + 0x70], WSAGetLastError
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400bd060
add rsp, 0xf8
ret

Function at 0x140050bd0
Capabilities:
Create process on windows
Self delete

Disassembly:
sub rsp, 0x418
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rsp + 0x400], rax
xorps xmm0, xmm0
lea rdx, [rsp + 0xe0]
xor eax, eax
mov r8d, 0x104
xor ecx, ecx
mov qword [rsp + 0xd0], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r9, [rsp + 0xe0]
mov edx, 0x208
lea r8, str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__Del__f__q___s_
lea rcx, [rsp + 0x1f0]
call fcn.14004c8f0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x1f0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.1400bd060
add rsp, 0x418
ret
Function at 0x140057d70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x140057da0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140057dc8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140057dca
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140057e23
test ecx, ecx
jle 0x140057e03
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140057e23
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140057e23
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
loopne 0x140218f5b
cld
invalid