joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18008c210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1801d01d0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r10, rdx
mov rbx, rcx
cmp rdx, 0x20
jne 0x18008c304
xor r8d, r8d
mov dword [rbp - 0x20], 0x4d6a0909
xor edi, edi
mov dword [rbp - 0x1c], 0x4a4f4255
mov r9d, reloc.WS2_32.dll_ntohs
mov dword [rbp - 0x18], 0x23090947
mov eax, recv
mov qword [rbp - 0x28], r9
mov ecx, edi
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x40], r8
mov dword [rbp - 0x38], r8d
mov byte [rbp - 0x34], r8b
nop dword [rax + rax]
cmp rcx, 0xc
jae 0x18008c43b
movzx edx, byte [rbp + rcx - 0x20]
xor dl, 0x23
cmp rax, rcx
jbe 0x18008c441
cmp r9, 0x10
lea rax, [rbp - 0x40]
cmovae rax, r8
mov byte [rcx + rax], dl
inc rcx
cmp rcx, 0xc
jge 0x18008c2c1
mov r9, qword [rbp - 0x28]
mov rax, qword [rbp - 0x30]
mov r8, qword [rbp - 0x40]
jmp 0x18008c280
cmp qword [rbp - 0x28], 0x10
lea rdx, [rbp - 0x40]
mov qword [rbx], rdi
mov r8, 0xffffffffffffffff
cmovae rdx, qword [rbp - 0x40]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
inc r8
cmp byte [rdx + r8], dil
jne 0x18008c2e5
mov rcx, rbx
call fcn.18000d230
lea rcx, [rbp - 0x40]
call fcn.18000d1d0
jmp 0x18008c414
mov rcx, qword [0x1801eaf30]
xor edi, edi
test rcx, rcx
jne 0x18008c3b3
mov r9d, reloc.WS2_32.dll_ntohs
mov dword [rbp - 0x20], 0x1717191e
mov eax, 6
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x30], rax
mov r8d, edi
mov word [rbp - 0x1c], 0x7011
mov ecx, edi
mov qword [rbp - 0x40], rdi
nop
cmp rcx, 6
jae 0x18008c435
movzx edx, byte [rbp + rcx - 0x20]
xor dl, 0x70
cmp rax, rcx
jbe 0x18008c441
cmp r9, 0x10
lea rax, [rbp - 0x40]
cmovae rax, r8
mov byte [rax + rcx], dl
inc rcx
cmp rcx, 6
jge 0x18008c381
mov r9, qword [rbp - 0x28]
mov rax, qword [rbp - 0x30]
mov r8, qword [rbp - 0x40]
jmp 0x18008c340
cmp qword [rbp - 0x28], 0x10
lea rdx, [rbp - 0x40]
mov qword [rbx], rdi
mov r8, 0xffffffffffffffff
cmovae rdx, qword [rbp - 0x40]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
inc r8
cmp byte [rdx + r8], dil
jne 0x18008c3a5
jmp 0x18008c2ee
mov rax, qword [0x1801f31c8]
xor r9d, r9d
mov qword [rbp - 0x20], rax
xor r8d, r8d
xor eax, eax
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
xor edx, edx
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rdi
mov rcx, r10
mov qword [rsp + 0x20], rax
call fcn.1800d9340
mov r8, 0xffffffffffffffff
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x18008c400
mov rdx, rax
mov rcx, rbx
call fcn.18000d230
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1801455c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800c1b00
int3
call fcn.1800c1b00
int3
call fcn.1800c1f60
int3
Function at 0x180095220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r10d, edx
mov r9d, edx
and r10d, 7
je 0x1800952ad
cmp edx, r10d
jge 0x18009529e
mov r9d, dword [rcx + 0x14]
mov eax, 1
mov ecx, edx
mov r8d, edx
shl eax, cl
cmp r9d, eax
jae 0x180095297
mov r11, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r11
jb 0x180095262
xor cl, cl
jmp 0x18009526b
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r8 + 8]
mov ecx, r8d
mov dword [rbx + 0x10], edx
shl eax, cl
or r9d, eax
mov dword [rbx + 0x14], r9d
cmp edx, 0x18
jg 0x18009529e
mov ecx, edx
mov eax, 1
shl eax, cl
mov r8d, edx
cmp r9d, eax
jb 0x180095256
mov rax, qword [rbx + 8]
mov qword [rbx], rax
mov ecx, r10d
shr dword [rbx + 0x14], cl
sub edx, r10d
mov dword [rbx + 0x10], edx
mov r9d, edx
xor r10d, r10d
test edx, edx
jle 0x1800952e2
mov ecx, dword [rbx + 0x14]
lea r8, [rsp + 0x30]
nop dword [rax]
movzx eax, byte [rbx + 0x14]
lea edx, [r9 - 8]
shr ecx, 8
inc r10d
mov byte [r8], al
lea r8, [r8 + 1]
mov dword [rbx + 0x14], ecx
mov r9d, edx
test edx, edx
jg 0x1800952c0
mov dword [rbx + 0x10], edx
jns 0x18009530f
mov edx, dword [0x1801e95d4]
mov rax, qword gs:[0x58]
mov ecx, Ordinal_41
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r10d
cmp rcx, 4
jge 0x18009533f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop
cmp rax, r8
jb 0x180095329
xor dl, dl
jmp 0x180095332
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x180095320
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x1800952e4
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x1800953b4
mov edx, dword [0x1801e95d4]
mov rax, qword gs:[0x58]
mov ecx, Ordinal_41
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x1800953ce
mov rcx, rbx
call fcn.180094680
test eax, eax
je 0x1800953a7
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.180147b70
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1800d0de0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1800d0e41
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1800d0e00
mov ecx, dword [r10]
jmp 0x1800d0f2a
cmp ecx, 0x4e0
jb 0x1800d0f2a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1800d0e60
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1800d0eb0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1800d91c0
Capabilities:
Hash data with md5

