joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400806e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x3358]
mov eax, 0x3458
call fcn.1402253e0
sub rsp, rax
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rbp + 0x3340], rax
mov r15, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0x2f40]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x1402d5c0c]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14008074f
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
lea r8, [rax + 1]
jmp 0x140080752
mov r8, rdi
lea rcx, [rbp + 0x2f40]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140080760
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140080770
lea rcx, [rbp + 0x2f40]
call fcn.14007faa0
mov rbx, rax
test rax, rax
jne 0x14008097f
mov qword [rsp + 0x3490], rsi
mov dword [rsp + 0x20], 0x6867766f
mov dword [rsp + 0x24], 0x64632869
mov word [rsp + 0x28], 0x65
mov byte [rsp + 0x2a], 1
nop dword [rax]
lea ecx, [rax + 1]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 9
jb 0x1400807c0
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x2a], 0
call fcn.14007faa0
mov rsi, rax
test rax, rax
je 0x140080974
mov rcx, r15
mov qword [rsp + 0x3450], r14
call fcn.1400860d0
mov r14, rax
test rax, rax
je 0x14008096c
mov rbx, 0xffffffffffffffff
add rsi, 0x1000
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140080820
lea rax, [rsi + 1]
mov rdx, rsi
add rax, rcx
lea rcx, [rbp + 0xf30]
mov qword [rbp + 0x1f30], rax
call fcn.140086170
mov rdx, rax
lea rcx, [rsp + 0x30]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1f40]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402f59e3], rax
mov qword [0x1402f59b8], r15
mov qword [0x1402f59c2], r14
mov qword [0x1402f59d9], rsi
cmp byte [rdi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140080893
lea r8d, [rbx + 1]
mov rdx, rdi
mov rcx, rsi
call fcn.14007f930
mov rcx, qword [rbp + 0x1f30]
lea rdx, str.QRUVSWAPAQARASATAUAVAWH
mov r8d, WSAGetLastError
call fcn.14007f930
mov ecx, 4
call fcn.140087f68
mov edx, 8
mov r9, rax
mov rcx, r15
lea r8d, [rdx - 4]
call fcn.14007f890
mov r8d, 8
lea rdx, [rbp + 0x1f30]
mov rcx, r15
call fcn.14007f930
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [rax + 0x1b58]
nop word [rax + rax]
lea rcx, [rbp + 0x2f40]
call fcn.14007faa0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
ja 0x140080939
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140080910
mov ecx, 4
call fcn.140087f68
mov edx, 8
mov r9, rax
mov rcx, r15
lea r8d, [rdx - 6]
call fcn.14007f890
mov r8d, 0x1000
lea rdx, [rbp + 0x1f40]
mov rcx, rsi
call fcn.14007f930
mov r14, qword [rsp + 0x3450]
mov rsi, qword [rsp + 0x3490]
mov rax, rbx
mov rcx, qword [rbp + 0x3340]
xor rcx, rsp
call fcn.140087b10
add rsp, 0x3458
pop r15
pop rdi
pop rbx
pop rbp
ret
Function at 0x140080fd0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1c], 0
je 0x140080ff3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1b
jb 0x140080fe0
mov byte [rcx + 0x1c], 0
mov rax, rcx
ret
Function at 0x140081640
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x140081663
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x140081650
mov byte [rcx + 0x19], 0
mov rax, rcx
ret
Function at 0x140081b00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [0x1402d6d60]
xor eax, eax
movdqa xmm1, xmmword [0x1402d6c60]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x40], 0x53515f51
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x44], 0x100
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 6]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x24
jb 0x140081b50
movdqa xmm0, xmmword [0x1402d6a50]
lea rax, [rsp + 0x20]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x45], 0
mov r8, 0xffffffffffffffff
mov byte [rsp + 0x48], 0
inc r8
cmp byte [rax + r8], 0
jne 0x140081b84
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.14007c560
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
movabs rax, 0x842108421084211
and r8d, 0x1f
mul r8
mov ecx, r8d
lea rax, [rsp + 0x48]
sub rcx, rdx
shr rcx, 1
add rcx, rdx
mov rdx, qword [rsp + 0x60]
shr rcx, 4
imul rcx, rcx, 0x1f
sub r8, rcx
mov rcx, qword [rsp + 0x48]
cmp rdx, 0x10
cmovae rax, rcx
movzx ebx, byte [rax + r8 + 1]
jb 0x140081c1d
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081c18
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081c18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140087b3c
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140087b10
add rsp, 0x70
pop rbx
ret
Function at 0x140082f40
Capabilities:
Create thread
Encode data using xor
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov dword [rbp + 0x67], 0x49564152
xor ecx, ecx
mov dword [rbp + 0x6b], 0x1002625
nop
lea eax, [rcx + 1]
xor byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 6
jb 0x140082f60
lea rdx, [rbp + 0x67]
mov byte [rbp + 0x6e], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x14008301d
mov qword [rsp + 0x28], rax
lea r8, [0x14007ea10]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x1406af9c0]
call fcn.14007b510
movdqa xmm0, xmmword [0x1402d6ec0]
lea rcx, [rbp - 9]
movdqa xmm1, xmmword [0x1402d6f50]
mov r8, rax
movdqa xmmword [rbp - 9], xmm0
movdqa xmm0, xmmword [0x1402d6c30]
movdqa xmmword [rbp + 0x17], xmm0
movdqa xmm0, xmmword [str.___8k_n_30z]
movdqa xmmword [rbp + 7], xmm1
movdqa xmm1, xmmword [0x1402d6cd0]
movdqa xmmword [rbp + 0x37], xmm0
movdqa xmmword [rbp + 0x27], xmm1
mov byte [rbp + 0x47], 1
call fcn.1400830a0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14008308b
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [rbp + 0x67], 0x49564152
mov dword [rbp + 0x6b], 0x1002625
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 1]
xor byte [rbp + rax + 0x67], cl
inc rax
cmp rax, 6
jb 0x140083050
lea rdx, [rbp + 0x67]
mov byte [rbp + 0x6e], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [0x1406b2a3c]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x14008301d
mov byte [reloc.WS2_32.dll_accept], 0
call fcn.140082ae0
int3

