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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x14008d801
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14008c9e0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x14008d7c6
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x14008d740
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14008d7b5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14008d77d
mov r10, qword [rdx]
cmp r10, rax
je 0x14008d777
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14008d7b5
cmp r9, rdx
je 0x14008d791
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14008d7db
cmp r9, rdx
jne 0x14008d782
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x14008d6f0
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14008d7b5
lea rcx, str.invalid_hash_bucket_count
call fcn.14015cb58
int3
Function at 0x140098860
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov eax, 0x13c0
call fcn.14015be40
sub rsp, rax
mov rax, qword [0x140217900]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov ebx, edx
mov esi, ecx
call fcn.14015e4b8
mov dword [rsp + 0x24], eax
mov r9d, 1
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, 0x270
jb 0x1400988a3
btc esi, 0x1f
mov dword [rsp + 0x20], 0x270
btc ebx, 0x1f
lea rcx, [rsp + 0x20]
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x1400988ed
call fcn.140084a00
mov ecx, eax
jmp 0x140098936
mov qword [rsp + 0x13d0], rdi
inc ebx
call fcn.140084a00
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x14009892a
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x14009892a
lea rcx, [rsp + 0x20]
call fcn.140084a00
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140098916
mov rdi, qword [rsp + 0x13d0]
shr rcx, 0x20
lea eax, [rsi + rcx]
xor eax, 0x80000000
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.14015b7e0
mov rbx, qword [rsp + 0x13d8]
add rsp, 0x13c0
pop rsi
ret
Function at 0x1400b1370
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x140217900]
xor rax, rsp
mov qword [rsp + 0x150], rax
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
lea rax, [0x140217660]
mov r10, r8
mov qword [rsp + 0x38], rcx
cmova rax, qword [0x140217660]
lea r9, [rsp + 0x40]
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x1401aed44]
mov dword [rsp + 0x20], 0x104
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, rbx
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
call fcn.1400639f0
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14015b7e0
add rsp, 0x160
pop rbx
ret
Function at 0x1400b1420
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x140217900]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r10, rdx
lea rax, [0x140217660]
mov rdx, rcx
lea r9, [rsp + 0x60]
xor ebx, ebx
lea r8, [0x1401aed44]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
mov rcx, r10
cmova rax, qword [0x140217660]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
mov qword [rsp + 0x48], rbx
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x50], rbx
movups xmmword [rsp + 0x38], xmm0
call fcn.1400639f0
mov rsi, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
cmp rsi, 0xf
mov rbx, qword [rsp + 0x48]
cmova rcx, rdi
cmp rbx, 3
jne 0x1400b14e2
mov r8, rbx
lea rdx, [0x1401c7ffc]
call fcn.14019d7c0
test eax, eax
je 0x1400b15f8
cmp rsi, 0xf
lea rcx, [rsp + 0x38]
cmova rcx, rdi
cmp rbx, 3
jne 0x1400b150c
mov r8, rbx
lea rdx, [0x1401afd74]
call fcn.14019d7c0
test eax, eax
je 0x1400b15f8
cmp rsi, 0xf
lea rcx, [rsp + 0x38]
cmova rcx, rdi
cmp rbx, 3
jne 0x1400b1536
mov r8, rbx
lea rdx, [0x1401c8000]
call fcn.14019d7c0
test eax, eax
je 0x1400b15f8
cmp rsi, 0xf
lea rcx, [rsp + 0x38]
cmova rcx, rdi
cmp rbx, 1
jne 0x1400b1560
mov r8, rbx
lea rdx, [0x1401aea58]
call fcn.14019d7c0
test eax, eax
je 0x1400b15f8
cmp rsi, 0xf
lea rcx, [rsp + 0x38]
cmova rcx, rdi
cmp rbx, 2
jne 0x1400b1586
mov r8, rbx
lea rdx, [0x1401c8004]
call fcn.14019d7c0
test eax, eax
je 0x1400b15f8
cmp rsi, 0xf
lea rcx, [rsp + 0x38]
cmova rcx, rdi
cmp rbx, 2
jne 0x1400b15ac
mov r8, rbx
lea rdx, [0x1401c8008]
call fcn.14019d7c0
test eax, eax
je 0x1400b15f8
cmp rsi, 0xf
lea rcx, [rsp + 0x38]
cmova rcx, rdi
cmp rbx, 4
jne 0x1400b15d2
mov r8, rbx
lea rdx, str.true
call fcn.14019d7c0
test eax, eax
je 0x1400b15f8
cmp rsi, 0xf
lea rcx, [rsp + 0x38]
cmova rcx, rdi
cmp rbx, 4
jne 0x1400b15fc
mov r8, rbx
lea rdx, str.True
call fcn.14019d7c0
test eax, eax
jne 0x1400b15fc
mov bl, 1
jmp 0x1400b15fe
xor bl, bl
cmp rsi, 0xf
jbe 0x1400b1631
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400b1629
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b1659
mov rcx, rdi
call fcn.14015b6cc
movzx eax, bl
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14015b7e0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14017ad3c
int3
Function at 0x1400ec7b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
movzx edi, r9b
mov rbx, rdx
mov rsi, rcx
test r8b, r8b
je 0x1400ec7e0
call fcn.140022ae0
xorps xmm0, xmm0
movss xmm1, dword [rax + 0x54]
call fcn.14002e3d0
mov edx, 0xff00a3ff
lea rcx, [rsp + 0x40]
call fcn.14001ec00
mov rcx, rax
mov rdx, rsi
call fcn.14005fac0
xor ecx, ecx
call fcn.140024190
test al, al
je 0x1400ec89f
xor edx, edx
xor ecx, ecx
call fcn.140024500
test al, al
je 0x1400ec83c
mov dword [rsp + 0x28], 0xa
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
movdqa xmm0, xmmword [0x1401ce590]
lea rcx, [rsp + 0x38]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140022320
lea rcx, [rsp + 0x30]
call fcn.140022300
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x3c], xmm0
call fcn.140022cc0
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.14001eb50
movss xmm1, dword [0x1401afb7c]
lea r8, [rsp + 0x30]
mov r9d, eax
movss dword [rsp + 0x20], xmm1
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140036420
test dil, dil
je 0x1400ec8b6
call fcn.140022ae0
xorps xmm0, xmm0
movss xmm1, dword [rax + 0x54]
call fcn.14002e3d0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140103490
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 0x1401034d2
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 0x140103670
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 [0x140217900]
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 + 0x410]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x84], 3
je 0x14010377c
lea rax, [0x140103520]
cmp qword [rcx + r8*8 + 0x218], rax
jne 0x14010377c
cmp qword [rbx], 0
je 0x140103701
test rdi, rdi
je 0x14010377c
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, r14
call fcn.1401146e0
cmp eax, 0xffffffff
je 0x14010377c
test al, 1
je 0x14010377c
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14010375b
mov eax, dword [rbp + 0x6f4]
add eax, eax
movsxd rcx, eax
mov qword [rbx + 8], rcx
call qword [fcn.14016c440]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x1401037b6
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 0x14010377c
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 0x1401037f5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
jne 0x1401037c5
xor ebx, ebx
mov dword [rsi], 0x51
jmp 0x1401037f5
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_27
mov rax, 0xffffffffffffffff
jmp 0x1401037f8
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.1400ed340
mov r8, rax
lea rdx, str.Send_failure:__s
mov rcx, rbp
call fcn.140103200
mov dword [rbp + 0xda4], edi
mov dword [rsi], gethostname
mov rax, rbx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14015b7e0
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140103cf0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x288], 0
je 0x140103d0d
call fcn.1400fcf30
test eax, eax
jne 0x140103d33
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x1f0]
cmp rcx, 0xffffffffffffffff
je 0x140103d06
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x140103d06
mov al, 1
add rsp, 0x28
ret
Function at 0x140103f80
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x140217900]
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 0x140104033
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.1400ed340
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.140103200
jmp 0x140104103
movzx ecx, word [rsp + 0x30]
sub ecx, 1
je 0x1401040d8
sub ecx, 1
je 0x14010407d
cmp ecx, 0x15
jne 0x140104089
lea rdx, [rsp + 0x38]
mov ecx, reloc.WS2_32.dll_socket
mov r8, rbx
mov r9d, reloc.WLDAP32.dll_Ordinal_46
call fcn.140131b60
test rax, rax
je 0x140104089
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rdi], eax
jmp 0x140104103
lea rdx, [rsp + 0x34]
mov ecx, 2
jmp 0x140104055
mov byte [rbx], 0
mov dword [rdi], 0
call fcn.14017b8b0
mov dword [rax], 0x273f
call fcn.14017b8b0
mov ebx, dword [rax]
call fcn.14017b8b0
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.1400ed340
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.140103200
jmp 0x140104103
cmp dword [rsp + 0x20], 2
jle 0x1401040fa
lea r9, [rsp + 0x32]
mov edx, reloc.WLDAP32.dll_Ordinal_46
lea r8, [0x1401afa04]
mov rcx, rbx
call fcn.1400f0d90
jmp 0x1401040fd
mov byte [rbx], 0
mov dword [rdi], 0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14015b7e0
add rsp, 0x1c0
pop rdi
pop rsi
pop rbx
ret

Function at 0x140104940
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x14021c3c0]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x1401049a4
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.140132270
test al, al
je 0x140104998
mov dword [0x14021c3c0], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x14021c3c0], 1
jmp 0x1401049a9
cmp eax, 2
je 0x1401049fb
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1401049da
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x1401049fb
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x140106140
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x1401d1e30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x14010616a
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, [0x1401d1e50]
mov rcx, rbx
mov r14, rax
call fcn.14017e8a0
test rax, rax
je 0x1401061cd
mov rcx, rbx
test r14, r14
je 0x1401061b7
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x140106205
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140106205
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
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 0x1401062c8
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x140106230
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.14016c440]
mov rdi, rax
test rax, rax
je 0x1401062ba
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1401062ba
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x140106260
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x140106274
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140106290
mov rcx, rdi
test r14, r14
je 0x1401062b1
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x1401062b7
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.14016c430]
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 0x1401062e0
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140217900]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140106346
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140106329
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140106323
shr ax, 8
cmp al, 2
je 0x140106346
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14015b7e0
add rsp, 0x1e8
ret
call fcn.1401333d0
test eax, eax
jne 0x140106550
mov qword [rsp + 0x200], rsi
lea rcx, [0x1401d1e30]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140106386
mov qword [0x14021c3d0], rsi
jmp 0x14010650d
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, [0x1401d1e50]
call fcn.14017e8a0
test rax, rax
je 0x1401063ea
mov rcx, rbx
test rbp, rbp
je 0x1401063dc
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x1401064cc
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x1401064cc
test rbp, rbp
je 0x140106419
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140106419
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1401064cc
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 0x1401064c4
lea ecx, [rax + 1]
add rcx, 0xc
call qword [fcn.14016c440]
mov rdi, rax
test rax, rax
je 0x1401064bb
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1401064bb
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x140106465
mov edx, 0x5c
mov word [rax + rdi], dx
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], sil
jne 0x140106480
mov rdx, rdi
sub rdx, rbx
add rdx, rcx
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140106492
mov rcx, rdi
test rbp, rbp
je 0x1401064b2
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x1401064b8
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.14016c430]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x14021c3d0], rsi
test rsi, rsi
je 0x14010650d
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14021c3c8]
test rax, rax
cmovne rcx, rax
mov qword [0x14021c3c8], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140132270
test al, al
lea rcx, [0x14021f3a0]
setne byte [0x14021f39c]
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.14015b7e0
add rsp, 0x1e8
ret
Function at 0x140108210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r8, rdx
movzx edx, byte [rcx]
test dl, dl
je 0x140108245
lea r9, [0x1401d2150]
movzx eax, byte [r8]
test al, al
je 0x140108245
movzx eax, byte [rax + r9]
movzx edx, dl
cmp byte [rdx + r9], al
jne 0x140108257
movzx edx, byte [rcx + 1]
inc rcx
inc r8
test dl, dl
jne 0x140108221
xor edx, edx
mov eax, edx
cmp byte [rcx], al
sete al
cmp byte [r8], dl
setne dl
xor eax, edx
ret
xor eax, eax
ret
Function at 0x1401167b0
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.14010bd70
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x1400f7fc9.0
mov rcx, rdi
mov rsi, rax
call case.0x1400f7fc9.0
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x140116860
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14010bd70
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.14010be00
cmp rax, 0x3e8
ja 0x140116891
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 0x140116810
test rsi, rsi
je 0x14011686d
mov rcx, rsi
call fcn.14016c430
test rbx, rbx
je 0x14011687a
mov rcx, rbx
call fcn.14016c430
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 0x14011689e
mov rcx, rsi
call fcn.14016c430
test rbx, rbx
je 0x1401168ab
mov rcx, rbx
call fcn.14016c430
mov eax, 1
jmp 0x14011687c