Disassembly:
push rbx
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x1801d01d0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
xor r15d, r15d
mov byte [rsp + 0x20], 0
cmp qword [rdx + 0x18], 0x10
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x64], r15
mov dword [rsp + 0x6c], 0x67452301
mov dword [rsp + 0x70], 0xefcdab89
mov dword [rsp + 0x74], 0x98badcfe
mov dword [rsp + 0x78], 0x10325476
jb 0x1800d921c
mov rdx, qword [rdx]
mov r8d, dword [r14 + 0x10]
lea rcx, [rsp + 0x20]
call fcn.1800d8e70
lea rcx, [rsp + 0x20]
call fcn.1800d8f50
cmp byte [rsp + 0x20], r15b
jne 0x1800d9259
mov qword [rbx], r15
lea rdx, [0x1801a60a8]
mov qword [rbx + 0x10], r15
xor r8d, r8d
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
jmp 0x1800d9301
mov qword [rsp + 0x100], rbp
mov ebp, reloc.WS2_32.dll_recv
mov qword [rsp + 0xc8], rsi
lea rsi, [rsp + 0x90]
mov qword [rsp + 0xc0], rdi
lea rdi, [rsp + 0x7c]
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rdi]
lea rdx, str._02x
mov rcx, rsi
call fcn.18002e8c0
add rsi, 2
lea rdi, [rdi + 1]
sub rbp, 1
jne 0x1800d9290
mov rdi, qword [rsp + 0xc0]
lea rax, [rsp + 0x90]
mov rsi, qword [rsp + 0xc8]
mov r8, 0xffffffffffffffff
mov rbp, qword [rsp + 0x100]
mov byte [rsp + 0xb0], r15b
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x1800d92f0
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.18000d230
mov rcx, r14
call fcn.18000d1d0
mov rax, rbx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1801455c0
add rsp, 0xd0
pop r15
pop r14
pop rbx
ret

