joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180030f30
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov dword [rsp + 0x28], 0x67452301
mov r8d, edx
mov dword [rsp + 0x2c], 0xefcdab89
mov rdx, rcx
mov dword [rsp + 0x30], 0x98badcfe
xor eax, eax
mov dword [rsp + 0x34], 0x10325476
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.180030bd0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180030ca0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x90
pop rbx
ret

Function at 0x180031050
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbp, r8
mov dword [rsp + 0x28], 0x67452301
mov r8d, edx
mov dword [rsp + 0x2c], 0xefcdab89
mov rdx, rcx
mov dword [rsp + 0x30], 0x98badcfe
xor eax, eax
mov dword [rsp + 0x34], 0x10325476
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.180030bd0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.180030ca0
xor eax, eax
lea rdi, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
lea esi, [rax + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
nop word [rax + rax]
movzx r8d, byte [rdi]
lea rdx, str._02x
mov rcx, rbx
call fcn.180010dc0
add rbx, 2
lea rdi, [rdi + 1]
sub rsi, 1
jne 0x180031100
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18010faf0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret

Function at 0x180031330
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ecx, ecx
lea rax, [rsp + 0x30]
mov r9, rdx
mov qword [rsp + 0x28], rax
lea r8, [sym.SafeBase64.dll_public:_static_unsigned_int___cdecl_CNamePipe::PipeThread_void____ptr64_]
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rsp + 0x30], ecx
call fcn.180127c88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x48
ret
Function at 0x1800313a0
Capabilities:
Connect pipe
Create pipe
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor esi, esi
mov rdi, rcx
mov dword [rsp + 0x58], esi
nop dword [rax]
xor eax, eax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea edx, [rax + 1]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x1800313d0
xor r9d, r9d
lea rcx, [rsp + 0x60]
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x1800313d0
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], 0x18
mov qword [rsp + 0x48], rax
mov edx, 3
lea rax, [rsp + 0x40]
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x38], rax
mov r9d, 0xff
mov dword [rsp + 0x30], esi
mov rcx, rdi
mov dword [rsp + 0x28], 0xbb8
lea r8d, [rdx + 3]
mov dword [rsp + 0x20], 0xbb8
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800314e2
lea rcx, str.CreateNamedPipe_success_n
call sym.SafeBase64.dll_DbgPrintW
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x1800314d4
lea rax, [rsp + 0x58]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [sym.SafeBase64.dll_private:_static_unsigned_int___cdecl_CNamePipe::RecvClientThread_void____ptr64_]
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call fcn.180127c88
test rax, rax
je 0x1800313d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800313d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800313d0
lea rcx, str.CreateNamedPipe::_error_n
call sym.SafeBase64.dll_DbgPrintW
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18010faf0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180031520
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0xca0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0xc90], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0xc40
lea rcx, [rsp + 0x50]
call fcn.180113150
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 0xc40
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800315ca
mov rax, qword [sym.SafeBase64.dll_class_CNamePipe____ptr64___ptr64_CNamePipe::m_instance]
test rax, rax
jne 0x1800315ba
lea ecx, [rax + 8]
call fcn.1800f3074
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1800315b3
xor ecx, ecx
mov qword [rax], rcx
mov rcx, rax
call sym.SafeBase64.dll_private:_void___cdecl_CNamePipe::constructor_void____ptr64
nop
mov qword [sym.SafeBase64.dll_class_CNamePipe____ptr64___ptr64_CNamePipe::m_instance], rax
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rax
call sym.SafeBase64.dll_private:_void___cdecl_CNamePipe::ParseBuf_struct__PipeStruct____ptr64__void____ptr64____ptr64
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0xc90]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0xca0
pop rbx
ret
Function at 0x180031600
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1868
call fcn.180110950
sub rsp, rax
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x1850], rax
mov rbp, qword [rsp + 0x18d0]
xor r13d, r13d
mov r14, qword [rsp + 0x18d8]
mov rdi, r8
movsxd r15, r9d
mov r12, rdx
mov qword [rsp + 0x30], r13
xor r9d, r9d
lea r8d, [r13 + 1]
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18003169a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
lea rcx, str.SendRcvMsg::_CreateFile_error__Name_s_errCode_x_n
mov r8d, eax
call sym.SafeBase64.dll_DbgPrintW
xor eax, eax
jmp 0x1800317dd
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1800316d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
lea rcx, str.SendRcvMsg::_WaitNamedPipe_error__Name_s_errCode_x_n
mov r8d, eax
call sym.SafeBase64.dll_DbgPrintW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1800317dd
xor edx, edx
mov dword [rsp + 0x40], r13d
mov r8d, 0xc40
lea rcx, [rsp + 0x50]
call fcn.180113150
mov r8, r12
lea rcx, [rsp + 0x50]
mov edx, 0x7f
call fcn.18011ab74
test rdi, rdi
je 0x180031742
mov r8, r15
test r15d, r15d
je 0x180031742
lea rcx, [rsp + 0xd0]
cmp r15, 0xbbf
ja 0x180031725
mov rdx, rdi
call fcn.180112cb0
jmp 0x180031742
xor edx, edx
mov r8d, 0xbbf
call fcn.180113150
call fcn.18011a7d0
mov dword [rax], 0x22
call fcn.18011a64c
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r13
mov r8d, 0xc40
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rsi
lea rcx, str.SendRcvMsg::_WriteFile_bRet_x_Name_s_errCode_x_n
mov r9d, eax
mov edx, edi
call sym.SafeBase64.dll_DbgPrintW
test edi, edi
je 0x1800317d2
test rbp, rbp
je 0x180031795
test r14, r14
je 0x180031795
mov r8d, dword [r14]
mov r9, r14
mov rdx, rbp
jmp 0x1800317c2
xor edx, edx
lea rcx, [rsp + 0xc90]
mov r8d, 0xbc0
call fcn.180113150
lea r9, [rsp + 0x44]
mov dword [rsp + 0x44], r13d
mov r8d, 0xbc0
lea rdx, [rsp + 0xc90]
mov rcx, rbx
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x1850]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x1868
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180031810
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xca0
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0xc90], rax
movsxd rbp, r9d
mov rbx, r8
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov r14, rdx
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rsi, rcx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rdi, 0xffffffffffffffff
je 0x180031891
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x180031898
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x180031937
xor edx, edx
mov dword [rsp + 0x40], 0
mov r8d, 0xc40
lea rcx, [rsp + 0x50]
call fcn.180113150
mov r8, r14
lea rcx, [rsp + 0x50]
mov edx, 0x7f
call fcn.18011ab74
test rbx, rbx
je 0x180031908
mov r8, rbp
test ebp, ebp
je 0x180031908
lea rcx, [rsp + 0xd0]
cmp rbp, 0xbc0
ja 0x1800318eb
mov rdx, rbx
call fcn.180112cb0
jmp 0x180031908
xor edx, edx
mov r8d, 0xbc0
call fcn.180113150
call fcn.18011a7d0
mov dword [rax], 0x22
call fcn.18011a64c
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, 0xc40
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0xc90]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0xca0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180031960
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc40
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0xc30], rax
mov qword [rsp + 0x50], r8
mov r15, rdx
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x60], rcx
mov rsi, rcx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1800319c0
lea rcx, [rsp + 0x30]
call fcn.1800105a0
mov rbx, qword [rsi]
mov r13, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x30]
mov rbx, qword [rbx]
mov r12, rbx
mov rdi, qword [rbx + 8]
cmp byte [rdi + 0x19], 0
jne 0x180031a51
nop word [rax + rax]
cmp r13, 0x10
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x20]
cmovae rdx, r14
cmp qword [rdi + 0x38], 0x10
jb 0x180031a1c
mov rcx, qword [rdi + 0x20]
mov rsi, qword [rdi + 0x30]
cmp rbp, rsi
mov r8, rsi
cmovb r8, rbp
call fcn.180113430
test eax, eax
jne 0x180031b56
cmp rsi, rbp
jb 0x180031b5c
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x180031a00
mov rsi, qword [rsp + 0x60]
cmp rbx, r12
je 0x180031a94
cmp qword [rbx + 0x38], 0x10
lea rdx, [rbx + 0x20]
jb 0x180031a65
mov rdx, qword [rbx + 0x20]
mov rdi, qword [rbx + 0x30]
lea rcx, [rsp + 0x30]
cmp r13, 0x10
mov r8, rbp
cmovae rcx, r14
cmp rdi, rbp
cmovb r8, rdi
call fcn.180113430
test eax, eax
jne 0x180031a92
cmp rbp, rdi
jb 0x180031a94
ja 0x180031a97
test eax, eax
jns 0x180031a97
mov rbx, r12
cmp r13, 0x10
jb 0x180031ace
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180031ac6
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180031b65
mov rcx, r14
call fcn.18001cc90
mov rax, qword [rsi]
cmp rbx, qword [rax]
je 0x180031b2b
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0xbc0
call fcn.180113150
lea rcx, [r15 + 0x80]
mov dword [rsp + 0x58], 0xbc0
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
call qword [rbx + 0x40]
test al, al
je 0x180031b2b
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xc30]
xor rcx, rsp
call fcn.18010faf0
mov rbx, qword [rsp + 0xc80]
add rsp, 0xc40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
jns 0x180031a40
mov rdi, qword [rdi + 0x10]
jmp 0x180031a46
call fcn.18011a66c
int3
Function at 0x180032ae0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x400
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x3f0], rax
xor eax, eax
mov rbx, r8
mov qword [rsp + 0x1d0], rax
mov esi, edx
mov qword [rsp + 0x1d8], rax
mov rbp, rcx
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rax
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [r8 + rax], 0
jne 0x180032b30
cmp rax, 0x200
ja 0x180032bb9
mov r8d, 5
lea rdx, str.http:
mov rcx, rbx
call fcn.180128d64
test eax, eax
je 0x180032b6d
mov rcx, rbx
nop
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x180032b60
jmp 0x180032b8e
lea rax, [rbx + 5]
movzx ecx, byte [rax]
cmp cl, 0x2f
je 0x180032b7e
cmp cl, 0x5c
jne 0x180032b83
inc rax
jmp 0x180032b71
movzx edx, byte [rax]
lea rax, [rax + 1]
test dl, dl
jne 0x180032b83
mov ecx, 0x101
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180032bb9
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rbx, rax
test rax, rax
jne 0x180032bd6
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x400
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
test rcx, rcx
je 0x180032c61
mov qword [rsp + 0x438], rdi
xor edi, edi
dec esi
nop
movsx r8, word [rbx + 0x12]
mov rdx, rcx
lea rcx, [rsp + 0x24]
call fcn.180112cb0
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
lea rdx, [0x1801596d0]
lea rcx, [rsp + 0x1d0]
call fcn.180010dc0
lea r8, [0x1801596d4]
mov rdx, rsi
mov rcx, rbp
call fcn.180127860
lea r8, [rsp + 0x1d0]
mov rdx, rsi
mov rcx, rbp
call fcn.180127860
mov rax, qword [rbx + 0x18]
lea rdi, [rdi + 1]
mov rcx, qword [rax + rdi*8]
test rcx, rcx
jne 0x180032bf0
mov rdi, qword [rsp + 0x438]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x180032bbb
Function at 0x180032c80
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x400
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x3f0], rax
xor eax, eax
mov rbx, r8
mov qword [rsp + 0x1d0], rax
mov esi, edx
mov qword [rsp + 0x1d8], rax
mov rbp, rcx
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rax
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [r8 + rax], 0
jne 0x180032cd0
cmp rax, 0x200
ja 0x180032d59
mov r8d, 5
lea rdx, str.http:
mov rcx, rbx
call fcn.180128d64
test eax, eax
je 0x180032d0d
mov rcx, rbx
nop
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x180032d00
jmp 0x180032d2e
lea rax, [rbx + 5]
movzx ecx, byte [rax]
cmp cl, 0x2f
je 0x180032d1e
cmp cl, 0x5c
jne 0x180032d23
inc rax
jmp 0x180032d11
movzx edx, byte [rax]
lea rax, [rax + 1]
test dl, dl
jne 0x180032d23
mov ecx, 0x101
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180032d59
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rbx, rax
test rax, rax
jne 0x180032d76
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x400
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
test rcx, rcx
je 0x180032e01
mov qword [rsp + 0x438], rdi
xor edi, edi
dec esi
nop
movsx r8, word [rbx + 0x12]
mov rdx, rcx
lea rcx, [rsp + 0x24]
call fcn.180112cb0
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
lea rdx, str.:_s
lea rcx, [rsp + 0x1d0]
call fcn.180010dc0
lea r8, [0x1801596d4]
mov rdx, rsi
mov rcx, rbp
call fcn.180127860
lea r8, [rsp + 0x1d0]
mov rdx, rsi
mov rcx, rbp
call fcn.180127860
mov rax, qword [rbx + 0x18]
lea rdi, [rdi + 1]
mov rcx, qword [rax + rdi*8]
test rcx, rcx
jne 0x180032d90
mov rdi, qword [rsp + 0x438]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x180032d5b
Function at 0x180032fa0
Capabilities:
Initialize winsock library
List tcp connections and listeners

