joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18008fbf0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov r10, rcx
movzx r9d, dl
movabs r11, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov eax, edx
imul r9, r11
sar eax, 8
movzx r8d, al
mov eax, edx
xor r9, r8
sar eax, 0x10
mov r8, qword [r10 + 0x30]
imul r9, r11
movzx ecx, al
mov eax, edx
xor r9, rcx
sar eax, 0x18
imul r9, r11
movzx ecx, al
xor r9, rcx
mov rcx, qword [r10 + 8]
imul r9, r11
and r8, r9
shl r8, 4
add r8, qword [r10 + 0x18]
mov r9, qword [r8 + 8]
mov rbx, r9
cmp r9, rcx
je 0x18008fc80
mov rax, qword [r8]
cmp edx, dword [r9 + 0x10]
je 0x18008fc82
nop
cmp rbx, rax
je 0x18008fc80
mov rbx, qword [rbx + 8]
cmp edx, dword [rbx + 0x10]
jne 0x18008fc70
jmp 0x18008fc82
xor ebx, ebx
test rbx, rbx
je 0x18008fcfe
mov rax, qword [r8]
mov qword [rsp + 0x30], rdi
cmp r9, rbx
jne 0x18008fcac
cmp rax, rbx
jne 0x18008fca2
mov qword [r8], rcx
mov qword [r8 + 8], rcx
jmp 0x18008fcb7
mov rcx, qword [rbx + 8]
mov qword [r8 + 8], rcx
jmp 0x18008fcb7
cmp rax, rbx
jne 0x18008fcb7
mov rax, qword [rbx]
mov qword [r8], rax
mov rcx, qword [rbx]
dec qword [r10 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x18008fcec
lea rcx, [rdi + 8]
call fcn.18008e950
mov edx, 0x38
mov rcx, rdi
call fcn.1800e66b8
mov edx, 0x20
mov rcx, rbx
call fcn.1800e66b8
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x1800917c0
Capabilities:
Hash data using fnv

Disassembly:
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
mov r10, rdx
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x180091845
mov ecx, dword [r10]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x180091847
nop word [rax + rax]
cmp rax, rdx
je 0x180091845
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180091830
test rax, rax
setne al
ret
xor eax, eax
test rax, rax
setne al
ret
Function at 0x180091c20
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movabs rax, 0x1b91cf24a34985c0
mov rsi, rcx
mov qword [rsp + 0x58], rax
movabs rcx, 0x3ad4ad17134c08b8
mov rax, qword [rsp + 0x58]
mov rdi, r8
mov qword [rsp + 0x20], rax
mov rbx, rdx
mov qword [rsp + 0x58], rcx
mov r8d, 0x811c9dc5
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
movabs rax, 0x1b91bb4ac620e9a3
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x58]
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x180091ccb
movsx eax, al
lea rcx, [rsp + 0x21]
xor eax, r8d
imul edx, eax, 0x1000193
call fcn.18001fa00
mov r8d, eax
mov r9, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.180091cf0
mov rsi, qword [rsp + 0x60]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180091fb0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
movabs rax, 0x69f4cd25a34d88c4
mov rsi, rcx
mov qword [rbp], rax
movabs rcx, 0xcd66cc55e27c617a
mov rax, qword [rbp]
mov rdi, r8
mov qword [rbp + 0x20], rax
mov rbx, rdx
movabs rax, 0x5fb0c372613569d4
mov r8d, 0x811c9dc5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0xe2995a7c5e5fdca7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0x1b91bb4ac620e9a3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x3ad4ad17134c08b8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xe2995a48682db9d5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovq rax, xmm1
vmovdqu ymmword [rbp + 0x20], ymm1
test al, al
jne 0x1800920a2
vzeroupper
jmp 0x1800920bd
movsx eax, al
lea rcx, [rbp + 0x21]
xor eax, r8d
imul edx, eax, 0x1000193
vzeroupper
call fcn.18001fa00
mov r8d, eax
mov r9, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.180091cf0
mov rax, rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1800920f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movabs rax, 0x68e8c82fa8458ad0
mov rdi, r8
mov qword [rsp + 0x58], rax
mov rbx, rdx
mov rax, qword [rsp + 0x58]
mov rsi, rcx
mov qword [rsp + 0x20], rax
mov r8d, 0x811c9dc5
movabs rax, 0x3ad4ad1713216dcc
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
movabs rax, 0x1b91bb4ac620e9a3
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
movabs rax, 0x3ad4ad17134c08b8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x1800921a5
movsx eax, al
lea rcx, [rsp + 0x21]
xor eax, r8d
imul edx, eax, 0x1000193
call fcn.18001fa00
mov r8d, eax
mov r9, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.180091cf0
mov rsi, qword [rsp + 0x60]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800921d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
movsx eax, byte [r8]
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov r9d, 0x811c9dc5
test al, al
jne 0x1800921fd
mov dword [rsp + 0x80], r9d
jmp 0x180092219
xor eax, r9d
lea rcx, [r8 + 1]
imul edx, eax, 0x1000193
call fcn.18001fa00
mov r9d, eax
mov dword [rsp + 0x80], eax
mov r8, qword [rsi + 0x30]
movabs rbp, 0x100000001b3
mov r11, qword [rsi + 8]
movabs rax, 0xcbf29ce484222325
mov ecx, r9d
movzx r10d, r9b
xor r10, rax
shr ecx, 8
movzx edx, cl
mov eax, r9d
shr eax, 0x10
movzx ecx, al
imul r10, rbp
mov eax, r9d
xor rdx, r10
shr rax, 0x18
imul rdx, rbp
mov dword [rsp + 0x90], r9d
xor rdx, rcx
mov rcx, r8
imul rdx, rbp
xor rdx, rax
imul rdx, rbp
and rcx, rdx
mov rdx, qword [rsi + 0x18]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, r11
je 0x1800922a8
mov rcx, qword [rdx + rcx*8]
cmp r9d, dword [rax + 0x10]
je 0x1800922aa
cmp rax, rcx
je 0x1800922a8
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
jne 0x180092297
jmp 0x1800922aa
xor eax, eax
test rax, rax
je 0x180092320
movzx eax, byte [rsp + 0x82]
movzx ecx, byte [rsp + 0x81]
xor rcx, r10
imul rcx, rbp
xor rcx, rax
movzx eax, byte [rsp + 0x83]
imul rcx, rbp
xor rcx, rax
imul rcx, rbp
and r8, rcx
add r8, r8
mov rax, qword [rdx + r8*8 + 8]
cmp rax, r11
je 0x1800923ae
mov rcx, qword [rdx + r8*8]
cmp r9d, dword [rax + 0x10]
je 0x180092313
nop word [rax + rax]
cmp rax, rcx
je 0x1800923ae
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
jne 0x180092300
add rax, 0x18
mov byte [rbx + 8], 1
mov qword [rbx], rax
jmp 0x18009239b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x180092397
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x40]
mov rcx, rax
mov rdx, rdi
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x180092397
mov rax, qword [rsp + 0x40]
lea r9, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x90]
mov eax, dword [rsp + 0x48]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov qword [rsp + 0x28], rax
call fcn.180091850
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.1800923c0
mov qword [rbx], rax
mov byte [rbx + 8], 1
jmp 0x18009239b
mov byte [rbx + 8], 0
mov rax, rbx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1800e490c
int3
Function at 0x1800923c0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
mov r10, rdx
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x180092447
mov ecx, dword [r10]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x18009243e
nop
cmp rax, rdx
je 0x180092447
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180092430
add rax, 0x18
add rsp, 0x28
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1800e490c
int3
Function at 0x18009bec0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x18009bfa2
call fcn.1800b58b0
test al, al
jne 0x18009bfa2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x18009bef2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.1800c0630
test rax, rax
je 0x18009bf37
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.1800c0630
mov rsi, rax
test rax, rax
je 0x18009bf37
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x18009bf6b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1800bed60
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x18009bf50
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800a3aa0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, qword [rdx + 0x10]
mov rbx, rcx
mov rax, qword [rdx + 0x18]
lea rcx, str.SSL_PROXY
cmp qword [rdx], rcx
jne 0x1800a3adf
mov rdi, qword [rax + 0xd8]
mov rsi, qword [rax + 0xe0]
mov ebp, dword [rax + 0xe8]
jmp 0x1800a3aed
mov rdi, qword [rax + 0x50]
mov rsi, qword [rax + 0x58]
mov ebp, dword [rax + 0x654]
mov qword [rsp + 0x50], r15
test rdi, rdi
je 0x1800a3cbb
mov r9, qword [rbx]
test r9, r9
je 0x1800a3b2b
mov r8, r9
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800a3b23
inc rax
test ecx, ecx
jne 0x1800a3b10
test edx, edx
je 0x1800a3cbb
mov rcx, qword [rbx + 8]
cmp rcx, r9
je 0x1800a3b3a
call qword [fcn.1800ec4c0]
mov rcx, qword [rbx + 0x10]
call qword [fcn.1800ec4c0]
mov rcx, qword [rbx]
call qword [fcn.1800ec4c0]
xor r15d, r15d
mov rcx, rdi
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
call qword [case.0x18009d6bd.2]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x1800a3bae
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800a3b82
call qword [fcn.1800ec4c0]
mov rcx, qword [rbx + 0x10]
call qword [fcn.1800ec4c0]
mov rcx, qword [rbx]
call qword [fcn.1800ec4c0]
mov eax, 0x1b
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
jmp 0x1800a3cc1
test rsi, rsi
je 0x1800a3bf2
mov r8, rsi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rdi]
movzx eax, byte [rdi + r8]
sub edx, eax
jne 0x1800a3bd3
inc rdi
test eax, eax
jne 0x1800a3bc0
test edx, edx
je 0x1800a3bf2
mov rcx, rsi
call qword [case.0x18009d6bd.2]
mov qword [rbx + 8], rax
test rax, rax
jne 0x1800a3bf6
cmp qword [rbx], r15
je 0x1800a3b82
xor ecx, ecx
jmp 0x1800a3b7c
mov qword [rbx + 8], rcx
mov rdi, qword [rbx]
mov qword [rbx + 0x10], r15
test rdi, rdi
je 0x1800a3c4a
cmp byte [rdi], r15b
je 0x1800a3c4a
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1800a3c2a
mov dword [rbx + 0x18], 1
jmp 0x1800a3cbb
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1800a3c4a
mov dword [rbx + 0x18], 2
jmp 0x1800a3cbb
mov rax, qword [rbx]
mov dword [rbx + 0x18], r15d
cmp byte [rax], r15b
je 0x1800a3cbb
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x1800a3c60
test rdi, rdi
je 0x1800a3c78
cmp byte [rax + rdi - 1], 0x2e
jne 0x1800a3c78
dec rdi
cmp rdi, 0xffff
jae 0x1800a3cbb
lea rdx, [rdi + 1]
mov ecx, 1
call qword [fcn.1800ec4b0]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1800a3ca5
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx]
jmp 0x1800a3b7a
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rax
call fcn.1800bedb0
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], r15b
mov dword [r14 + 0x50], ebp
xor eax, eax
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1800b14b0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x180139ea8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1800b14da
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, [0x180139ec8]
mov rcx, rbx
mov r14, rax
call fcn.180100a30
test rax, rax
je 0x1800b153b
mov rcx, rbx
test r14, r14
je 0x1800b1528
xor edx, edx
mov r8d, 8
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test r14, r14
je 0x1800b1572
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800b1572
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
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 0x1800b163a
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1800b15a0
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.1800ec4d0]
mov rsi, rax
test rax, rax
je 0x1800b162c
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800b162c
mov rax, rdi
cmp byte [rsi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1800b15d0
mov word [rax + rsi], 0x5c
inc rdi
cmp byte [rsi + rdi], bpl
jne 0x1800b15e1
mov rax, rsi
sub rax, rbx
add rdi, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdi + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1800b1600
mov rcx, rsi
test r14, r14
je 0x1800b1623
xor edx, edx
mov r8d, 8
call r14
jmp 0x1800b1629
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
Function at 0x1800b58b0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea r8, [rsp + 0x48]
mov rdx, rcx
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1800b58ee
lea r8, [rsp + 0x20]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
setg al
add rsp, 0x30
pop rbx
ret
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x1800b66a0
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x1800b66b5
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.1800b60d0

Function at 0x1800b69c0
Capabilities:
Convert ip address from string

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
sub rsp, 0xa0
xor edi, edi
mov r14, rdx
mov rbp, rcx
cmp byte [rcx + 0xa2f], dil
je 0x1800b6bd0
cmp byte [rdx + 0x18], dil
mov qword [rax + 0x18], rsi
lea rsi, [rdx + 0x18]
je 0x1800b6bc8
lea r8, [rax + 8]
mov rdx, rsi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1800b6bc8
lea r8, [rsp + 0x20]
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1800b6bc8
cmp byte [rsi], dil
lea rdx, str.Host__s:_d_was_resolved.
mov r9d, dword [r14 + 0x14]
mov rcx, rbp
mov qword [rsp + 0xc8], rbx
mov rbx, qword [r14]
mov qword [rsp + 0xd8], r15
lea r15, str._none_
mov r8, r15
cmovne r8, rsi
call fcn.1800aa960
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.18009c500
mov edx, 0x400
lea rcx, [rsp + 0x80]
call fcn.18009c500
test rbx, rbx
je 0x1800b6b2c
mov r14d, 0x20
mov ecx, dword [rbx + 4]
cmp ecx, 0x17
je 0x1800b6aa2
cmp ecx, 2
jne 0x1800b6b1f
xor eax, eax
mov byte [rsp + 0x30], 0
cmp ecx, 2
lea rsi, [rsp + 0x60]
cmovne rax, r14
add rsi, rax
cmp ecx, 2
je 0x1800b6acc
cmp ecx, 0x17
jne 0x1800b6ae4
mov rdx, qword [rbx + 0x20]
add rdx, 8
jmp 0x1800b6ad4
mov rdx, qword [rbx + 0x20]
add rdx, 4
mov r9d, 0x2e
lea r8, [rsp + 0x30]
call sub.WS2_32.dll_inet_ntop
mov rcx, rsi
call fcn.18009c520
test rax, rax
je 0x1800b6b08
mov r8d, 2
lea rdx, [0x18012be70]
mov rcx, rsi
call fcn.18009c4c0
mov edi, eax
test edi, edi
jne 0x1800b6b4d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.18009c460
mov edi, eax
test eax, eax
jne 0x1800b6b4d
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800b6a91
lea rcx, [rsp + 0x80]
call fcn.18009c520
test rax, rax
je 0x1800b6b5e
lea rcx, [rsp + 0x80]
call fcn.18009c530
jmp 0x1800b6b61
lea rdx, str.too_many_IP__cant_show
mov rcx, rbp
call fcn.1800aa960
jmp 0x1800b6ba1
mov rax, r15
mov r8, rax
lea rdx, str.IPv6:__s
mov rcx, rbp
call fcn.1800aa960
lea rcx, [rsp + 0x60]
call fcn.18009c520
test rax, rax
je 0x1800b6b8f
lea rcx, [rsp + 0x60]
call fcn.18009c530
mov r15, rax
mov r8, r15
lea rdx, str.IPv4:__s
mov rcx, rbp
call fcn.1800aa960
lea rcx, [rsp + 0x60]
call fcn.18009c4d0
lea rcx, [rsp + 0x80]
call fcn.18009c4d0
mov r15, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
add rsp, 0xa0
pop r14
pop rdi
pop rbp
ret
Function at 0x1800c0dd0
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.18009c2b0
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x18009d6bd.2
mov rcx, rdi
mov rsi, rax
call case.0x18009d6bd.2
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1800c0e80
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.18009c2b0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.18009c340
cmp rax, 0x3e8
ja 0x1800c0eb1
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 0x1800c0e30
test rsi, rsi
je 0x1800c0e8d
mov rcx, rsi
call fcn.1800ec4c0
test rbx, rbx
je 0x1800c0e9a
mov rcx, rbx
call fcn.1800ec4c0
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 0x1800c0ebe
mov rcx, rsi
call fcn.1800ec4c0
test rbx, rbx
je 0x1800c0ecb
mov rcx, rbx
call fcn.1800ec4c0
mov eax, 1
jmp 0x1800c0e9c
Function at 0x1800c1410
Capabilities:
Resolve dns

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x1800c15ae
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1800c158e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1800c147e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800c1470
inc rbx
jmp 0x1800c1480
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1800c148f
mov ebp, reloc.WS2_32.dll_recv
jmp 0x1800c149d
cmp eax, 0x17
jne 0x1800c1535
mov ebp, 0x1c
cmp qword [rsi + 0x20], 0
je 0x1800c1535
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1800c1535
cmp rax, rbp
jb 0x1800c1535
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [fcn.1800ec4d0]
mov r14, rax
test rax, rax
je 0x1800c1544
mov ecx, dword [rsi]
mov r8, rbp
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.18011f220
test rbx, rbx
je 0x1800c1522
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.18011f220
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x1800c1532
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1800c1460
jmp 0x1800c154a
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x1800c1564
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x1800c1589
test rdi, rdi
je 0x1800c1585
nop
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.1800ec4c0]
mov rdi, rbx
test rbx, rbx
jne 0x1800c1570
xor edi, edi
jmp 0x1800c159d
test rdi, rdi
jne 0x1800c159d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
ret

Function at 0x1800c17e0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, edx
lea r8, [rsp + 0x50]
mov rdx, rcx
mov rbx, rcx
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1800c1826
mov r9d, edi
lea rdx, [rsp + 0x50]
mov r8, rbx
mov ecx, 2
call fcn.1800c15c0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea r8, [rsp + 0x20]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1800c185d
mov r9d, edi
lea rdx, [rsp + 0x20]
mov r8, rbx
mov ecx, reloc.WS2_32.dll_socket
call fcn.1800c15c0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret