joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18008f1f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x18008f215
cvtsi2ss xmm0, rdx
jmp 0x18008f22a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1801e2f64
movss xmm1, dword [0x18024e4e8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18008f258
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18008f258
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x18008f28a
cmp rbx, 0x200
jae 0x18008f287
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x18008f28a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800891c0

Function at 0x18008f2a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x18034ecc0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x18035b320]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x18008f2e8
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x18008f2dc
mov rax, qword [rax + 0x10]
jmp 0x18008f2e2
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18008f2d0
cmp byte [rcx + 0x19], 0
jne 0x18008f3c4
cmp dword [rcx + 0x20], 4
jg 0x18008f3c4
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x18008f311
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x18008f343
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x18008f330
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18008e360
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18008f37e
cmp rcx, qword [rbx + 8]
je 0x18008f37e
cmp qword [rbx + 0x10], 1
jne 0x18008f382
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180167230
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x18008f368
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.18008f3f0
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.18008e210
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.18008f0f0
lea rdx, [0x180324b98]
lea rcx, [rsp + 0x20]
call fcn.1801a4534
nop
lea rcx, str.invalid_map_K__T__key
call fcn.1801692ac
int3
Function at 0x180096c50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [rcx + 0x28]
nop
cmp rax, qword [rcx + 0x10]
jb 0x180096c7f
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov ecx, reloc.WS2_32.dll_recv
call fcn.1801670d8
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180096cdb
mov ecx, 8
call fcn.1801670d8
test rax, rax
je 0x180096ca8
mov qword [rax], rdi
mov qword [rsp + 0x48], rax
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x180095e40]
xor edx, edx
xor ecx, ecx
call fcn.1801e5364
mov qword [rbx], rax
test rax, rax
je 0x180096cfa
jmp 0x180096cdd
xor ebx, ebx
mov rdx, rbx
mov rcx, rdi
call fcn.180096a70
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [rsi], 0
mov ecx, 6
call fcn.180177bc0
int3

