joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007a510
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x180352cc0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
mov qword [rbp - 0x39], rcx
xor ebx, ebx
mov dword [rbp - 0x55], ebx
lea rcx, [rbp - 0x29]
call fcn.18007a7d0
nop
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.180078d30
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x18007a596
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007a591
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007a68b
call fcn.1801675d4
movdqa xmm0, xmmword [0x18024bf60]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov dword [rbp - 0x59], ebx
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rcx, qword [rbp - 9]
lea rdx, [rbp - 0x59]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x18007a691
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov edx, r14d
mov rcx, rsi
call fcn.180079ea0
mov rcx, qword [rsi]
lea rbx, [rcx + r14]
mov r8d, r14d
xor edx, edx
call fcn.18022b390
mov qword [rsi + 8], rbx
mov dword [rbp - 0x55], 1
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rcx, qword [rbp - 9]
mov r9, qword [rsi]
mov r8d, r14d
mov edx, dword [rbp - 0x59]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x18007a6cf
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x18007a65e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007a659
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007a685
call fcn.1801675d4
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1801676f0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1801b6a18
nop
call fcn.1801b6a18
int3
lea rcx, [rbp + 0x17]
call fcn.18007a710
nop
lea rcx, str.Failed_to_GetFileVersionInfoSize._Error:_
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], 0x2b
mov r8, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x51]
call fcn.180077460
lea rdx, [0x180327f08]
lea rcx, [rbp - 0x51]
call fcn.1801a7510
nop
lea rcx, [rbp + 0x17]
call fcn.18007a710
nop
lea rcx, str.Failed_to_GetFileVersionInfo._Error:_
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], 0x27
mov r8, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x51]
call fcn.180077460
lea rdx, [0x180327f08]
lea rcx, [rbp - 0x51]
call fcn.1801a7510
int3
Function at 0x18008f6c0
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 0x18008f6e5
cvtsi2ss xmm0, rdx
jmp 0x18008f6fa
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1801e5f44
movss xmm1, dword [0x1802515a8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18008f728
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18008f728
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 0x18008f75a
cmp rbx, 0x200
jae 0x18008f757
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x18008f75a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800896a0

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

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x180352cc0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x18035f320]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x18008f7b8
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x18008f7ac
mov rax, qword [rax + 0x10]
jmp 0x18008f7b2
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18008f7a0
cmp byte [rcx + 0x19], 0
jne 0x18008f894
cmp dword [rcx + 0x20], 4
jg 0x18008f894
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x18008f7e1
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x18008f813
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x18008f800
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18008e830
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18008f84e
cmp rcx, qword [rbx + 8]
je 0x18008f84e
cmp qword [rbx + 0x10], 1
jne 0x18008f852
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1801676f0
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x18008f838
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.18008f8c0
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.18008e6e0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.18008f5c0
lea rdx, [0x1803280a0]
lea rcx, [rsp + 0x20]
call fcn.1801a7510
nop
lea rcx, str.invalid_map_K__T__key
call fcn.18016976c
int3
Function at 0x1800970f0
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 0x18009711f
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.180167598
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18009717b
mov ecx, 8
call fcn.180167598
test rax, rax
je 0x180097148
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, [0x1800963a0]
xor edx, edx
xor ecx, ecx
call fcn.1801e8344
mov qword [rbx], rax
test rax, rax
je 0x18009719a
jmp 0x18009717d
xor ebx, ebx
mov rdx, rbx
mov rcx, rdi
call fcn.180096f10
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.18017aae4
int3