Disassembly:
push r12
push r13
push r15
sub rsp, 0x200
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov r12d, edx
mov r13d, ecx
mov ecx, 0x202
lea rdx, [rsp + 0x40]
mov r15, r8
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180032ffa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CheckTcpV4:_Open_network_error_x_n
call sym.SafeBase64.dll_DbgPrintW
mov eax, 0xffffffff
jmp 0x180033187
mov qword [rsp + 0x220], rbx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x228], rbp
xor ecx, ecx
xor ebp, ebp
mov qword [rsp + 0x238], rsi
mov esi, 1
mov qword [rsp + 0x1f8], rdi
mov dword [rsp + 0x28], ebp
mov r8d, esi
mov edi, ebp
mov dword [rsp + 0x30], ebp
lea r9d, [rbp + 2]
mov dword [rsp + 0x20], 5
call qword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
cmp eax, 0x7a
jne 0x180033078
mov eax, dword [rsp + 0x30]
add eax, 0x400
mov dword [rsp + 0x30], eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
lea edx, [rbp + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1800330c1
mov dword [rsp + 0x28], ebp
lea rdx, [rsp + 0x30]
mov r9d, 2
mov dword [rsp + 0x20], 5
mov r8d, esi
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
test eax, eax
je 0x1800330d1
mov edx, eax
lea rcx, str.CheckTcpV4:_Get_TCP_info_error
call sym.SafeBase64.dll_DbgPrintW
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffffff
jmp 0x180033167
mov ebx, ebp
cmp dword [rdi], ebx
jbe 0x18003314b
mov qword [rsp + 0x1f0], r14
nop
mov r14d, ebx
lea rax, [r14 + r14*2]
movzx ecx, word [rdi + rax*8 + 0x14]
lea rsi, [rdi + rax*8]
call qword [sym.imp.WS2_32.dll_ntohs]
cmp r13d, dword [rsi + 0x18]
jne 0x180033117
movzx eax, ax
cmp r12d, eax
jne 0x180033117
test r15, r15
je 0x18003311f
mov rcx, r15
call qword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, dword [rsi + 0x10]
je 0x18003311f
inc ebx
cmp ebx, dword [rdi]
jb 0x1800330e0
jmp 0x180033143
lea rax, [r14 + r14*2]
mov edx, dword [rdi + rax*8 + 4]
lea rbx, [rdi + rax*8]
lea rcx, str.CheckTcpV4:_State_x_n
call sym.SafeBase64.dll_DbgPrintW
cmp dword [rbx + 4], 0xb
mov eax, 1
cmovne ebp, eax
mov r14, qword [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebp
mov rsi, qword [rsp + 0x238]
mov rbp, qword [rsp + 0x228]
mov rbx, qword [rsp + 0x220]
mov rdi, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x200
pop r15
pop r13
pop r12
ret
Function at 0x1800331b0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, r8
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r10, rax
test rax, rax
jne 0x1800331dc
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rax + 0x18]
xor edx, edx
mov r9d, edx
cmp qword [rax], rdx
je 0x180033227
mov r8d, edx
mov r11d, 2
mov rcx, rax
cmp r11w, word [r10 + 0x10]
jne 0x180033212
cmp edx, dword [rbx]
jae 0x180033210
mov rax, qword [r8 + rax]
mov ecx, edx
mov eax, dword [rax]
mov dword [rdi + rcx*4], eax
mov rcx, qword [r10 + 0x18]
inc edx
inc r9d
mov rax, rcx
lea r8, [r9*8]
cmp qword [r8 + rcx], 0
jne 0x1800331f3
mov dword [rbx], edx
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180034e10
Capabilities:
Get system information on windows
Map section object

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov r12, rdx
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov r15d, r8d
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0xd8]
dec eax
mov esi, eax
and esi, edi
je 0x180034e75
not rax
and rdi, rax
mov eax, esi
add qword [rsp + 0x60], rax
lea rax, str.DevicePhysicalMemory
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 0x2e002c
mov dword [rsp + 0x78], 0x30
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x90], 0x40
lea rax, [rsp + 0x68]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x98], xmm0
lea r8, [rsp + 0x78]
mov edx, 2
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_ZwOpenSection]
cmp eax, 0xc0000022
jne 0x180034f18
lea r8, [rsp + 0x78]
mov edx, 0x60000
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_ZwOpenSection]
mov rcx, qword [rsp + 0x50]
call fcn.180034690
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_ZwClose]
lea r8, [rsp + 0x78]
mov edx, 2
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_ZwOpenSection]
test eax, eax
je 0x180034f46
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.18010faf0
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov r8, rdi
shr r8, 0x20
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov edx, 2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
je 0x180034f95
mov ecx, esi
add rcx, rax
mov r8, r15
mov rdx, r12
call fcn.180112cb0
mov ebx, 1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x180035018
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0xa8], rdi
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [rsp + 0x58]
mov edi, 0xffffffff
mov edx, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_ZwMapViewOfSection]
test eax, eax
jne 0x180035018
mov ecx, dword [rsp + 0x58]
mov eax, esi
add rcx, rax
mov r8, r15
mov rdx, r12
call fcn.180112cb0
mov ebx, 1
mov edx, dword [rsp + 0x58]
mov ecx, edi
call qword [sym.imp.ntdll.dll_ZwUnmapViewOfSection]
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_ZwClose]
mov eax, ebx
jmp 0x180034f1e