Function at 0x180096ef0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
xor r15d, r15d
mov eax, dword [rcx + 0x20]
nop
test eax, eax
je 0x180096f24
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, 1
xchg dword [rcx + 0x20], eax
cmp rdx, qword [rcx + 8]
cmovb rdx, qword [rcx + 8]
mov rbp, qword [rcx + 0x10]
cmp rdx, rbp
cmovbe rbp, rdx
mov rsi, r15
test rbp, rbp
je 0x180096fcf
nop dword [rax]
mov rax, qword [rdi + 0x28]
nop
cmp rax, qword [rdi + 0x10]
jae 0x180096fc7
mov ecx, reloc.WS2_32.dll_recv
call fcn.1801670d8
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180096fb9
mov ecx, 8
call fcn.1801670d8
test rax, rax
je 0x180096f86
mov qword [rax], rdi
jmp 0x180096f89
mov rax, r15
mov qword [rsp + 0x70], rax
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x180095e40]
xor edx, edx
xor ecx, ecx
call fcn.1801e5364
mov qword [rbx], rax
test rax, rax
je 0x180096fe2
jmp 0x180096fbc
mov rbx, r15
mov rdx, rbx
mov rcx, rdi
call fcn.180096a70
inc rsi
cmp rsi, rbp
jb 0x180096f50
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [r14], r15d
mov ecx, 6
call fcn.180177bc0
int3
Function at 0x18009ede0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov edx, 0x2b
mov rsi, r8
mov rbp, rcx
test r8, r8
je 0x18009eeac
xor r14d, r14d
nop dword [rax]
mov edi, 4
lea rdx, [rsp + 0x50]
cmp rsi, rdi
mov r8d, 4
mov rcx, rbp
cmovb rdi, rsi
call fcn.1800a2fc0
mov edx, eax
cmp eax, 4
jne 0x18009ee60
cmp byte [0x18035b554], r14b
jne 0x18009ee6a
mov r9d, 2
mov dword [rsp + 0x50], r14d
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb edx, edx
and edx, 2
test edx, edx
jne 0x18009eeac
mov eax, dword [rsp + 0x50]
jmp 0x18009ee89
imul eax, dword [0x18035b550], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x18035b550], eax
ror eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x18009eea3
sub rsi, rdi
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x18009ee91
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x18009ee10
mov rbx, qword [rsp + 0x40]
mov eax, edx
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x18009eed0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
sub rdi, 1
je 0x18009ef98
xor ebp, ebp
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800a2fc0
cmp eax, 4
jne 0x18009ef41
cmp byte [0x18035b554], bpl
jne 0x18009ef4b
mov r9d, 2
mov dword [rsp + 0x50], ebp
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
test eax, eax
jne 0x18009ef9d
mov ecx, dword [rsp + 0x50]
jmp 0x18009ef68
imul ecx, dword [0x18035b550], 0x41c64e6d
add ecx, 0x3039
mov dword [0x18035b550], ecx
ror ecx, 0x10
mov dword [rsp + 0x50], ecx
cmp ecx, 0xfffffffc
jae 0x18009ef00
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3e
sub ecx, eax
movzx eax, byte [rcx + r14]
mov byte [rsi], al
inc rsi
sub rdi, 1
jne 0x18009ef00
mov byte [rsi], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1800a55c0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1800a56a2
call fcn.1800bc850
test al, al
jne 0x1800a56a2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1800a55f2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.1800bdbd0
test rax, rax
je 0x1800a5637
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.1800bdbd0
mov rsi, rax
test rax, rax
je 0x1800a5637
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 0x1800a566b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.18009e7e0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1800a5650
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 0x1800b7730
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x180252818]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1800b775a
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, [0x180252838]
mov rcx, rbx
mov r14, rax
call fcn.1801f8518
test rax, rax
je 0x1800b77bb
mov rcx, rbx
test r14, r14
je 0x1800b77a8
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 0x1800b77f2
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800b77f2
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 0x1800b78ba
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1800b7820
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.1801e2fec]
mov rsi, rax
test rax, rax
je 0x1800b78ac
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800b78ac
mov rax, rdi
cmp byte [rsi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1800b7850
mov word [rax + rsi], 0x5c
inc rdi
cmp byte [rsi + rdi], bpl
jne 0x1800b7861
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 0x1800b7880
mov rcx, rsi
test r14, r14
je 0x1800b78a3
xor edx, edx
mov r8d, 8
call r14
jmp 0x1800b78a9
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rsi
call qword [fcn.1801b3d18]
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 0x1800b7920
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x18034ecc0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x1800b7986
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1800b7969
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1800b7963
shr ax, 8
cmp al, 2
je 0x1800b7986
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180167230
add rsp, 0x1e8
ret
call fcn.1800d5ad0
test eax, eax
jne 0x1800b7b99
mov qword [rsp + 0x200], rsi
lea rcx, [0x180252818]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1800b79c6
mov qword [0x18035b648], rsi
jmp 0x1800b7b54
mov qword [rsp + 0x1f0], rbx
lea rdx, str.LoadLibraryExA
mov rcx, rdi
mov qword [rsp + 0x1f8], rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rbx, str.iphlpapi.dll
mov rbp, rax
mov rcx, rbx
lea rdx, [0x180252838]
call fcn.1801f8518
test rax, rax
je 0x1800b7a2c
mov rcx, rbx
test rbp, rbp
je 0x1800b7a1e
xor edx, edx
mov r8d, 8
call rbp
mov rsi, rax
jmp 0x1800b7b1c
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x1800b7b1c
test rbp, rbp
je 0x1800b7a5b
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800b7a5b
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1800b7b1c
xor edx, edx
mov qword [rsp + 0x1e0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r14d, eax
test eax, eax
je 0x1800b7b14
lea ecx, [rax + 1]
add rcx, 0xc
call qword [fcn.1801e2fec]
mov rdi, rax
test rax, rax
je 0x1800b7b0b
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800b7b0b
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop word [rax + rax]
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x1800b7ab0
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x1800b7ac1
mov rax, rdi
sub rax, rbx
add rcx, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1800b7ae0
mov rcx, rdi
test rbp, rbp
je 0x1800b7b02
xor edx, edx
mov r8d, 8
call rbp
jmp 0x1800b7b08
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1801b3d18]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x18035b648], rsi
test rsi, rsi
je 0x1800b7b54
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800b7b54
mov qword [0x18035b640], rax
mov r9d, 2
mov dword [rsp + 0x20], 3
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1800d5680
test al, al
lea rcx, [0x18035ded0]
setne byte [0x18035dec8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rdi, qword [rsp + 0x208]
xor eax, eax
mov rsi, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180167230
add rsp, 0x1e8
ret
Function at 0x1800baa70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [fcn.1801e2dcc]
mov rdi, rax
test rax, rax
je 0x1800baaed
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x1800bab18
cmp ebx, esi
je 0x1800bab18
cmp ebx, 0x8000
ja 0x1800bab18
cmp ebx, esi
jb 0x1800bab13
mov edx, ebx
mov rcx, rdi
call qword [fcn.1801e2dcc]
mov rdi, rax
test rax, rax
jne 0x1800baab0
mov rcx, rbp
call qword [fcn.1801b3d18]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x1800baaf8
mov rcx, rdi
jmp 0x1800baaf0

Function at 0x1800bd640
Capabilities:
Convert ip address from string

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

Function at 0x1800be3b0
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.1800b12d0
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x1800a7930.1
mov rcx, rdi
mov rsi, rax
call case.0x1800a7930.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1800be460
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1800b12d0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1800b1360
cmp rax, 0x3e8
ja 0x1800be491
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 0x1800be410
test rsi, rsi
je 0x1800be46d
mov rcx, rsi
call fcn.1801b3d18
test rbx, rbx
je 0x1800be47a
mov rcx, rbx
call fcn.1801b3d18
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 0x1800be49e
mov rcx, rsi
call fcn.1801b3d18
test rbx, rbx
je 0x1800be4ab
mov rcx, rbx
call fcn.1801b3d18
mov eax, 1
jmp 0x1800be47c
Function at 0x1800c6750
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x18034ecc0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp r8, 4
jb 0x1800c68ee
inc rsi
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, rsi
sub rdi, 2
call fcn.1801eac60
cmp rdi, rax
je 0x1800c685d
cmp byte [rsi + rax], 0x25
lea r14, [rsi + rax]
mov rdi, rax
jne 0x1800c68ee
mov r8d, 2
lea rdx, [0x1802578c0]
lea rcx, [r14 + 1]
xor ebp, ebp
lea rbx, [r14 + 1]
call fcn.1801e9350
test eax, eax
jne 0x1800c67e4
movzx eax, byte [r14 + 3]
lea rcx, [r14 + 3]
test al, al
je 0x1800c67e4
cmp al, 0x5d
cmovne rbx, rcx
movzx edx, byte [rbx]
test dl, dl
je 0x1800c68ee
mov rax, rbp
movzx ecx, dl
cmp dl, 0x5d
je 0x1800c6816
cmp rax, 0xf
jge 0x1800c6816
inc rbx
mov byte [rsp + rax + 0x20], cl
inc ebp
inc rax
movzx ecx, byte [rbx]
movzx edx, cl
test cl, cl
jne 0x1800c67f5
test ebp, ebp
je 0x1800c68ee
cmp byte [rbx], 0x5d
jne 0x1800c68ee
movsxd rax, ebp
cmp rax, 0x10
jae 0x1800c690f
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x1800a7930.1]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x1800c6857
mov eax, 7
jmp 0x1800c68f3
mov word [r14], 0x5d
lea r8, [rsp + 0x20]
mov byte [rdi + rsi], 0
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1800c68ee
mov r9d, 0x2e
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_socket
call sub.WS2_32.dll_inet_ntop
test rax, rax
je 0x1800c68e6
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x1800c68a4
cmp rdx, rdi
jae 0x1800c68e6
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rcx, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1800c68d0
mov rdi, rdx
mov byte [rdx + rsi + 1], al
mov byte [rdi + rsi], 0x5d
xor eax, eax
jmp 0x1800c68f3
mov eax, socket
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180167230
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180167e2c
int3
Function at 0x1800c7960
Capabilities:
Resolve dns

Disassembly:
push rbp
push rdi
push r12
push r13
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor ebp, ebp
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x1800c7aff
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1800c7adf
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1800c79ce
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800c79c0
inc rbx
jmp 0x1800c79d0
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1800c79e0
mov r15d, reloc.WS2_32.dll_recv
jmp 0x1800c79ef
cmp eax, 0x17
jne 0x1800c7a88
mov r15d, 0x1c
cmp qword [rsi + 0x20], 0
je 0x1800c7a88
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1800c7a88
cmp rax, r15
jb 0x1800c7a88
lea rcx, [rbx + 0x30]
add rcx, r15
call qword [fcn.1801e2fec]
mov r14, rax
test rax, rax
je 0x1800c7a97
mov ecx, dword [rsi]
mov r8, r15
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], r15d
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.180227d00
test rbx, rbx
je 0x1800c7a75
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, r15
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.180227d00
test rdi, rdi
cmove rdi, r14
test rbp, rbp
je 0x1800c7a85
mov qword [rbp + 0x28], r14
mov rbp, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1800c79b0
jmp 0x1800c7a9d
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x60]
test rcx, rcx
je 0x1800c7ab7
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x1800c7ada
test rdi, rdi
je 0x1800c7ad6
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.1801b3d18]
mov rdi, rbx
test rbx, rbx
jne 0x1800c7ac1
xor edi, edi
jmp 0x1800c7aee
test rdi, rdi
jne 0x1800c7aee
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x58]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x1800ce370
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call fcn.1801e5364
test rax, rax
je 0x1800ce3a6
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
add rsp, 0x30
pop rbx
ret
Function at 0x1800cf3e0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov rdi, rdx
mov r15, rcx
lea rdx, str.WWW_Authenticate:
mov r8d, send
mov rcx, r9
mov rbx, r9
call fcn.18009e980
test eax, eax
je 0x1800cf42b
mov ebp, dword [rdi + 0x150]
cmp ebp, 0x191
je 0x1800cf452
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rbx
call fcn.18009e980
test eax, eax
je 0x1800cf4af
mov ebp, dword [rdi + 0x150]
cmp ebp, 0x197
jne 0x1800cf4af
mov rcx, rbx
call fcn.1800bfcd0
mov rsi, rax
test rax, rax
jne 0x1800cf46c
mov eax, 0x1b
jmp 0x1800cf674
mov r9, rbx
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, r15
mov rcx, rdi
call fcn.1800b4b20
cmp ebp, 0x197
mov r8, rsi
mov rcx, rdi
sete dl
call fcn.1800c1dd0
mov rcx, rsi
mov ebx, eax
call qword [fcn.1801b3d18]
test ebx, ebx
je 0x1800cf672
mov eax, ebx
jmp 0x1800cf674
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Content_Length:
mov rcx, rbx
call fcn.18009e980
test eax, eax
je 0x1800cf50c
mov r8d, dword [rdi + 0x150]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1800cf4ef
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rdi
call fcn.1800b4a80
jmp 0x1800cf672
lea r9, [r14 + 0xc8]
xor edx, edx
lea rcx, [rbx + 0xf]
mov r8d, 0xa
call fcn.1800bda30
jmp 0x1800cf672
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, recv
lea rdx, str.Connection:
mov rcx, rbx
call fcn.1800bfbf0
test al, al
jne 0x1800cf66a
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rbx
call fcn.18009e980
test eax, eax
je 0x1800cf5ca
mov r8d, dword [rdi + 0x150]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1800cf579
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, rdi
call fcn.1800b4a80
jmp 0x1800cf672
lea r9, str.chunked
mov qword [rsp + 0x20], 7
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rbx
call fcn.1800bfbf0
test al, al
je 0x1800cf672
lea rdx, str.CONNECT_responded_chunked
mov rcx, rdi
call fcn.1800b4a80
mov rcx, rdi
mov byte [r14 + 0xd4], 1
call fcn.1800cac40
jmp 0x1800cf672
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, send
lea rdx, str.Proxy_Connection:
mov rcx, rbx
call fcn.1800bfbf0
test al, al
jne 0x1800cf66a
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, rbx
call fcn.1801e9350
test eax, eax
jne 0x1800cf672
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 1
ja 0x1800cf672
cmp byte [rbx + 8], 0x20
jne 0x1800cf672
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1800cf672
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1800cf672
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1800cf672
movzx eax, byte [rbx + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x1800cf672
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rdi + 0x150], ecx
mov dword [rdi + 0x12d4], ecx
jmp 0x1800cf672
mov byte [r14 + 0xd5], 1
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret