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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180364978]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, r8
mov r14, rcx
mov r12d, 4
lea rcx, [rbp - 0x20]
mov r8d, r12d
mov rbx, rdx
call fcn.1800ad7c0
lea rdx, [rbx + 4]
mov r8d, r12d
lea rcx, [rbp - 0x1c]
call fcn.1800ad7c0
lea rdx, [rbx + 8]
mov r8d, r12d
lea rcx, [rbp - 0x18]
call fcn.1800ad7c0
lea rdx, [rbx + 0xc]
mov r8d, r12d
lea rcx, [rbp - 0x14]
call fcn.1800ad7c0
mov rdx, qword [r14 + 8]
xor edi, edi
sub rdx, 0x10
mov ecx, edi
mov eax, dword [rdx]
add rdx, r12
xor dword [rbp + rcx*4 - 0x20], eax
inc rcx
cmp rcx, r12
jl 0x180019f0e
lea rcx, [rbp - 0x20]
call fcn.18001a98c
lea rcx, [rbp - 0x20]
call fcn.18001aa24
mov rbx, qword [r14 + 8]
sub rbx, qword [r14]
sar rbx, 4
sub rbx, 2
je 0x180019f86
mov rsi, rbx
shl rsi, 4
mov rdx, qword [r14]
mov rcx, rdi
add rdx, rsi
mov eax, dword [rdx + rcx*4]
xor dword [rbp + rcx*4 - 0x20], eax
inc rcx
cmp rcx, r12
jl 0x180019f52
lea rcx, [rbp - 0x20]
call fcn.18001a3e8
lea rcx, [rbp - 0x20]
call fcn.18001a98c
lea rcx, [rbp - 0x20]
call fcn.18001aa24
sub rsi, 0x10
sub rbx, 1
jne 0x180019f49
mov rcx, qword [r14]
mov eax, dword [rcx + rdi*4]
xor dword [rbp + rdi*4 - 0x20], eax
inc rdi
cmp rdi, r12
jl 0x180019f89
mov r8, r12
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.1800ad7c0
lea rcx, [r15 + 4]
mov r8, r12
lea rdx, [rbp - 0x1c]
call fcn.1800ad7c0
lea rcx, [r15 + 8]
mov r8, r12
lea rdx, [rbp - 0x18]
call fcn.1800ad7c0
lea rcx, [r15 + 0xc]
mov r8, r12
lea rdx, [rbp - 0x14]
call fcn.1800ad7c0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800ac760
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x18002dc38
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180364978]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x38], rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x30]
call fcn.18002b390
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov ecx, dword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r8, qword [rbp - 0x30]
mov r9, qword [rbp - 0x20]
test r9, r9
je 0x18002dce0
mov rcx, r9
mov rdx, r8
mov eax, edi
cmp word [r8], di
je 0x18002dcd0
cmp rcx, 1
je 0x18002dcd3
dec rcx
add rdx, 2
cmp word [rdx], di
jne 0x18002dcbe
mov rax, rdx
test rax, rax
je 0x18002dce0
sub rax, r8
sar rax, 1
jmp 0x18002dce4
or rax, 0xffffffffffffffff
cmp r9, rax
jb 0x18002dd41
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov qword [rbp - 0x20], rax
mov word [rcx + rax*2], di
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov r8d, 0x20
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.1800ad7c0
nop
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800ac760
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180013cfc
nop
int3
Function at 0x18003e6ac
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18003e73a
lea rsi, [rbx + 0x10]
mov ecx, 2
mov rdx, qword [rsi]
lea rdx, [rdx*2 + 1]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x18003e732
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x18003e732
cmp qword [rbx + 0x18], 8
jb 0x18003e704
mov rbx, qword [rbx]
mov rdx, qword [rsi]
mov r8, rbx
inc rdx
mov rcx, rax
call fcn.1800c0eb4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800443b0
Capabilities:
Encode data using xor

Disassembly:
mov r9d, ecx
test rdx, rdx
jne 0x1800443bb
xor eax, eax
ret
not r9d
test r8, r8
je 0x1800443fc
lea r10, [0x1803371f0]
movzx ecx, byte [rdx]
mov eax, r9d
xor rax, rcx
shr r9d, 4
and eax, 0xf
shr rcx, 4
inc rdx
xor r9d, dword [r10 + rax*4]
mov eax, r9d
shr r9d, 4
and eax, 0xf
xor rax, rcx
xor r9d, dword [r10 + rax*4]
sub r8, 1
jne 0x1800443ca
not r9d
mov eax, r9d
ret

Function at 0x180044bb0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test rcx, rcx
je 0x180044cdb
mov r9, qword [rcx + 0x58]
test r9, r9
je 0x180044cdb
cmp edx, dword [rcx + 0x10]
jae 0x180044cdb
cmp dword [rcx + 0x14], 1
jne 0x180044cdb
mov rax, qword [r9 + 0x20]
mov r8d, edx
mov edi, dword [rax + r8*4]
add rdi, qword [r9]
je 0x180044cdb
test rsi, rsi
je 0x180044cdb
mov dword [rsi], edx
mov rax, qword [rcx + 0x58]
mov rcx, qword [rax + 0x20]
mov eax, dword [rcx + r8*4]
mov dword [rsi + 4], eax
movzx eax, word [rdi + 4]
mov word [rsi + 8], ax
movzx eax, word [rdi + 6]
mov word [rsi + 0xa], ax
movzx eax, word [rdi + 8]
mov word [rsi + 0xc], ax
movzx eax, word [rdi + 0xa]
mov word [rsi + 0xe], ax
movzx edx, word [rdi + 0xe]
movzx ecx, word [rdi + 0xc]
call fcn.1800444b0
mov qword [rsi + 0x10], rax
lea rdx, [rdi + 0x2e]
mov eax, dword [rdi + 0x10]
mov ecx, 0x103
mov dword [rsi + 0x18], eax
mov eax, dword [rdi + 0x14]
mov qword [rsi + 0x20], rax
mov eax, dword [rdi + 0x18]
mov qword [rsi + 0x28], rax
movzx eax, word [rdi + 0x24]
mov word [rsi + 0x30], ax
mov eax, dword [rdi + 0x26]
mov dword [rsi + 0x34], eax
mov eax, dword [rdi + 0x2a]
mov qword [rsi + 0x38], rax
movzx eax, word [rdi + 0x1c]
cmp eax, ecx
cmovb ecx, eax
mov ebx, ecx
lea rcx, [rsi + 0x44]
mov r8d, ebx
call fcn.1800ad7c0
mov byte [rbx + rsi + 0x44], 0
mov edx, 0xff
movzx ecx, word [rdi + 0x20]
cmp ecx, edx
cmovb edx, ecx
mov dword [rsi + 0x40], edx
movzx ecx, word [rdi + 0x1e]
mov ebx, edx
add rcx, rdi
movzx edx, word [rdi + 0x1c]
mov r8d, ebx
add rdx, 0x2e
add rdx, rcx
lea rcx, [rsi + 0x148]
call fcn.1800ad7c0
mov eax, 1
mov byte [rbx + rsi + 0x148], 0
jmp 0x180044cdd
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180048648
Capabilities:
Create process on windows

Disassembly:
test ecx, ecx
je 0x180048710
sub rsp, 0x118
mov rax, qword [0x180364978]
xor rax, rsp
mov qword [rsp + 0x100], rax
xor edx, edx
mov dword [rsp + 0x50], ecx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.1800ade70
xorps xmm0, xmm0
mov dword [rsp + 0x70], WSAGetLastError
xor eax, eax
lea r8, [rsp + 0x50]
lea rdx, str.C:WindowsSystem32cmd.exe__C_start_steam:__run_
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xe0]
movups xmmword [rsp + 0x58], xmm0
call fcn.18001ed1c
lea rcx, [rsp + 0xe0]
call fcn.18002d390
mov rdx, rax
xor r9d, r9d
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180048708
lea rcx, str.Failed_to_restart_the_game_n
call fcn.18001acb4
xor ecx, ecx
call fcn.1800c432c
int3
ret
Function at 0x18004e46c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180364978]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, r8
mov rsi, rcx
mov r13d, 4
lea rcx, [rbp - 0x20]
mov r8d, r13d
mov rbx, rdx
call fcn.1800ad7c0
lea rdx, [rbx + 4]
mov r8d, r13d
lea rcx, [rbp - 0x1c]
call fcn.1800ad7c0
lea rdx, [rbx + 8]
mov r8d, r13d
lea rcx, [rbp - 0x18]
call fcn.1800ad7c0
lea rdx, [rbx + 0xc]
mov r8d, r13d
lea rcx, [rbp - 0x14]
call fcn.1800ad7c0
mov rdx, qword [rsi]
xor edi, edi
mov ecx, edi
mov eax, dword [rdx + rcx*4]
xor dword [rbp + rcx*4 - 0x20], eax
inc rcx
cmp rcx, r13
jl 0x18004e4e5
mov rax, qword [rsi + 8]
mov r14d, 1
sub rax, rdx
sar rax, 4
dec rax
cmp rax, r14
jbe 0x18004e55d
mov ebx, r14d
lea rcx, [rbp - 0x20]
call fcn.18004e77c
lea rcx, [rbp - 0x20]
call fcn.18004e6e4
lea rcx, [rbp - 0x20]
call fcn.18004e5ec
shl rbx, 4
mov rcx, rdi
add rbx, qword [rsi]
mov eax, dword [rbx + rcx*4]
xor dword [rbp + rcx*4 - 0x20], eax
inc rcx
cmp rcx, r13
jl 0x18004e535
mov rax, qword [rsi + 8]
inc r14d
sub rax, qword [rsi]
sar rax, 4
dec rax
mov ebx, r14d
cmp rbx, rax
jb 0x18004e510
lea rcx, [rbp - 0x20]
call fcn.18004e77c
lea rcx, [rbp - 0x20]
call fcn.18004e6e4
mov rcx, qword [rsi + 8]
sub rcx, 0x10
mov eax, dword [rcx]
add rcx, r13
xor dword [rbp + rdi*4 - 0x20], eax
inc rdi
cmp rdi, r13
jl 0x18004e577
mov r8, r13
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.1800ad7c0
lea rcx, [r15 + 4]
mov r8, r13
lea rdx, [rbp - 0x1c]
call fcn.1800ad7c0
lea rcx, [r15 + 8]
mov r8, r13
lea rdx, [rbp - 0x18]
call fcn.1800ad7c0
lea rcx, [r15 + 0xc]
mov r8, r13
lea rdx, [rbp - 0x14]
call fcn.1800ad7c0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800ac760
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x18004e5ec
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
lea rbp, [rcx + 2]
mov r14d, 4
movzx r11d, byte [rbp - 2]
movzx esi, byte [rbp - 1]
mov al, r11b
movzx ebx, byte [rbp]
add al, al
movzx edi, byte [rbp + 1]
lea rbp, [rbp + 4]
movzx edx, al
mov al, dl
xor al, 0x1b
movzx ecx, al
test r11b, r11b
mov al, sil
cmovns ecx, edx
add al, al
movzx r10d, cl
movzx edx, al
mov al, dl
xor al, 0x1b
movzx ecx, al
test sil, sil
mov al, bl
cmovns ecx, edx
add al, al
movzx r9d, cl
movzx edx, al
mov al, dl
xor al, 0x1b
movzx ecx, al
test bl, bl
mov al, dil
cmovns ecx, edx
add al, al
movzx r8d, cl
movzx edx, al
mov al, dl
xor al, 0x1b
test dil, dil
movzx ecx, al
cmovns ecx, edx
movzx edx, cl
mov ecx, r10d
xor ecx, edx
xor r10d, r9d
xor ecx, ebx
xor edx, r8d
xor ecx, esi
xor r8d, r9d
xor ecx, r11d
xor edx, edi
shl ecx, 8
xor r8d, ebx
xor r10d, ebx
xor edx, esi
xor edx, r11d
xor r8d, edi
or ecx, edx
xor r8d, r11d
shl ecx, 8
xor r10d, edi
or ecx, r8d
xor r10d, esi
shl ecx, 8
or ecx, r10d
mov dword [rbp - 6], ecx
sub r14, 1
jne 0x18004e60b
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x180056d94
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 4
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1008
mov rbx, rcx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x180056de1
cmp dword [rsp + 0x50], 1
jne 0x180056de1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
add rsp, 0x30
pop rbx
ret

Function at 0x18005877c
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + rdx]
mov rbx, rcx
mov edi, 0x1505
cmp rcx, rsi
jae 0x1800587b6
mov cl, byte [rbx]
call fcn.180067bec
imul rdi, rdi, 0x21
movsx rdx, al
inc rbx
xor rdi, rdx
cmp rbx, rsi
jb 0x18005879c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x180058b86
call fcn.18006a9f4
test al, al
jne 0x180058b86
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180058dfc
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x18005877c
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x180058b50
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + rdx]
mov rbx, rcx
mov edi, 0x1505
cmp rcx, rsi
jae 0x1800587b6
mov cl, byte [rbx]
call fcn.180067bec
imul rdi, rdi, 0x21
movsx rdx, al
inc rbx
xor rdi, rdx
cmp rbx, rsi
jb 0x18005879c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x180058b86
call fcn.18006a9f4
test al, al
jne 0x180058b86
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180058dfc
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x18005877c
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x180066024
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, rcx
xor ebx, ebx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x180066161
lea rdx, [0x18033c508]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x18033c518]
mov rcx, rbp
mov rsi, rax
call fcn.1800c6e20
test rax, rax
je 0x18006609a
mov rcx, rbp
test rsi, rsi
je 0x180066092
mov r8d, 8
jmp 0x1800660bd
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1800660c1
test rsi, rsi
je 0x1800660c9
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800660c9
mov r8d, 0x800
mov rcx, rbp
xor edx, edx
call rsi
mov rbx, rax
jmp 0x18006615e
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r14d, eax
test eax, eax
je 0x18006615e
mov rcx, rbp
call fcn.1800c0428
lea ecx, [r14 + 1]
add rcx, rax
add rcx, rcx
call qword [fcn.1800b5f74]
mov rdi, rax
test rax, rax
je 0x180066155
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x180066155
mov rcx, rdi
call fcn.1800c0428
lea rdx, [0x18033c530]
lea rcx, [rdi + rax*2]
call fcn.1800c6e04
mov rcx, rdi
call fcn.1800c0428
mov rdx, rbp
lea rcx, [rdi + rax*2]
call fcn.1800c6e04
mov rcx, rdi
test rsi, rsi
je 0x18006614c
xor edx, edx
lea r8d, [rdx + 8]
call rsi
jmp 0x180066152
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov rcx, rdi
call qword [fcn.1800b5f60]
mov rax, rbx
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

Function at 0x18006617c
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x180364978]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x1800661d1
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1800661b8
mov eax, 2
jmp 0x18006624a
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1800661c9
shr ax, 8
cmp al, 2
je 0x1800661d1
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x1800661ae
call fcn.18007ff78
test eax, eax
jne 0x18006624a
lea rcx, str.iphlpapi.dll
call fcn.180066024
mov qword [0x180367e68], rax
test rax, rax
je 0x180066217
lea rdx, str.if_nametoindex
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180367e60]
test rax, rax
cmovne rcx, rax
mov qword [0x180367e60], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.18007fb80
test al, al
lea rcx, [0x180369660]
setne byte [0x180369658]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1800ac760
add rsp, 0x1e8
ret
Function at 0x18006a1f8
Capabilities:
Set socket configuration

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
and qword [r11 - 0x18], 0
lea rax, [r11 + 0x18]
and qword [r11 - 0x20], 0
xor r9d, r9d
mov qword [r11 - 0x28], rax
xor r8d, r8d
lea rax, [r11 + 0x10]
mov dword [rsp + 0x28], 4
mov edx, 0x4004747b
mov qword [r11 - 0x38], rax
mov rbx, rcx
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x18006a25b
lea r9, [rsp + 0x68]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x50
pop rbx
ret

Function at 0x18006b3a0
Capabilities:
Convert ip address from string

Disassembly:
and qword [r9], 0
cmp qword [rsp + 0x28], 0
jge 0x18006b3b2
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.18006b0b4

Function at 0x18006b7f8
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r15
sub rsp, 0x40
mov rax, qword [0x180364978]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov esi, ecx
mov rdi, rdx
mov rcx, rdx
call fcn.1800bb450
xor edx, edx
lea rcx, [rsp + 0x28]
mov rbx, rax
lea r8d, [rdx + 0x10]
call fcn.1800ade70
mov r15d, 2
movzx ecx, si
mov word [rsp + 0x28], r15w
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x20]
mov ecx, r15d
lea rdx, str.127.0.0.1
mov word [rsp + 0x2a], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jl 0x18006b8ee
lea r8d, [r15 + 2]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x2c]
call fcn.1800ad7c0
lea rcx, [rbx + 0x41]
lea edx, [r15 - 1]
call qword [fcn.1800b5f58]
mov rbx, rax
test rax, rax
je 0x18006b8ee
and dword [rax], 0
lea rcx, [rax + 0x30]
lea r8d, [r15 + 0xe]
mov qword [rax + 0x20], rcx
lea rdx, [rsp + 0x28]
mov dword [rax + 4], r15d
mov dword [rax + 8], 1
mov dword [rax + 0xc], 6
mov dword [rax + reloc.WS2_32.dll_recv], 0x10
call fcn.1800ad7c0
mov rcx, qword [rbx + 0x20]
mov rdx, rdi
add rcx, 0x10
mov qword [rbx + 0x18], rcx
call fcn.1800c0220
mov rdx, rdi
mov ecx, esi
call fcn.18006b90c
mov qword [rbx + 0x28], rax
mov rax, rbx
jmp 0x18006b8f0
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800ac760
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop rdi
pop rsi
ret
Function at 0x18006b90c
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180364978]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov esi, ecx
mov rdi, rdx
mov rcx, rdx
call fcn.1800bb450
mov edx, 1
lea rcx, [rax + 0x4d]
call qword [fcn.1800b5f58]
mov rbx, rax
test rax, rax
je 0x18006b9ee
mov r14d, reloc.WS2_32.dll_socket
movzx ecx, si
mov word [rsp + 0x20], r14w
call qword [sym.imp.WS2_32.dll_htons]
and dword [rsp + 0x24], 0
lea r8, [rsp + 0x40]
and dword [rsp + 0x38], 0
lea rdx, [0x18033d1d0]
mov ecx, r14d
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jl 0x18006b9ee
lea r8d, [r14 - 7]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1800ad7c0
and dword [rbx], 0
lea r8d, [r14 + 5]
and qword [rbx + 0x28], 0
lea rcx, [rbx + 0x30]
lea rdx, [rsp + 0x20]
mov dword [rbx + 0x10], r8d
mov qword [rbx + 0x20], rcx
mov dword [rbx + 4], r14d
mov dword [rbx + 8], 1
mov dword [rbx + 0xc], 6
call fcn.1800ad7c0
mov rcx, qword [rbx + 0x20]
mov rdx, rdi
add rcx, 0x1c
mov qword [rbx + 0x18], rcx
call fcn.1800c0220
mov rax, rbx
jmp 0x18006b9f0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800ac760
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
Function at 0x180071aac
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x180071ad6
cmp dword [rdx], 0
jne 0x180071aec
test rbx, rbx
je 0x180071ae1
cmp dword [r8], 0
jne 0x180071aec
test rdi, rdi
je 0x180071b38
cmp dword [r9], 0
je 0x180071b38
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.180083784
test rdi, rdi
je 0x180071b05
cmp dword [rdi], 0
jne 0x180071b07
xor edi, edi
test rbx, rbx
je 0x180071b11
cmp dword [rbx], 0
jne 0x180071b13
xor ebx, ebx
test rsi, rsi
je 0x180071b1d
cmp dword [rsi], 0
jne 0x180071b1f
xor esi, esi
lea ecx, [rbp + 1]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rbx
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_select]
jmp 0x180071b42
mov rcx, qword [rsp + 0x60]
call fcn.180071a6c
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1800728c4
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rax - 0x18], xmm6
lea rcx, [rax - 0x38]
mov rdi, rdx
call fcn.1800591ac
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.180071c48
mov rcx, rdi
mov rsi, rax
call fcn.180071c48
mov rbx, rax
mov rdx, rax
mov edi, 1
jmp 0x180072945
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1800591ac
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.180059224
cmp rax, 0x3e8
ja 0x180072986
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rbx
mov r8d, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x18007290a
test rsi, rsi
je 0x180072962
mov rcx, rsi
call fcn.1800b5f60
test rbx, rbx
je 0x18007296f
mov rcx, rbx
call fcn.1800b5f60
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 0x180072993
mov rcx, rsi
call fcn.1800b5f60
test rbx, rbx
je 0x1800729a0
mov rcx, rbx
call fcn.1800b5f60
mov eax, edi
jmp 0x180072971