Function at 0x1800d937c
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov rax, Ordinal_46
syscall
ret
Function at 0x1800eced0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1800ecf12
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1800ed0b0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x1801d01d0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, qword [rsp + 0x190]
mov rbp, rcx
mov rcx, qword [rcx + 0x18]
mov r15, r8
movsxd r8, edx
mov r12, r9
mov rax, r8
shl rax, 5
lea rbx, [rcx + 0x230]
mov r14, qword [rcx + r8*8 + 0x1e8]
add rbx, rax
mov rax, qword [rcx + 0x3f8]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x84], 3
je 0x1800ed1bc
lea rax, [0x1800ecf60]
cmp qword [rcx + r8*8 + 0x210], rax
jne 0x1800ed1bc
cmp qword [rbx], 0
je 0x1800ed141
test rdi, rdi
je 0x1800ed1bc
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, r14
call fcn.1800fd9b0
cmp eax, 0xffffffff
je 0x1800ed1bc
test al, 1
je 0x1800ed1bc
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1800ed19b
mov eax, dword [rbp + 0x724]
add eax, eax
movsxd rcx, eax
mov qword [rbx + 8], rcx
call qword [section..data]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x1800ed1f6
mov rdi, qword [rbx + 8]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rcx
mov r8d, edi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x1800ed1bc
add qword [rbx + 0x10], rcx
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
mov dword [rsi], 0
cmp rbx, 0xffffffffffffffff
jne 0x1800ed235
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
jne 0x1800ed205
xor ebx, ebx
mov dword [rsi], 0x51
jmp 0x1800ed235
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_27
mov rax, 0xffffffffffffffff
jmp 0x1800ed238
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.180100d10
mov r8, rax
lea rdx, str.Send_failure:__s
mov rcx, rbp
call fcn.1800ecb80
mov dword [rbp + 0xdd4], edi
mov dword [rsi], gethostname
mov rax, rbx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1801455c0
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800ed6c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x280], 0
je 0x1800ed6dd
call fcn.1800e6a00
test eax, eax
jne 0x1800ed703
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x1e8]
cmp rcx, 0xffffffffffffffff
je 0x1800ed6d6
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1800ed6d6
mov al, 1
add rsp, 0x28
ret
Function at 0x1800ed950
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x1801d01d0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rax, rdx
mov rdi, r8
mov rsi, rcx
lea r8, [rsp + 0x20]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rbx, r9
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
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1800ed9f8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.180100d10
mov r8d, ebx
lea rdx, str.getsockname___failed_with_errno__d:__s
jmp 0x1800eda81
movzx eax, word [rsp + 0x30]
cmp eax, 2
je 0x1800eda33
cmp eax, 0x17
jne 0x1800eda3f
lea rdx, [rsp + 0x38]
mov ecx, eax
mov r8, rdi
mov r9d, reloc.WLDAP32.dll_Ordinal_46
call fcn.18011cb60
test rax, rax
je 0x1800eda3f
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rbx], eax
jmp 0x1800eda8c
lea rdx, [rsp + 0x34]
mov ecx, 2
jmp 0x1800eda0e
mov byte [rdi], 0
mov dword [rbx], 0
call fcn.1801650b8
mov dword [rax], 0x273f
call fcn.1801650b8
mov ebx, dword [rax]
call fcn.1801650b8
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.180100d10
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.1800ecb80
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1801455c0
add rsp, 0x1c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800ef660
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.18016d168
cdqe
add rsp, 0x28
ret

Function at 0x1800ef950
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x180187560]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1800ef97a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180187580]
mov rcx, rbx
mov r14, rax
call fcn.180166020
test rax, rax
je 0x1800ef9dd
mov rcx, rbx
test r14, r14
je 0x1800ef9c7
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x1800efa15
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800efa15
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x1800efad8
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1800efa40
lea ecx, [rax + 1]
add rcx, rdx
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x1800efaca
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800efaca
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1800efa70
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x1800efa84
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1800efaa0
mov rcx, rdi
test r14, r14
je 0x1800efac1
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x1800efac7
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.180162cf4]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x1801028a0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.1800f5070
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x1800e1a69.0
mov rcx, rdi
mov rsi, rax
call case.0x1800e1a69.0
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x180102950
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1800f5070
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1800f5100
cmp rax, 0x3e8
ja 0x180102981
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x180102900
test rsi, rsi
je 0x18010295d
mov rcx, rsi
call fcn.180162cf4
test rbx, rbx
je 0x18010296a
mov rcx, rbx
call fcn.180162cf4
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x18010298e
mov rcx, rsi
call fcn.180162cf4
test rbx, rbx
je 0x18010299b
mov rcx, rbx
call fcn.180162cf4
mov eax, 1
jmp 0x18010296c
Function at 0x1801029b0
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1801d01d0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov edx, 1
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
mov ebp, 2
mov dword [rsp + 0x30], 1
mov ecx, ebp
mov rsi, r9
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180102a05
jmp 0x180102bb4
mov qword [rsp + 0x80], rbx
mov ecx, 0x7f000001
xor ebx, ebx
mov word [rsp + 0x38], bp
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_htonl]
lea r9, [rsp + 0x30]
mov word [rsp + 0x3a], bx
mov edx, 0xffff
mov dword [rsp + 0x3c], eax
lea r8d, [rbx + 4]
mov qword [rsi + 8], 0xffffffffffffffff
mov rcx, rdi
mov qword [rsi], 0xffffffffffffffff
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x180102b8b
lea r8d, [rbx + 0x10]
mov rcx, rdi
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x180102b8b
lea r8, [rsp + 0x34]
mov rcx, rdi
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x180102b8b
lea edx, [rbx + 1]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x180102b8b
xor r8d, r8d
lea edx, [rbx + 1]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x180102b8b
lea r8d, [rbx + 0x10]
mov rcx, rax
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x180102b8b
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x180102b8b
mov r9, rsi
lea r8, [0x18018c0b4]
lea edx, [rbx + 0xc]
lea rcx, [rsp + 0x48]
call fcn.1800ff170
lea rax, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x180102b25
mov rcx, qword [rsi]
lea rdx, [rsp + 0x48]
xor r9d, r9d
mov r8d, ebx
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
cmp rcx, rbx
jne 0x180102b8b
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x54]
xor r9d, r9d
lea r8d, [r9 + 0xc]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, rbx
jne 0x180102b8b
mov r8, rbx
lea rdx, [rsp + 0x54]
lea rcx, [rsp + 0x48]
call fcn.1801484f0
test eax, eax
jne 0x180102b8b
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x180102bac
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsi + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1801455c0
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180102c10
Capabilities:
Resolve dns

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor ebp, ebp
mov qword [r9], rbp
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x180102dae
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x180102d8e
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x180102c7e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x180102c70
inc rbx
jmp 0x180102c80
xor ebx, ebx
mov eax, dword [rdi + 4]
cmp eax, 2
jne 0x180102c8e
lea r14d, [rax + 0xe]
jmp 0x180102c9b
cmp eax, 0x17
jne 0x180102d34
lea r14d, [rax + 5]
cmp qword [rdi + 0x20], 0
je 0x180102d34
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x180102d34
cmp rax, r14
jb 0x180102d34
lea rcx, [rbx + 0x30]
add rcx, r14
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x180102d43
mov ecx, dword [rdi]
mov r8, r14
mov dword [rax], ecx
mov ecx, dword [rdi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [rsi + 0x30]
mov dword [rax + 0x10], r14d
xor eax, eax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x20], rcx
mov rdx, qword [rdi + 0x20]
call fcn.180147b70
test rbx, rbx
je 0x180102d21
mov rcx, qword [rsi + 0x20]
mov r8, rbx
add rcx, r14
mov qword [rsi + 0x18], rcx
mov rdx, qword [rdi + 0x18]
call fcn.180147b70
test rbp, rbp
cmove rbp, rsi
test r15, r15
je 0x180102d31
mov qword [r15 + 0x28], rsi
mov r15, rsi
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x180102c60
jmp 0x180102d49
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x58]
test rcx, rcx
je 0x180102d63
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x180102d89
test rbp, rbp
je 0x180102d85
nop dword [rax]
mov rbx, qword [rbp + 0x28]
mov rcx, rbp
call qword [fcn.180162cf4]
mov rbp, rbx
test rbx, rbx
jne 0x180102d70
xor ebp, ebp
jmp 0x180102d9d
test rbp, rbp
jne 0x180102d9d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rbp
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret