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

Disassembly:
sub rsp, 0xa8
movdqa xmmword [rsp + 0x90], xmm15
movdqa xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
shufps xmm1, xmm1, 0
movdqa xmm5, xmmword [0x14037f480]
movdqa xmm6, xmmword [0x14037f490]
movdqa xmm3, xmmword [0x14037f4a0]
movdqa xmm4, xmmword [0x14037f4b0]
xor eax, eax
movdqa xmm11, xmmword [0x14037f510]
movdqa xmm13, xmmword [0x14037f530]
movaps xmm12, xmmword [0x14037f4f0]
nop dword [rax]
movdqa xmm0, xmm3
movdqa xmm8, xmmword [0x14037f4c0]
pand xmm0, xmm8
movdqa xmm9, xmmword [0x14037f4d0]
por xmm0, xmm9
movdqa xmm14, xmm3
psrld xmm14, 0x10
movdqa xmm10, xmmword [0x14037f4e0]
por xmm14, xmm10
subps xmm14, xmm12
addps xmm14, xmm0
movdqa xmm0, xmm4
pand xmm0, xmm8
por xmm0, xmm9
movdqa xmm15, xmm4
psrld xmm15, 0x10
por xmm15, xmm10
subps xmm15, xmm12
addps xmm15, xmm0
movdqa xmm2, xmm5
pand xmm2, xmm8
por xmm2, xmm9
movdqa xmm0, xmm5
psrld xmm0, 0x10
por xmm0, xmm10
subps xmm0, xmm12
addps xmm0, xmm2
movdqa xmm7, xmm6
pand xmm7, xmm8
por xmm7, xmm9
movdqa xmm2, xmm6
psrld xmm2, 0x10
por xmm2, xmm10
subps xmm2, xmm12
addps xmm2, xmm7
mulps xmm2, xmm1
mulps xmm0, xmm1
mulps xmm15, xmm1
mulps xmm14, xmm1
cvttps2dq xmm8, xmm14
movdqa xmm7, xmm8
psrad xmm7, 0x1f
movaps xmm10, xmmword [0x14037f500]
subps xmm14, xmm10
cvttps2dq xmm14, xmm14
pand xmm14, xmm7
por xmm14, xmm8
cvttps2dq xmm7, xmm15
movdqa xmm8, xmm7
psrad xmm8, 0x1f
subps xmm15, xmm10
cvttps2dq xmm15, xmm15
pand xmm15, xmm8
por xmm15, xmm7
cvttps2dq xmm9, xmm0
movdqa xmm8, xmm9
psrad xmm8, 0x1f
subps xmm0, xmm10
cvttps2dq xmm7, xmm0
pand xmm7, xmm8
por xmm7, xmm9
cvttps2dq xmm0, xmm2
movdqa xmm8, xmm0
psrad xmm8, 0x1f
subps xmm2, xmm10
cvttps2dq xmm2, xmm2
pand xmm2, xmm8
por xmm2, xmm0
movdqa xmm8, xmm2
movdqa xmm9, xmmword [0x14037ca90]
pxor xmm8, xmm9
movdqa xmm0, xmm11
pcmpgtd xmm0, xmm8
pand xmm2, xmm0
movdqa xmm10, xmmword [0x14037f520]
pandn xmm0, xmm10
por xmm0, xmm2
movdqa xmm2, xmm7
pxor xmm2, xmm9
movdqa xmm8, xmm11
pcmpgtd xmm8, xmm2
pand xmm7, xmm8
pandn xmm8, xmm10
por xmm8, xmm7
packuswb xmm0, xmm8
movdqa xmm2, xmm15
pxor xmm2, xmm9
movdqa xmm7, xmm11
pcmpgtd xmm7, xmm2
pand xmm15, xmm7
pandn xmm7, xmm10
por xmm7, xmm15
movdqa xmm2, xmm14
pxor xmm2, xmm9
movdqa xmm8, xmm11
pcmpgtd xmm8, xmm2
pand xmm14, xmm8
pandn xmm8, xmm10
por xmm8, xmm14
packuswb xmm7, xmm8
packuswb xmm7, xmm0
movdqu xmmword [rcx + rax], xmm7
add rax, 0x10
paddd xmm4, xmm13
paddd xmm3, xmm13
paddd xmm6, xmm13
paddd xmm5, xmm13
cmp rax, 0x100
jne 0x14007ae90
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
movaps xmm15, xmmword [rsp + 0x90]
add rsp, 0xa8
ret
Function at 0x1400ae880
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov r12, r9
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov edx, r8d
call fcn.1400ade50
mov ecx, esi
call fcn.14016e47c
mov r14, rax
mov ecx, dword [rbx + 4]
shl ecx, 4
add ecx, 0x10
call fcn.14016e47c
mov r15, rax
mov rcx, rbx
mov rdx, r12
mov r8, rax
call fcn.1400ae940
test esi, esi
je 0x1400ae913
mov rax, qword [rsp + 0xa0]
xor ebp, ebp
mov r13d, ebp
lea r8, [r14 + r13]
lea r12, [rdi + r13]
movups xmm6, xmmword [rax]
mov rcx, rbx
mov rdx, r12
mov r9, r15
call fcn.1400ae010
movups xmm0, xmmword [r14 + r13]
xorps xmm0, xmm6
movups xmmword [r14 + r13], xmm0
add ebp, 0x10
mov rax, r12
cmp ebp, esi
jb 0x1400ae8e0
mov rcx, r15
call fcn.14016e448
mov rax, r14
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400aec00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movzx eax, byte [rdx + 6]
mov qword [rsp + 0x78], rax
movzx eax, byte [rdx + 7]
mov qword [rsp + 0x70], rax
movzx eax, byte [rdx + 8]
mov qword [rsp + 0x68], rax
movzx eax, byte [rdx + 9]
mov qword [rsp + 0x60], rax
movzx eax, byte [rdx + 0xa]
mov qword [rsp + 0x58], rax
movzx eax, byte [rdx + 0xb]
mov qword [rsp + 0x50], rax
movzx eax, byte [rdx + 0xc]
mov qword [rsp + 0x48], rax
movzx eax, byte [rdx]
mov qword [rsp + 0x40], rax
movzx eax, byte [rdx + 1]
mov qword [rsp + 0x38], rax
movzx eax, byte [rdx + 2]
mov qword [rsp + 0x30], rax
movzx r15d, byte [rdx + 3]
movzx r12d, byte [rdx + 4]
movzx r13d, byte [rdx + 5]
movzx ebp, byte [rdx + 0xd]
movzx eax, byte [rdx + 0xe]
mov qword [rsp + 0x28], rdx
movzx edx, byte [rdx + 0xf]
mov ecx, 3
lea r8, [0x140381640]
lea r9, [0x140380640]
nop dword [rax]
movzx ebx, byte [rcx + r8 - 3]
shl rbx, 8
add rbx, r9
movzx r10d, byte [rsp + rcx + 0x7d]
movzx r11d, byte [rsp + rcx + 0x7e]
mov rsi, qword [rsp + 0x40]
xor r10b, byte [rsi + rbx]
mov rsi, qword [rsp + 0x38]
xor r11b, byte [rsi + rbx]
movzx esi, byte [rsp + rcx + 0x7f]
mov rdi, qword [rsp + 0x30]
xor sil, byte [rdi + rbx]
movzx edi, byte [rsp + rcx + 0x80]
xor dil, byte [r15 + rbx]
movzx ebx, byte [rcx + r8 - 2]
shl rbx, 8
add rbx, r9
xor r10b, byte [r12 + rbx]
xor r11b, byte [r13 + rbx]
mov r14, qword [rsp + 0x78]
xor sil, byte [r14 + rbx]
mov r14, qword [rsp + 0x70]
xor dil, byte [r14 + rbx]
movzx ebx, byte [rcx + r8 - 1]
shl rbx, 8
add rbx, r9
mov r14, qword [rsp + 0x68]
xor r10b, byte [r14 + rbx]
mov r14, qword [rsp + 0x60]
xor r11b, byte [r14 + rbx]
mov r14, qword [rsp + 0x58]
xor sil, byte [r14 + rbx]
mov r14, qword [rsp + 0x50]
xor dil, byte [r14 + rbx]
movzx ebx, byte [rcx + r8]
shl rbx, 8
add rbx, r9
mov r14, qword [rsp + 0x48]
xor r10b, byte [r14 + rbx]
xor r11b, byte [rbp + rbx]
xor sil, byte [rax + rbx]
xor dil, byte [rdx + rbx]
mov byte [rsp + rcx + 0x7d], r10b
mov byte [rsp + rcx + 0x7e], r11b
mov byte [rsp + rcx + 0x7f], sil
mov byte [rsp + rcx + 0x80], dil
add rcx, 4
cmp rcx, 0x13
jne 0x1400aecc0
movaps xmm0, xmmword [rsp + 0x80]
mov rax, qword [rsp + 0x28]
movups xmmword [rax], xmm0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14016e5c0
nop
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400b0470
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor eax, eax
nop word [rax + rax]
mov edx, dword [rcx + rax*4]
bswap edx
mov dword [rsp + rax*4 + 0x50], edx
inc rax
cmp rax, 0x10
jne 0x1400b04a0
mov eax, reloc.WS2_32.dll_recv
movabs rdx, 0x100000000
xor r10d, r10d
movabs r8, 0xe00000000
movabs r9, 0x900000000
nop dword [rax + rax]
lea r11, [r10 + r8]
sar r11, 0x1e
mov r11d, dword [rsp + r11 + 0x50]
mov esi, r11d
rol esi, 0xf
mov edi, r11d
rol edi, 0xd
xor edi, esi
shr r11d, 0xa
xor r11d, edi
lea rsi, [r10 + r9]
sar rsi, 0x1e
add r11d, dword [rsp + rsi + 0x50]
lea rsi, [r10 + rdx]
mov rdi, rsi
sar rdi, 0x1e
mov edi, dword [rsp + rdi + 0x50]
mov ebx, edi
rol ebx, 0x19
mov ebp, edi
rol ebp, 0xe
sar r10, 0x1e
add r11d, dword [rsp + r10 + 0x50]
mov r10, rsi
xor ebp, ebx
shr edi, 3
xor edi, ebp
add r11d, edi
mov dword [rsp + rax*4 + 0x50], r11d
inc rax
cmp rax, 0x40
jne 0x1400b04e0
mov ebp, dword [rcx + 0x50]
mov r15d, dword [rcx + 0x54]
mov r11d, dword [rcx + 0x58]
mov r12d, dword [rcx + 0x5c]
mov r13d, dword [rcx + 0x60]
mov r9d, dword [rcx + 0x64]
mov eax, dword [rcx + 0x68]
mov qword [rsp + 0x48], rcx
mov edx, dword [rcx + 0x6c]
xor r14d, r14d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x2c], r15d
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x34], r12d
nop word cs:[rax + rax]
mov ecx, r12d
mov r8d, r13d
mov esi, r13d
rol esi, 0x1a
mov r10d, r9d
mov r9d, r13d
rol r9d, 0x15
xor r9d, esi
mov ebx, r13d
rol ebx, 7
xor ebx, r9d
add ebx, edx
mov edx, eax
mov edi, ebp
mov esi, r15d
mov r12d, r11d
mov eax, r15d
or eax, r11d
and eax, ebp
mov r9d, r15d
and r9d, r11d
or r9d, eax
mov eax, ebp
rol eax, 0x1e
mov r11d, ebp
rol r11d, 0x13
rol ebp, 0xa
xor r11d, eax
xor ebp, r11d
mov r13d, r10d
xor r13d, edx
and r13d, r8d
xor r13d, edx
add r13d, dword [rsp + r14 + 0x50]
add ebp, r9d
lea rax, [0x1403816b0]
add r13d, dword [r14 + rax]
add r13d, ebx
add ebp, r13d
add r13d, ecx
add r14, 4
mov r11d, esi
mov r15d, edi
mov eax, r10d
mov r9d, r8d
cmp r14, 0x100
jne 0x1400b05a0
mov ecx, dword [rsp + 0x28]
add ecx, ebp
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x50], ecx
mov ecx, dword [rsp + 0x2c]
add ecx, edi
mov dword [rax + 0x54], ecx
mov ecx, dword [rsp + 0x30]
add ecx, esi
mov dword [rax + 0x58], ecx
mov ecx, dword [rsp + 0x34]
add ecx, r12d
mov dword [rax + 0x5c], ecx
mov ecx, dword [rsp + 0x38]
add ecx, r13d
mov dword [rax + 0x60], ecx
mov ecx, dword [rsp + 0x3c]
add ecx, r8d
mov dword [rax + 0x64], ecx
mov ecx, dword [rsp + 0x40]
add ecx, r10d
mov dword [rax + 0x68], ecx
mov ecx, dword [rsp + 0x44]
add ecx, edx
mov dword [rax + 0x6c], ecx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14016e5c0
nop
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400b25b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
lea rsi, [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
mov qword [rcx + 0x18], 0
mov qword [rcx + 0x20], reloc.WS2_32.dll_ntohs
mov r9, qword [rdx]
mov rdi, qword [rdx + 8]
cmp rdi, 0xf
mov qword [rbp - 8], rcx
jbe 0x1400b25fe
mov rcx, rsi
mov rdx, rdi
call fcn.140005030
jmp 0x1400b2618
mov rbx, rcx
mov qword [rcx + 0x18], rdi
mov rcx, rsi
mov rdx, r9
mov r8, rdi
call fcn.140373e60
mov byte [rbx + rdi + 8], 0
rdtsc
mov r9, qword [rbp - 8]
mov word [r9], ax
mov rdx, qword [r9 + 0x18]
cmp qword [r9 + 0x20], 0x10
jb 0x1400b2631
mov rsi, qword [r9 + 8]
test rdx, rdx
je 0x1400b2694
mov r8, rdx
mov rcx, rsi
and r8, 3
je 0x1400b265d
nop word cs:[rax + rax]
ror ax, 1
xor byte [rcx], al
inc rcx
dec r8
jne 0x1400b2650
cmp rdx, 4
jb 0x1400b2694
add rsi, rdx
nop word cs:[rax + rax]
mov edx, eax
shr edx, 1
xor byte [rcx], dl
mov edx, eax
rol dx, 0xe
xor byte [rcx + 1], dl
shr edx, 1
xor byte [rcx + 2], dl
rol ax, 0xc
xor byte [rcx + 3], al
add rcx, 4
cmp rcx, rsi
jne 0x1400b2670
mov rax, r9
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b6020
Capabilities:
Hash data using fnv

Disassembly:
mov r8d, edx
mov rdx, rcx
mov rcx, qword [0x1406c4b58]
jmp fcn.1400b36b0
Function at 0x1401701d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1401702f4
mov ebx, eax
test eax, eax
jne 0x140170208
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140170264
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14017025b
test al, 0x10
je 0x14017025b
bt eax, 0xa
jae 0x140170254
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14016fd5c
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140170250
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140170274
test edi, edi
jne 0x14017025b
and dword [rsp + 0x3c], 0
jmp 0x140170260
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.140352eac
int3

Function at 0x140170508
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140170542
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140170547
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140170590
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140170590
dec r8
sub rdx, 1
jne 0x140170576
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140173808
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140173852
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140173852
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140173852
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140173852
cmp dword [rcx + 0x84], 0xe
jbe 0x140173852
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140173854
xor al, al
add rsp, 0x28
ret
Function at 0x140185270
Capabilities:
Receive data
Receive data on socket

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

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, qword [rsp + 0x190]
mov rbp, rcx
mov rcx, qword [rcx + 0x18]
mov r15, r8
movsxd r8, edx
mov r12, r9
mov rax, r8
shl rax, 5
lea rbx, [rcx + 0x238]
mov r14, qword [rcx + r8*8 + 0x1f0]
add rbx, rax
mov rax, qword [rcx + 0x428]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x84], 3
je 0x14018551c
lea rax, [0x1401852c0]
cmp qword [rcx + r8*8 + 0x218], rax
jne 0x14018551c
cmp qword [rbx], 0
je 0x1401854a1
test rdi, rdi
je 0x14018551c
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, r14
call fcn.140193f90
cmp eax, 0xffffffff
je 0x14018551c
test al, 1
je 0x14018551c
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1401854fb
mov eax, dword [rbp + 0x71c]
add eax, eax
movsxd rcx, eax
mov qword [rbx + 8], rcx
call qword [fcn.140357c98]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x140185556
mov rdi, qword [rbx + 8]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rcx
mov r8d, edi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x14018551c
add qword [rbx + 0x10], rcx
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
mov dword [rsi], 0
cmp rbx, 0xffffffffffffffff
jne 0x140185595
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
jne 0x140185565
xor ebx, ebx
mov dword [rsi], 0x51
jmp 0x140185595
mov dword [rsi], 0x1b
mov rax, 0xffffffffffffffff
jmp 0x140185598
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.1401a27e0
mov r8, rax
lea rdx, str.Send_failure:__s
mov rcx, rbp
call fcn.1401850b0
mov dword [rbp + 0xdcc], edi
mov dword [rsi], gethostname
mov rax, rbx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14016e5c0
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401867a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rax, rdx
mov rbx, r8
mov rsi, rcx
lea r8, [rsp + 0x20]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, r9
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140186853
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.1401a27e0
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1401850b0
jmp 0x14018691b
movzx ecx, word [rsp + 0x30]
mov edx, ecx
sub edx, 1
je 0x1401868f0
sub edx, 1
je 0x14018689a
cmp edx, 0x15
jne 0x1401868a1
lea rdx, [rsp + 0x38]
mov r8, rbx
mov r9d, 0x2e
call fcn.1401a2a60
test rax, rax
je 0x1401868a1
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rdi], eax
jmp 0x14018691b
lea rdx, [rsp + 0x34]
jmp 0x140186872
mov byte [rbx], 0
mov dword [rdi], 0
call fcn.14034dc0c
mov dword [rax], 0x273f
call fcn.14034dc0c
mov ebx, dword [rax]
call fcn.14034dc0c
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.1401a27e0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.1401850b0
jmp 0x14018691b
cmp dword [rsp + 0x20], 2
jle 0x140186912
lea r9, [rsp + 0x32]
mov edx, 0x2e
lea r8, [0x140401450]
mov rcx, rbx
call fcn.140196660
jmp 0x140186915
mov byte [rbx], 0
mov dword [rdi], 0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14016e5c0
add rsp, 0x1c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140187ab0
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140187b16
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140187af9
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140187af3
shr ax, 8
cmp al, 2
je 0x140187b16
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14016e5c0
add rsp, 0x1e8
ret
mov qword [rsp + 0x200], rsi
lea rcx, str.kernel32
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x140187b49
mov qword [0x1406c4cb8], rsi
jmp 0x140187cd4
mov qword [rsp + 0x1f0], rbx
lea rdx, [0x14041f970]
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, [0x140402be0]
call fcn.14035da40
test rax, rax
je 0x140187bad
mov rcx, rbx
test rbp, rbp
je 0x140187b9f
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x140187c9c
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
jmp 0x140187c9c
test rbp, rbp
je 0x140187bdc
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140187bdc
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x140187c9c
xor edx, edx
mov qword [rsp + 0x1e0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r14d, eax
test eax, eax
je 0x140187c94
lea ecx, [rax + 1]
lea rcx, [rcx*2 + 0x18]
call qword [fcn.140357c98]
mov rdi, rax
test rax, rax
je 0x140187c8b
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140187c8b
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop dword [rax]
cmp word [rdi + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x140187c30
mov dword [rdi + rax*2], 0x5c
inc rcx
cmp word [rdi + rcx*2], si
jne 0x140187c42
add rcx, rcx
sub rcx, rbx
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140187c60
mov rcx, rdi
test rbp, rbp
je 0x140187c82
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x140187c88
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov rcx, rdi
call qword [fcn.140356118]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1406c4cb8], rsi
test rsi, rsi
je 0x140187cd4
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140187cd4
mov qword [0x1406c4cb0], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1401a2fd0
test al, al
lea rcx, [0x1406c4cc0]
setne byte [0x1406c4cc8]
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.14016e5c0
add rsp, 0x1e8
ret
Function at 0x14018b0a0
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x14018b0b5
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.14018ac60
Function at 0x140198950
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.14018a2e0
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.140197d60
mov rcx, rdi
mov rsi, rax
call fcn.140197d60
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140198a00
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14018a2e0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.14018a370
cmp rax, 0x3e8
ja 0x140198a31
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_MoveFileExW]
test eax, eax
je 0x1401989b0
test rsi, rsi
je 0x140198a0d
mov rcx, rsi
call fcn.140356118
test rbx, rbx
je 0x140198a1a
mov rcx, rbx
call fcn.140356118
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 0x140198a3e
mov rcx, rsi
call fcn.140356118
test rbx, rbx
je 0x140198a4b
mov rcx, rbx
call fcn.140356118
mov eax, 1
jmp 0x140198a1c