joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7784acc70
Capabilities:
Parse pe header

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

Function at 0x7ff7784b4a3c
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 0x7ff7784b4aab
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff7784b4aab
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff7784b4aab
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff7784b4aab
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff7784b4aab
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff7784b4aab
cmp dword [rcx + 0xf8], 0
je 0x7ff7784b4aab
mov ecx, ebx
call fcn.7ff7784b4b5c
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.7ff7784b4938
nop
cmp dword [rbp + 0x20], 0
je 0x7ff7784b4af9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.7ff7784b4b04
int3
xor r8d, r8d
xor edx, edx
jmp 0x7ff7784b4a3c

Function at 0x7ff7784b4c40
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 0x7ff7784b4aab
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff7784b4aab
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff7784b4aab
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff7784b4aab
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff7784b4aab
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff7784b4aab
cmp dword [rcx + 0xf8], 0
je 0x7ff7784b4aab
mov ecx, ebx
call fcn.7ff7784b4b5c
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.7ff7784b4938
nop
cmp dword [rbp + 0x20], 0
je 0x7ff7784b4af9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.7ff7784b4b04
int3
xor r8d, r8d
xor edx, edx
jmp 0x7ff7784b4a3c
Function at 0x7ff7784bb19c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x7ff7784bb1cc
xor eax, eax
jmp 0x7ff7784bb28f
mov rbp, rbx
cmp word [rax], si
je 0x7ff7784bb1f1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x7ff7784bb1d8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x7ff7784bb1d4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.7ff7784bb0bc
movsxd r14, eax
test eax, eax
jne 0x7ff7784bb22f
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x7ff7784bb1c5
mov rcx, r14
call fcn.7ff7784b7e6c
mov rdi, rax
test rax, rax
jne 0x7ff7784bb248
xor ecx, ecx
call fcn.7ff7784b64f0
jmp 0x7ff7784bb224
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.7ff7784bb0bc
test eax, eax
jne 0x7ff7784bb279
mov rcx, rdi
call fcn.7ff7784b64f0
jmp 0x7ff7784bb283
xor ecx, ecx
call fcn.7ff7784b64f0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x7ff7784c0568
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.7ff7784b00c0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x7ff7784c05f2
cmp byte [rbp - 0x21], r15b
je 0x7ff7784c05ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x7ff7784c0628
call fcn.7ff7784bc498
test eax, eax
jne 0x7ff7784c0614
cmp byte [rbp - 0x21], r15b
je 0x7ff7784c060c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x7ff7784c0628
cmp byte [rbp - 0x21], r15b
je 0x7ff7784c0625
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.7ff7784b7224
test eax, eax
jne 0x7ff7784c06c8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.7ff7784b00c0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x7ff7784c0667
cmp byte [rbp - 0x21], r15b
je 0x7ff7784c069c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x7ff7784c069c
call fcn.7ff7784bc498
test eax, eax
jne 0x7ff7784c0688
cmp byte [rbp - 0x21], r15b
je 0x7ff7784c0681
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x7ff7784c069c
cmp byte [rbp - 0x21], r15b
je 0x7ff7784c0699
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.7ff7784b7224
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x7ff7784c06c8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x7ff7784c06cb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x7ff7784c06d9
mov rcx, rdi
call fcn.7ff7784b64f0
cmp byte [rbp + 0x3f], r15b
je 0x7ff7784c06e8
mov rcx, qword [rbp + 0x27]
call fcn.7ff7784b64f0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x7ff7784c3a10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x7ff7784c3a38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x7ff7784c3a38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x0040bb90]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x0040bba0]
mov dword [rax], 1
mov rax, qword [0x0040bbb0]
mov dword [rax], 1
mov rax, qword [0x0040bb80]
mov dword [rax], 1
mov rax, qword [0x0040ba60]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x0040bb70]
mov dword [0x0040e008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x0040bb30]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x0040b9e0]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x402580
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x0040e624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x402708
mov rax, qword [0x0040e628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x4025cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x402655
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x4025b0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x40273d
mov rax, qword [0x0040e628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0040e628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x402720
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x40264e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x4026b0
add dword [0x0040e624], 1
cmp edi, 8
jae 0x402683
test dil, 4
jne 0x4026f4
test edi, edi
je 0x402678
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x40270f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x402678
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x40269c
jmp 0x402678
add rsi, qword [0x0040e628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40264e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x402678
xor esi, esi
jmp 0x4025d7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x402678
mov rax, qword [0x0040e628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x402e90
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0040e900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0040e8e0]
test rbx, rbx
je 0x402ee4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x402edb
test rsi, rsi
je 0x402edb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402ec0
lea rcx, [0x0040e900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x403120
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x403130
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x403140
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x403181
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x403178
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x403183
add rax, 0x28
cmp rax, r9
jne 0x403164
xor eax, eax
ret

Function at 0x403220
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0040ba60]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40328d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40328d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40328d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x403284
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40328f
add rax, 0x28
cmp rax, r9
jne 0x403270
xor eax, eax
add rsp, 0x28
ret

Function at 0x403390
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0040ba60]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x4033b0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4033a8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40340d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x403404
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x403414
add rax, 0x28
cmp rax, r9
jne 0x4033f0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x403430
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x0040ba60]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x40349e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40349e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x40349e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x40349e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x403495
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x4034a5
add rcx, 0x28
cmp rcx, rax
jne 0x403480
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x4034b8
jmp 0x40349e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x4034c6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x40349e
test r9d, r9d
jg 0x4034b0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x4095b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140062960
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x4a], 0
je 0x140062983
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x6f]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0x49
jb 0x140062970
mov byte [rdx + 0x4a], 0
call fcn.14006ecc0
lea rax, [0x14032cb30]
add rsp, 0x28
ret
Function at 0x140065120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140324680]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x38], rdx
xor r14d, r14d
call fcn.14009a500
mov rsi, rax
xorps xmm0, xmm0
test rax, rax
jne 0x1400651fc
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov r8d, 4
lea rdx, str.null
mov rcx, rdi
call fcn.14006fca0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400651c6
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400651c1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140065304
mov rcx, r8
call fcn.1402187c0
mov rax, rdi
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1402187a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1402fb580]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov word [rbp - 0x45], Ordinal_50
movdqa xmm0, xmmword [0x1402fb690]
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x50], 0x2f6e6977
mov dword [rbp - 0x4c], 0x2f697061
mov word [rbp - 0x48], 0x2e31
mov byte [rbp - 0x46], Ordinal_50
mov byte [rbp - 0x43], 0
lea r8, [rbp - 0x60]
mov edx, 0x2712
mov rcx, rsi
call fcn.14009e590
xor r8d, r8d
mov edx, 0x40
mov rcx, rsi
call fcn.14009e590
xor r8d, r8d
mov edx, 0x51
mov rcx, rsi
call fcn.14009e590
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006527e
mov r8, qword [rbx]
mov edx, 0x271f
mov rcx, rsi
call fcn.14009e590
lea r8, [0x1400650f0]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.14009e590
lea r8, [rbp - 0x30]
mov edx, 0x2711
mov rcx, rsi
call fcn.14009e590
mov rcx, rsi
call fcn.14009a5d0
test eax, eax
je 0x1400652d7
mov ecx, eax
call fcn.14009b630
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call fcn.14009a4e0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1402fb580]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
jmp 0x14006518c
call fcn.14022ca90
int3
Function at 0x140066410
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x6b0
mov rax, qword [0x140324680]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14006644f
xor al, al
jmp 0x14006651c
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x6c8], rbx
mov rcx, rsi
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140066509
nop word [rax + rax]
mov edx, dword [rsp + 0x28]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400664f3
lea rdx, [rsp + 0x260]
mov dword [rsp + 0x260], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400664ea
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x290]
call fcn.14021a954
mov rcx, rbx
test rax, rax
jne 0x14006653d
lea rdx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400664c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140066480
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.1402187a0
mov rsi, qword [rsp + 0x6d0]
add rsp, 0x6b0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140066514

Function at 0x140066550
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rsi, qword [rcx + 8]
mov rbx, qword [rcx]
cmp rbx, rsi
je 0x1400665ad
mov qword [rsp + 0x30], rdi
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14006659f
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
cmp rbx, rsi
jne 0x140066570
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x1400a44e0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140324680]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400a454c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400c31c0
jmp 0x1400a462a
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400a457c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400c31c0
jmp 0x1400a462a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400a45a0
cmp ecx, 1
je 0x1400a458f
mov ebx, r14d
call fcn.1400a5010
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400a45a5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140261944]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, ntohl
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1400b44d0
lea rcx, [rsp + 0x58]
call fcn.1400a4370
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400a4c70
test al, al
je 0x1400a4619
mov dword [r15], 1
jmp 0x1400a4628
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400b0590
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402187a0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400a44e0