joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400025e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
xor edx, edx
mov rsi, rcx
xor r14d, r14d
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x234
mov r12, rax
call fcn.140068ce0
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400027cf
nop dword [rax]
mov qword [rsp + 0x40], r14
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], r14w
jne 0x140002670
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14000a870
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], r14
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 7
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400026a5
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x20]
call fcn.14000a870
mov r15, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov rdi, qword [rsp + 0x40]
lea r9, [rsp + 0x20]
mov r11, qword [rsp + 0x38]
cmp r15, 8
mov r10, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
cmovae rax, rdi
cmp r11, 8
cmovae r9, r10
cmp r8, qword [rsp + 0x50]
jne 0x140002733
test r8, r8
je 0x1400027c3
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x140002733
sub r9, rax
cmp cx, dx
ja 0x140002733
cmp r8, 1
je 0x1400027c3
movzx ecx, word [r9 + rax + 2]
add rax, 2
dec r8
movzx edx, word [rax]
cmp cx, dx
jae 0x140002712
xor bl, bl
cmp r11, 8
jb 0x140002770
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140002768
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027fc
mov rcx, r10
call fcn.140066554
cmp r15, 8
jb 0x1400027a7
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000279f
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027fc
mov rcx, rdi
call fcn.140066554
test bl, bl
jne 0x1400027ca
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002650
jmp 0x1400027cf
mov bl, 1
jmp 0x140002735
mov r14d, dword [rsp + 0x68]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x2a0]
mov eax, r14d
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140072d5c
int3
Function at 0x140002810
Capabilities:
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rdi, rcx
mov edx, 0x100
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor esi, esi
mov dword [rsp + 0x20], 0x48d048de
mov eax, esi
mov dword [rsp + 0x24], 0x48e348eb
mov dword [rsp + 0x28], 0x48f048f2
mov r8d, 0x4882
mov dword [rsp + 0x2c], 0x48fb48e9
mov dword [rsp + 0x30], 0x48cf48ef
mov dword [rsp + 0x34], 0x48fe48e5
mov dword [rsp + 0x38], 0x48fd48fa
mov dword [rsp + 0x3c], 0x48f348f9
mov dword [rsp + 0x40], 0x48e748e7
mov dword [rsp + 0x44], 0x48fa48fd
mov dword [rsp + 0x48], 0x48cb48f8
mov dword [rsp + 0x4c], 0x48f648dc
mov dword [rsp + 0x50], 0x48f548ed
mov dword [rsp + 0x54], 0x48f248f0
mov dword [rsp + 0x58], 0x48fb48ff
mov dword [rsp + 0x5c], 0x48fc
nop dword [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x20]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x1f
jb 0x1400028d0
mov rbx, 0xffffffffffffffff
mov word [rsp + 0x5e], si
mov r8, rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x78], 7
inc r8
cmp word [rax + r8*2], si
jne 0x140002910
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14000a870
lea rax, [rsp + 0x20]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140002930
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14000c080
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400029b1
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029ac
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029cd
call fcn.140066554
lea r11, [rsp + 0x280]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140072d5c
int3
Function at 0x140003750
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x60
xor r9d, r9d
mov dword [rsp + 0x40], 0x48df48de
mov eax, r9d
mov dword [rsp + 0x44], 0x48d948aa
mov rbx, rcx
mov dword [rsp + 0x48], 0x48cc48c0
mov dword [rsp + 0x4c], 0x48c548d8
mov r8d, 0x4882
mov dword [rsp + 0x50], 0x48cb
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
inc eax
xor word [rdx], cx
cmp eax, 9
jb 0x140003790
mov qword [rsp + 0x30], r9
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 3
mov word [rsp + 0x52], r9w
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x20], rax
add rsp, 0x60
pop rbx
ret
Function at 0x140008770
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0x4882
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
lea edx, [r9 + rax]
inc eax
xor word [r8], dx
cmp eax, 8
jb 0x140008780
mov word [rcx + 0x10], r10w
mov rax, rcx
ret

Function at 0x1400087a0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0x4882
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
lea edx, [r9 + rax]
inc eax
xor word [r8], dx
cmp eax, 0xe
jb 0x1400087b0
mov word [rcx + 0x1c], r10w
mov rax, rcx
ret

Function at 0x1400087d0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0x4882
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
lea edx, [r9 + rax]
inc eax
xor word [r8], dx
cmp eax, 0xa
jb 0x1400087e0
mov word [rcx + 0x14], r10w
mov rax, rcx
ret

Function at 0x140009170
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0x4882
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
lea edx, [r9 + rax]
inc eax
xor word [r8], dx
cmp eax, 9
jb 0x140009180
mov word [rcx + 0x12], r10w
mov rax, rcx
ret
Function at 0x14000e7b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov qword [rsp + 0x40], r15
mov rdi, rcx
xor r13d, r13d
movabs r12, 0xb5026f5aa96619e9
nop dword [rax]
nop dword [rax + rax]
mov rsi, r13
mov rbp, r13
test r14, r14
je 0x14000e9e5
mov r8, qword [rdi + 8]
movabs r15, 0x38eb3ffff6d3
nop dword [rax]
lea ecx, [r8 + 0xff]
shl rsi, cl
add rsi, rsi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x138
jne 0x14000e885
lea rax, [r10 + 0x10]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 8]
xor r8d, dword [rax]
lea rax, [rax + 8]
btr r8d, 0x1f
xor r8, qword [rax - 0x10]
movzx ecx, r8b
and cl, 1
neg cl
sbb rdx, rdx
shr r8, 1
and rdx, r12
xor rdx, qword [rax + 0x4d0]
xor rdx, r8
mov qword [rax + 0x9b0], rdx
sub r9, 1
jne 0x14000e840
mov ecx, dword [r10]
jmp 0x14000e96b
cmp ecx, 0x270
jb 0x14000e96b
lea r11, [r10 + 0x9c8]
mov ebx, 0x9c
mov rax, qword [r11]
mov rdx, rax
lea r8, [r11 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r11 + 0x4e0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x14000e8a0
lea r11, [r10 + 0xea8]
mov ebx, 0x9b
mov rax, qword [r11]
nop dword [rax]
mov rdx, rax
lea r8, [r11 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r11 - 0xea0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x14000e8f0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov ecx, r13d
mov dword [r10], r13d
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
xor rdx, rax
mov rax, rdx
and rax, r15
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
mov rdx, qword [rdi + 0x10]
cmp rax, rdx
ja 0x14000e820
mov r8, qword [rdi + 8]
or rsi, rax
lea ecx, [r8 + 0xff]
shl rbp, cl
add rbp, rbp
or rbp, rdx
cmp rbp, r14
jb 0x14000e810
mov r15, qword [rsp + 0x40]
xor edx, edx
mov rax, rbp
div r15
mov rcx, rax
mov r8, rdx
xor edx, edx
mov rax, rsi
div r15
cmp rax, rcx
jb 0x14000ea09
cmp r8, r14
jne 0x14000e7f0
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rbp, qword [rsp + 0x38]
xor edx, edx
mov rsi, qword [rsp + 0x48]
div r15
mov eax, edx
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140025040
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 0x140025082
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 0x140025220
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 [0x1400c3078]
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 + 0x218]
mov r14, qword [rcx + r8*8 + 0x1d0]
add rbx, rax
mov rax, qword [rcx + 0x3e8]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x84], 3
je 0x14002532a
lea rax, [0x1400250d0]
cmp qword [rcx + r8*8 + 0x1f8], rax
jne 0x14002532a
cmp qword [rbx], 0
je 0x1400252b1
test rdi, rdi
je 0x14002532a
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, r14
call fcn.1400364f0
cmp eax, 0xffffffff
je 0x14002532a
test al, 1
je 0x14002532a
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140025309
mov eax, dword [rbp + 0x6ec]
lea ecx, [rax + rax]
mov qword [rbx + 8], rcx
call qword [str.HA_a_]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x140025364
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 0x14002532a
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 0x1400253a3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
jne 0x140025373
xor ebx, ebx
mov dword [rsi], 0x51
jmp 0x1400253a3
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_27
mov rax, 0xffffffffffffffff
jmp 0x1400253a6
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.140039aa0
mov r8, rax
lea rdx, str.Send_failure:__s
mov rcx, rbp
call fcn.140024e30
mov dword [rbp + 0xd94], edi
mov dword [rsi], gethostname
mov rax, rbx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140066e00
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x268], 0
je 0x1400258dd
call fcn.14001edc0
test eax, eax
jne 0x140025903
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x1d0]
cmp rcx, 0xffffffffffffffff
je 0x1400258d6
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1400258d6
mov al, 1
add rsp, 0x28
ret
Function at 0x140025b50
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x1400c3078]
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 0x140025c03
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.140039aa0
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.140024e30
jmp 0x140025cd3
movzx ecx, word [rsp + 0x30]
sub ecx, 1
je 0x140025ca8
sub ecx, 1
je 0x140025c4d
cmp ecx, 0x15
jne 0x140025c59
lea rdx, [rsp + 0x38]
mov ecx, reloc.WS2_32.dll_socket
mov r8, rbx
mov r9d, reloc.WLDAP32.dll_Ordinal_46
call fcn.140056cf0
test rax, rax
je 0x140025c59
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rdi], eax
jmp 0x140025cd3
lea rdx, [rsp + 0x34]
mov ecx, 2
jmp 0x140025c25
mov byte [rbx], 0
mov dword [rdi], 0
call fcn.140074a1c
mov dword [rax], 0x273f
call fcn.140074a1c
mov ebx, dword [rax]
call fcn.140074a1c
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.140039aa0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.140024e30
jmp 0x140025cd3
cmp dword [rsp + 0x20], 2
jle 0x140025cca
lea r9, [rsp + 0x32]
mov edx, reloc.WLDAP32.dll_Ordinal_46
lea r8, [0x14009ae90]
mov rcx, rbx
call fcn.140037d20
jmp 0x140025ccd
mov byte [rbx], 0
mov dword [rdi], 0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140066e00
add rsp, 0x1c0
pop rdi
pop rsi
pop rbx
ret

Function at 0x140026600
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x140605c20]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x140026664
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.140057400
test al, al
je 0x140026658
mov dword [0x140605c20], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x140605c20], 1
jmp 0x140026669
cmp eax, 2
je 0x1400266bb
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 0x14002669a
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x1400266bb
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 0x140027e30
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x14009caa0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140027e5a
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, [0x14009cac0]
mov rcx, rbx
mov r14, rax
call fcn.14007f840
test rax, rax
je 0x140027ebd
mov rcx, rbx
test r14, r14
je 0x140027ea7
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 0x140027ef5
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140027ef5
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 0x140027fb8
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x140027f20
lea ecx, [rax + 1]
add rcx, rdx
call qword [str.HA_a_]
mov rdi, rax
test rax, rax
je 0x140027faa
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140027faa
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x140027f50
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x140027f64
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 0x140027f80
mov rcx, rdi
test r14, r14
je 0x140027fa1
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x140027fa7
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.140071934]
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 0x140028020
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1400c3078]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140028086
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140028069
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140028063
shr ax, 8
cmp al, 2
je 0x140028086
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140066e00
add rsp, 0x1e8
ret
call fcn.140058530
test eax, eax
jne 0x140028290
mov qword [rsp + 0x200], rsi
lea rcx, [0x14009caa0]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1400280c6
mov qword [0x140605c30], rsi
jmp 0x14002824d
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, [0x14009cac0]
call fcn.14007f840
test rax, rax
je 0x14002812a
mov rcx, rbx
test rbp, rbp
je 0x14002811c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x14002820c
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x14002820c
test rbp, rbp
je 0x140028159
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140028159
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x14002820c
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 0x140028204
lea ecx, [rax + 1]
add rcx, 0xc
call qword [str.HA_a_]
mov rdi, rax
test rax, rax
je 0x1400281fb
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400281fb
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x1400281a5
mov edx, 0x5c
mov word [rax + rdi], dx
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], sil
jne 0x1400281c0
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 0x1400281d2
mov rcx, rdi
test rbp, rbp
je 0x1400281f2
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x1400281f8
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.140071934]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x140605c30], rsi
test rsi, rsi
je 0x14002824d
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140605c28]
test rax, rax
cmovne rcx, rax
mov qword [0x140605c28], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140057400
test al, al
lea rcx, [0x140607cc0]
setne byte [0x140607cb8]
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.140066e00
add rsp, 0x1e8
ret
Function at 0x14002a030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r8, rdx
movzx edx, byte [rcx]
test dl, dl
je 0x14002a065
lea r9, [0x14009cd90]
movzx eax, byte [r8]
test al, al
je 0x14002a065
movzx eax, byte [rax + r9]
movzx edx, dl
cmp byte [rdx + r9], al
jne 0x14002a077
movzx edx, byte [rcx + 1]
inc rcx
inc r8
test dl, dl
jne 0x14002a041
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 0x14003b020
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.14002daf0
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x140019d59.0
mov rcx, rdi
mov rsi, rax
call case.0x140019d59.0
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x14003b0d0
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14002daf0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.14002db80
cmp rax, 0x3e8
ja 0x14003b101
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 0x14003b080
test rsi, rsi
je 0x14003b0dd
mov rcx, rsi
call fcn.140071934
test rbx, rbx
je 0x14003b0ea
mov rcx, rbx
call fcn.140071934
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 0x14003b10e
mov rcx, rsi
call fcn.140071934
test rbx, rbx
je 0x14003b11b
mov rcx, rbx
call fcn.140071934
mov eax, 1
jmp 0x14003b0ec