Function at 0x180097390
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 0x1800973c4
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 0x18009746f
nop dword [rax]
mov rax, qword [rdi + 0x28]
nop
cmp rax, qword [rdi + 0x10]
jae 0x180097467
mov ecx, reloc.WS2_32.dll_recv
call fcn.180167598
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180097459
mov ecx, 8
call fcn.180167598
test rax, rax
je 0x180097426
mov qword [rax], rdi
jmp 0x180097429
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, [0x1800963a0]
xor edx, edx
xor ecx, ecx
call fcn.1801e8344
mov qword [rbx], rax
test rax, rax
je 0x180097482
jmp 0x18009745c
mov rbx, r15
mov rdx, rbx
mov rcx, rdi
call fcn.180096f10
inc rsi
cmp rsi, rbp
jb 0x1800973f0
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.18017aae4
int3
Function at 0x18009f280
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 0x18009f34c
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.1800a3460
mov edx, eax
cmp eax, 4
jne 0x18009f300
cmp byte [0x18035f554], r14b
jne 0x18009f30a
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 0x18009f34c
mov eax, dword [rsp + 0x50]
jmp 0x18009f329
imul eax, dword [0x18035f550], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x18035f550], eax
ror eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x18009f343
sub rsi, rdi
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x18009f331
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x18009f2b0
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 0x18009f370
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 0x18009f438
xor ebp, ebp
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800a3460
cmp eax, 4
jne 0x18009f3e1
cmp byte [0x18035f554], bpl
jne 0x18009f3eb
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 0x18009f43d
mov ecx, dword [rsp + 0x50]
jmp 0x18009f408
imul ecx, dword [0x18035f550], 0x41c64e6d
add ecx, 0x3039
mov dword [0x18035f550], ecx
ror ecx, 0x10
mov dword [rsp + 0x50], ecx
cmp ecx, 0xfffffffc
jae 0x18009f3a0
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 0x18009f3a0
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 0x1800a5a60
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1800a5b42
call fcn.1800bccf0
test al, al
jne 0x1800a5b42
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1800a5a92
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.1800be070
test rax, rax
je 0x1800a5ad7
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.1800be070
mov rsi, rax
test rax, rax
je 0x1800a5ad7
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 0x1800a5b0b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.18009ec80
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1800a5af0
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 0x1800b7bd0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x1802558c8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1800b7bfa
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, [0x1802558e8]
mov rcx, rbx
mov r14, rax
call fcn.1801fb4f8
test rax, rax
je 0x1800b7c5b
mov rcx, rbx
test r14, r14
je 0x1800b7c48
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 0x1800b7c92
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800b7c92
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 0x1800b7d5a
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1800b7cc0
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.1801e5fcc]
mov rsi, rax
test rax, rax
je 0x1800b7d4c
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800b7d4c
mov rax, rdi
cmp byte [rsi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1800b7cf0
mov word [rax + rsi], 0x5c
inc rdi
cmp byte [rsi + rdi], bpl
jne 0x1800b7d01
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 0x1800b7d20
mov rcx, rsi
test r14, r14
je 0x1800b7d43
xor edx, edx
mov r8d, 8
call r14
jmp 0x1800b7d49
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rsi
call qword [fcn.1801b6cf8]
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 0x1800b7dc0
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x180352cc0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x1800b7e26
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1800b7e09
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1800b7e03
shr ax, 8
cmp al, 2
je 0x1800b7e26
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1801676f0
add rsp, 0x1e8
ret
call fcn.1800d5f70
test eax, eax
jne 0x1800b8039
mov qword [rsp + 0x200], rsi
lea rcx, [0x1802558c8]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1800b7e66
mov qword [0x18035f648], rsi
jmp 0x1800b7ff4
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, [0x1802558e8]
call fcn.1801fb4f8
test rax, rax
je 0x1800b7ecc
mov rcx, rbx
test rbp, rbp
je 0x1800b7ebe
xor edx, edx
mov r8d, 8
call rbp
mov rsi, rax
jmp 0x1800b7fbc
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x1800b7fbc
test rbp, rbp
je 0x1800b7efb
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800b7efb
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1800b7fbc
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 0x1800b7fb4
lea ecx, [rax + 1]
add rcx, 0xc
call qword [fcn.1801e5fcc]
mov rdi, rax
test rax, rax
je 0x1800b7fab
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800b7fab
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop word [rax + rax]
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x1800b7f50
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x1800b7f61
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 0x1800b7f80
mov rcx, rdi
test rbp, rbp
je 0x1800b7fa2
xor edx, edx
mov r8d, 8
call rbp
jmp 0x1800b7fa8
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1801b6cf8]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x18035f648], rsi
test rsi, rsi
je 0x1800b7ff4
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800b7ff4
mov qword [0x18035f640], rax
mov r9d, 2
mov dword [rsp + 0x20], 3
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1800d5b20
test al, al
lea rcx, [0x180361ed0]
setne byte [0x180361ec8]
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.1801676f0
add rsp, 0x1e8
ret
Function at 0x1800baf10
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.1801e5dac]
mov rdi, rax
test rax, rax
je 0x1800baf8d
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 0x1800bafb8
cmp ebx, esi
je 0x1800bafb8
cmp ebx, 0x8000
ja 0x1800bafb8
cmp ebx, esi
jb 0x1800bafb3
mov edx, ebx
mov rcx, rdi
call qword [fcn.1801e5dac]
mov rdi, rax
test rax, rax
jne 0x1800baf50
mov rcx, rbp
call qword [fcn.1801b6cf8]
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 0x1800baf98
mov rcx, rdi
jmp 0x1800baf90

Function at 0x1800bdae0
Capabilities:
Convert ip address from string

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

Function at 0x1800be850
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.1800b1770
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x1800a7dd0.1
mov rcx, rdi
mov rsi, rax
call case.0x1800a7dd0.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1800be900
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1800b1770
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1800b1800
cmp rax, 0x3e8
ja 0x1800be931
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 0x1800be8b0
test rsi, rsi
je 0x1800be90d
mov rcx, rsi
call fcn.1801b6cf8
test rbx, rbx
je 0x1800be91a
mov rcx, rbx
call fcn.1801b6cf8
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 0x1800be93e
mov rcx, rsi
call fcn.1801b6cf8
test rbx, rbx
je 0x1800be94b
mov rcx, rbx
call fcn.1801b6cf8
mov eax, 1
jmp 0x1800be91c
Function at 0x1800c6bf0
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 [0x180352cc0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp r8, 4
jb 0x1800c6d8e
inc rsi
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, rsi
sub rdi, 2
call fcn.1801edc40
cmp rdi, rax
je 0x1800c6cfd
cmp byte [rsi + rax], 0x25
lea r14, [rsi + rax]
mov rdi, rax
jne 0x1800c6d8e
mov r8d, 2
lea rdx, [0x18025a970]
lea rcx, [r14 + 1]
xor ebp, ebp
lea rbx, [r14 + 1]
call fcn.1801ec330
test eax, eax
jne 0x1800c6c84
movzx eax, byte [r14 + 3]
lea rcx, [r14 + 3]
test al, al
je 0x1800c6c84
cmp al, 0x5d
cmovne rbx, rcx
movzx edx, byte [rbx]
test dl, dl
je 0x1800c6d8e
mov rax, rbp
movzx ecx, dl
cmp dl, 0x5d
je 0x1800c6cb6
cmp rax, 0xf
jge 0x1800c6cb6
inc rbx
mov byte [rsp + rax + 0x20], cl
inc ebp
inc rax
movzx ecx, byte [rbx]
movzx edx, cl
test cl, cl
jne 0x1800c6c95
test ebp, ebp
je 0x1800c6d8e
cmp byte [rbx], 0x5d
jne 0x1800c6d8e
movsxd rax, ebp
cmp rax, 0x10
jae 0x1800c6daf
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x1800a7dd0.1]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x1800c6cf7
mov eax, 7
jmp 0x1800c6d93
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 0x1800c6d8e
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 0x1800c6d86
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x1800c6d44
cmp rdx, rdi
jae 0x1800c6d86
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 0x1800c6d70
mov rdi, rdx
mov byte [rdx + rsi + 1], al
mov byte [rdi + rsi], 0x5d
xor eax, eax
jmp 0x1800c6d93
mov eax, socket
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1801676f0
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1801682ec
int3
Function at 0x1800c7e00
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 0x1800c7f9e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1800c7f7e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1800c7e6e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800c7e60
inc rbx
jmp 0x1800c7e70
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1800c7e7f
mov ebp, reloc.WS2_32.dll_recv
jmp 0x1800c7e8d
cmp eax, 0x17
jne 0x1800c7f25
mov ebp, 0x1c
cmp qword [rsi + 0x20], 0
je 0x1800c7f25
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1800c7f25
cmp rax, rbp
jb 0x1800c7f25
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [fcn.1801e5fcc]
mov r14, rax
test rax, rax
je 0x1800c7f34
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.18022acf0
test rbx, rbx
je 0x1800c7f12
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.18022acf0
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x1800c7f22
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1800c7e50
jmp 0x1800c7f3a
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x1800c7f54
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x1800c7f79
test rdi, rdi
je 0x1800c7f75
nop
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.1801b6cf8]
mov rdi, rbx
test rbx, rbx
jne 0x1800c7f60
xor edi, edi
jmp 0x1800c7f8d
test rdi, rdi
jne 0x1800c7f8d
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 0x1800ce810
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.1801e8344
test rax, rax
je 0x1800ce846
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
add rsp, 0x30
pop rbx
ret