Function at 0x1400830a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x50], 0
je 0x1400830c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x4f
jb 0x1400830b0
mov byte [rcx + 0x50], 0
mov rax, rcx
ret
Function at 0x140084750
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4a], 0
je 0x140084773
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x49
jb 0x140084760
mov byte [rcx + 0x4a], 0
mov rax, rcx
ret

Function at 0x140084780
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6f], 0
je 0x1400847a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x6e
jb 0x140084790
mov byte [rcx + 0x6f], 0
mov rax, rcx
ret
Function at 0x140084e80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x7f], 0
je 0x140084ea3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x7e
jb 0x140084e90
mov byte [rcx + 0x7f], 0
ret

Function at 0x140084eb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x140084ed3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x140084ec0
mov byte [rcx + 4], 0
ret

Function at 0x140084ee0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x26], 0
je 0x140084f03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x25
jb 0x140084ef0
mov byte [rcx + 0x26], 0
ret

Function at 0x140084f10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x57], 0
je 0x140084f33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x56
jb 0x140084f20
mov byte [rcx + 0x57], 0
ret

Function at 0x140084f40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x52], 0
je 0x140084f63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x51
jb 0x140084f50
mov byte [rcx + 0x52], 0
ret

Function at 0x140084f70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1b], 0
je 0x140084f93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1a
jb 0x140084f80
mov byte [rcx + 0x1b], 0
ret

Function at 0x140084fa0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x24], 0
je 0x140084fc3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x23
jb 0x140084fb0
mov byte [rcx + 0x24], 0
ret

Function at 0x140084fd0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x18], 0
je 0x140084ff3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x17
jb 0x140084fe0
mov byte [rcx + 0x18], 0
ret

Function at 0x140085000
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1d], 0
je 0x140085023
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1c
jb 0x140085010
mov byte [rcx + 0x1d], 0
ret

Function at 0x140085030
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 3], 0
je 0x140085053
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 2
jb 0x140085040
mov byte [rcx + 3], 0
ret

Function at 0x140085190
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x1400851b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x1400851a0
mov byte [rcx + 6], 0
ret

Function at 0x1400851c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
je 0x1400851e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xb
jb 0x1400851d0
mov byte [rcx + 0xc], 0
ret
Function at 0x1400851f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
je 0x140085213
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x13
jb 0x140085200
mov byte [rcx + 0x14], 0
ret

Function at 0x140085220
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x140085243
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x140085230
mov byte [rcx + 0x1a], 0
ret

Function at 0x140085250
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x12], 0
je 0x140085273
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x11
jb 0x140085260
mov byte [rcx + 0x12], 0
ret

Function at 0x140085280
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x1400852a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x140085290
mov byte [rcx + 0x10], 0
ret

Function at 0x1400852b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x1400852d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x1400852c0
mov byte [rcx + 8], 0
ret

Function at 0x1400852e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x140085303
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xd
jb 0x1400852f0
mov byte [rcx + 0xe], 0
ret

Function at 0x140085310
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x140085333
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x140085320
mov byte [rcx + 9], 0
ret

Function at 0x140085340
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x140085363
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 6]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x140085350
mov byte [rcx + 0x11], 0
ret

Function at 0x1400860d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [0x1406b2a48]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x4c], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x30], 0x64
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x48], 8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x1406b2a50]
lea r9, [rsp + 0x58]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
mov dword [rsp + 0x4c], eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140087b10
add rsp, 0x78
ret
Function at 0x140086170
Capabilities:
Write file on windows

Disassembly:
push rbx
mov eax, 0x1070
call fcn.1402253e0
sub rsp, rax
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov eax, dword [0x1406b2a48]
mov rbx, rcx
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x4c], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x30], 0x64
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x48], 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x1406b2a50]
lea r9, [rsp + 0x58]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
mov dword [rsp + 0x4c], eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, rbx
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.140087b10
add rsp, 0x1070
pop rbx
ret

Function at 0x140091650
Capabilities:
Set thread local storage value

Disassembly:
mov eax, Ordinal_41
call fcn.1402253e0
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140092530
Capabilities:
Initialize winsock library

Disassembly:
mov eax, Ordinal_41
call fcn.1402253e0
sub rsp, rax
cmp dword [0x1406b0ac0], 0
jne 0x1400925ea
xor edx, edx
mov dword [0x1406b0ac0], 1
mov r8d, 0x198
lea rcx, [0x1406b0ad0]
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x202
lea rdx, [0x1406b0ad0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400925ea
call fcn.14008cbf0
lea r8, str.BIO_sock_init
mov edx, 0x92
lea rcx, str.crypto_bio_bio_sock.c
call fcn.14008cd10
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_wsastartup__
mov ecx, 2
mov edx, eax
call fcn.14008ce10
call fcn.14008cbf0
lea r8, str.BIO_sock_init
mov edx, __WSAFDIsSet
lea rcx, str.crypto_bio_bio_sock.c
call fcn.14008cd10
xor r8d, r8d
lea edx, [r8 + 0x7a]
lea ecx, [rdx - 0x5a]
call fcn.14008ce10
mov eax, 0xffffffff
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret

Function at 0x140092600
Capabilities:
Set socket configuration

Disassembly:
push rbx
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1402253e0
sub rsp, rax
mov dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
movsxd rcx, ecx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
test eax, eax
jns 0x140092662
call fcn.14008cbf0
lea r8, str.BIO_socket_ioctl
mov edx, Ordinal_211
lea rcx, str.crypto_bio_bio_sock.c
call fcn.14008cd10
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_ioctlsocket__
mov ecx, 2
mov edx, eax
call fcn.14008ce10
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x20
pop rbx
ret
Function at 0x140094950
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x280
call fcn.1402253e0
sub rsp, rax
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp dword [0x1406b0da8], 0
lea rax, [0x1400942a0]
mov qword [rsp + 0x28], rax
lea rbx, [0x14022a108]
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x140094700]
mov qword [rsp + 0x38], rax
lea rax, [0x14022a128]
mov qword [rsp + 0x40], rax
lea rax, [0x140094240]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rbx
jne 0x140094b29
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140094b1f
lea r8, [rsp + 0x160]
mov qword [rsp + 0x290], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.ws2_32
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140094a4c
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140094aae
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.wship6
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140094b17
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140094aae
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140094b17
mov qword [rsp + 0x298], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
nop dword [rax]
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x140094b06
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140094ac0
mov rax, qword [rsp + 0x28]
mov qword [0x1402f35a0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1402f35b0], rax
mov rax, qword [rsp + 0x48]
mov qword [str._B_t_], rax
jmp 0x140094b0f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov dword [0x1406b0da8], 1
mov rax, rbp
lea rcx, [0x1402f3598]
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140087b10
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rbp
ret
Function at 0x140094b60
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x870
call fcn.1402253e0
sub rsp, rax
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r13, qword [rsp + 0x8c8]
mov r14, rcx
mov dword [rsp + 0x24], r8d
xor r15d, r15d
mov dword [rsp + 0x28], edx
mov r8d, 0x401
mov qword [rsp + 0x38], rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov word [rsp + 0x20], r9w
mov r12d, r15d
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x400
lea rbx, [rsp + 0x40]
mov r8, r14
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
lea rdi, [rsp + 0x450]
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea rbp, [r15 - 1]
mov rcx, r14
mov qword [r13], r15
mov rsi, r13
mov byte [rdi], r15b
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x140094d61
cmp word [rax + 0x10], 2
jne 0x140094c87
cmp word [rax + 0x12], 4
jne 0x140094c87
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x140094c82
nop word [rax + rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
call fcn.140094dd0
mov qword [rsi], rax
test rax, rax
je 0x140094d59
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x140094c50
mov rbx, qword [rsp + 0x30]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rdi
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmp qword [r13], r15
jne 0x140094d01
mov rax, rbp
inc rax
cmp byte [rdi + rax], r15b
jne 0x140094ca6
test rax, rax
je 0x140094d7b
mov r8, rdi
mov rax, rbx
sub r8, rbx
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140094cd4
inc rax
test ecx, ecx
jne 0x140094cc1
test edx, edx
je 0x140094d7b
inc r12d
cmp r12d, 0x10
je 0x140094d7b
mov r14, qword [rsp + 0x38]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x30], rbx
jmp 0x140094c11
cmp dword [rsp + 0x8c0], r15d
je 0x140094d91
nop
cmp byte [rdi + rbp + 1], r15b
lea rbp, [rbp + 1]
jne 0x140094d10
lea rdx, [rbp + 1]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x140094d37
mov rbx, r15
jmp 0x140094d47
mov r8, rdi
lea rdx, [rbp + 1]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rax, qword [r13]
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], r15
jne 0x140094d91
mov r15d, 8
jmp 0x140094d91
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x140094d8b
sub ecx, 1
je 0x140094d83
sub ecx, 1
jne 0x140094d8b
mov r15d, 0x2afb
jmp 0x140094d91
mov r15d, 0x2afa
jmp 0x140094d91
mov r15d, 0x2af9
mov eax, r15d
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140087b10
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret