joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dc10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x1401c23f0]
xor ebp, ebp
cmp byte [rbx + 0x5f18], bpl
jne 0x14001dd0c
cmp dword [rbx + 0x5f40], ebp
je 0x14001dc57
mov r8d, 0x339a
lea rdx, str.C:UserspcDesktopimgui_spooferimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001dd05
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003df0
mov rdi, rax
test rax, rax
je 0x14001dd05
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001dc91
mov rcx, rax
call fcn.14001de60
mov r8, qword [0x1401c23f0]
test r8, r8
je 0x14001dcfc
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001dcf1
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f18], 1
movss xmm0, dword [rbx + 0x5f1c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001dda9
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f1c], xmm0
jb 0x14001dda9
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001dd97
mov rax, qword [0x1401c23f0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f1c], ebp
call fcn.14001e0e0
lea rdx, [0x1401302fc]
mov rcx, rdi
mov rsi, rax
call fcn.140003d00
mov rdi, rax
test rax, rax
je 0x14001dd9e
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001dd9e
mov byte [rbx + 0xce], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x5f1c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ddc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401c23f0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001de23
mov qword [rsp], rbx
lea rbx, [0x140130b10]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001de03
cmp byte [r8], r9b
jne 0x14001de03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001ddf0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f30]
not eax
mov r8, qword [r10 + 0x5f38]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001de4f
cmp dword [r8 + 8], eax
je 0x14001de56
add r8, 0x48
cmp r8, rcx
jne 0x14001de40
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400437a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rsi
push r15
mov eax, 0x13d8
call fcn.140101ab0
sub rsp, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x1400437d0
mov r15, qword [0x1401c2550]
xor esi, esi
mov rax, qword [0x1401c2558]
sub rax, r15
mov dword [rsp + 0x20], 0x270
sar rax, 3
test rax, rax
je 0x140043a38
movss xmm4, dword [0x140138bb0]
xorps xmm5, xmm5
mov qword [rsp + 0x13f0], rbx
mov ebx, esi
mov qword [rsp + 0x13f8], rbp
mov qword [rsp + 0x1400], rdi
mov rdi, qword [0x1401c2568]
mov qword [rsp + 0x13d0], r12
mov r12, qword [0x1401c2580]
mov qword [rsp + 0x13c8], r13
mov r13, qword [0x1401c23f0]
mov qword [rsp + 0x13c0], r14
mov r14d, esi
movaps xmmword [rsp + 0x13b0], xmm6
movsd xmm6, qword [0x1401388f8]
nop dword [rax]
movss xmm1, dword [rdi + rbx]
xorps xmm2, xmm2
mov ebp, dword [r12 + r14]
movss xmm0, dword [r15 + rbx]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm6
cvtsi2ss xmm2, ebp
addsd xmm1, xmm0
movss xmm0, dword [r15 + rbx + 4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm3, xmm1
movss dword [r15 + rbx], xmm3
movss xmm1, dword [rdi + rbx + 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm6
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
subss xmm1, xmm2
movss dword [r15 + rbx + 4], xmm0
comiss xmm5, xmm1
ja 0x1400438f9
mov rax, qword [r13 + 0x4038]
addss xmm2, xmm3
comiss xmm2, dword [rax + 0x30]
ja 0x1400438f9
movss xmm2, dword [rdi + rbx + 4]
jmp 0x140043953
movss xmm0, dword [rdi + rbx]
lea rcx, [rsp + 0x20]
xorps xmm0, xmm4
movss dword [rdi + rbx], xmm0
call fcn.1400499f0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x140043938
nop
lea rcx, [rsp + 0x20]
call fcn.1400499f0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x140043920
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + rbx + 4], xmm2
movss xmm3, dword [r15 + rbx + 4]
movd xmm0, ebp
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
comiss xmm5, xmm1
ja 0x140043985
mov rax, qword [r13 + 0x4038]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
comiss xmm0, dword [rax + 0x34]
jbe 0x1400439d8
xorps xmm2, xmm4
lea rcx, [rsp + 0x20]
movss dword [rdi + rbx + 4], xmm2
call fcn.1400499f0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x1400439be
lea rcx, [rsp + 0x20]
call fcn.1400499f0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x1400439a6
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + rbx], xmm0
mov rcx, qword [0x1401c2558]
inc esi
sub rcx, qword [0x1401c2550]
add rbx, 8
sar rcx, 3
add r14, 4
movsxd rax, esi
cmp rax, rcx
jb 0x140043880
movaps xmm6, xmmword [rsp + 0x13b0]
mov r14, qword [rsp + 0x13c0]
mov r13, qword [rsp + 0x13c8]
mov r12, qword [rsp + 0x13d0]
mov rdi, qword [rsp + 0x1400]
mov rbp, qword [rsp + 0x13f8]
mov rbx, qword [rsp + 0x13f0]
add rsp, 0x13d8
pop r15
pop rsi
ret
Function at 0x140043d90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x13b0
call fcn.140101ab0
sub rsp, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x140043dc0
mov dword [rsp + 0x20], 0x270
mov edi, __WSAFDIsSet
mov esi, 0xffffffff
lea rcx, [rsp + 0x20]
call fcn.1400499f0
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x319
ja 0x140043e2a
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.1400499f0
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x31a
jb 0x140043e10
shr rax, 0x20
lea rcx, [rsp + 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.1400499f0
mov ecx, eax
mov rbx, rdi
movaps xmm1, xmm0
imul rax, rcx, 0x7bd
cmp eax, 0x7bd
jae 0x140043e7a
cmp eax, 0x330
jae 0x140043e7a
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.1400499f0
mov ecx, eax
imul rax, rcx, 0x7bd
cmp eax, 0x330
jb 0x140043e60
mov rdx, qword [0x1401c2558]
shr rax, 0x20
cmp rdx, qword [0x1401c2560]
movss dword [rsp + 0x13dc], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x13d8], xmm0
je 0x140043ec1
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x1401c2558], 8
movsd qword [rsp + 0x13d8], xmm0
jmp 0x140043ed5
lea r8, [rsp + 0x13d8]
lea rcx, [0x1401c2550]
call fcn.1400497b0
lea rcx, [rsp + 0x20]
call fcn.1400499f0
mov eax, eax
lea rcx, [rsp + 0x20]
add rax, rax
shr rax, 0x20
lea eax, [rax*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1400499f0
mov rdx, qword [0x1401c2570]
mov ecx, eax
mov eax, 1
add rcx, rcx
movss dword [rsp + 0x13e4], xmm1
shr rcx, 0x20
test ecx, ecx
cmove eax, esi
cmp rdx, qword [0x1401c2578]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x13e0], xmm0
je 0x140043f56
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x1401c2570], 8
movsd qword [rsp + 0x13e0], xmm0
jmp 0x140043f6a
lea r8, [rsp + 0x13e0]
lea rcx, [0x1401c2568]
call fcn.1400497b0
mov rdx, qword [0x1401c2588]
cmp rdx, qword [0x1401c2590]
mov dword [rsp + 0x13d0], 3
je 0x140043f95
mov dword [rdx], 3
add qword [0x1401c2588], 4
jmp 0x140043fa2
lea r8, [rsp + 0x13d0]
call fcn.140049600
lea rdi, [rbx - 1]
test rdi, rdi
jne 0x140043df1
add rsp, 0x13b0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400499f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140049a51
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140049a10
mov ecx, dword [r9]
jmp 0x140049b3b
cmp ecx, 0x4e0
jb 0x140049b3b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140049a70
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140049ac0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140052698
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 0x1400526e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400526c0
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 0x140052704
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 0x14005274f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140052724
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 0x140052768
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 0x1400527b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140052788
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 0x1400527cc
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 0x140052818
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400527f4
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 0x140052838
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 0x14005288e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140052863
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 0x14005f9f0
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 0x14005fa81
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14005fa5a
mov rax, qword [rdi + 8]
mov dword [rax], 2
xor al, al
jmp 0x14005fb45
mov r8, qword [rdi + 0x18]
mov rcx, rsi
mov rdx, qword [rdi + 0x10]
mov r8, qword [r8]
mov rdx, qword [rdx]
call fcn.140073ce0
mov ecx, eax
mov rax, qword [rdi + 8]
mov dword [rax], ecx
mov rax, qword [rdi + 8]
cmp dword [rax], 0
jne 0x14005fa53
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 0x1400634f8
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 0x140063685
cmp ecx, 0x7c
je 0x140063685
cmp ecx, 0x29
jne 0x140063572
cmp dword [rdi + 0x1c], 0
jne 0x140063685
lea rbx, [rdi + 0x80]
test dword [rbx], 0x10000000
je 0x14006369e
cmp ecx, 0x5d
jne 0x14006354f
test dword [rbx], 0x10000000
je 0x1400636ac
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.140062aec
mov rcx, rdi
call fcn.140067508
mov rcx, rdi
call fcn.14006757c
mov ecx, dword [rdi + 0x7c]
mov al, 1
jmp 0x14006350a
lea rbx, [rdi + 0x80]
cmp ecx, 0x2e
jne 0x140063589
lea rcx, [rdi + 0x40]
call fcn.140062d74
jmp 0x14006355b
cmp ecx, 0x5c
jne 0x1400635d7
mov rcx, rdi
call fcn.140067508
test byte [rbx], 0x80
je 0x1400635cd
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x1400635b5
lea rcx, [rdi + 0x40]
call fcn.1400634ec
mov rcx, rdi
call fcn.140067508
jmp 0x14006356b
cmp al, 0x42
jne 0x1400635cd
lea rcx, [rdi + 0x40]
call fcn.1400634ec
lea rcx, [rdi + 0x40]
call fcn.1400674a4
jmp 0x1400635ab
mov rcx, rdi
call fcn.1400636c8
jmp 0x140063563
cmp ecx, 0x5b
jne 0x140063602
mov rcx, rdi
call fcn.140067508
mov rcx, rdi
call fcn.14006401c
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.140065cf8
jmp 0x140063563
cmp ecx, 0x28
jne 0x140063637
mov rcx, rdi
call fcn.140067508
mov rcx, rdi
call fcn.140067ca4
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.140065cf8
test bl, bl
je 0x14006356b
jmp 0x140063563
cmp ecx, 0x5e
jne 0x14006364a
lea rcx, [rdi + 0x40]
call fcn.140062ae0
jmp 0x1400635ab
cmp ecx, 0x24
jne 0x14006365d
lea rcx, [rdi + 0x40]
call fcn.140062e74
jmp 0x1400635ab
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400636ba
cmp ecx, 0x3f
je 0x1400636ba
cmp ecx, 0x7b
je 0x1400636ba
cmp ecx, 0x7d
jne 0x14006353e
test dword [rbx], 0x10000000
je 0x140063690
jmp 0x14006354f
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 6
mov rcx, rdi
call fcn.140065cec
int3
mov edx, 5
mov rcx, rdi
call fcn.140065cec
int3
mov edx, 4
mov rcx, rdi
call fcn.140065cec
int3
mov edx, 0xa
mov rcx, rdi
call fcn.140065cec
int3
Function at 0x1400692ac
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 0x140069318
mov r8b, byte [rsp + 0x60]
mov rdx, rax
call fcn.14004f4cc
and qword [rbx + 0x10], 0
mov rax, qword [rdi + 0x10]
xor esi, esi
lea r14d, [rsi - 6]
cmp qword [rdi + 0x18], 0x10
jb 0x140069330
mov rbp, qword [rdi]
mov rcx, rbp
mov rdi, rbp
jmp 0x140069336
mov rbp, rdi
mov rcx, rdi
lea r12, [rax + rcx]
cmp rdi, r12
je 0x14006945b
lea r8, [0x1401096c0]
shl esi, 8
movzx eax, byte [rbp]
add esi, eax
add r14d, 8
js 0x1400693d3
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 0x1400693b0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400693a5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400693c9
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.14004f38c
lea r8, [0x1401096c0]
sub rdi, 6
sub r15, 1
jne 0x140069376
inc rbp
cmp rbp, r12
jne 0x14006934a
cmp r14d, 0xfffffffa
jle 0x14006945b
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 0x140069449
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140069418
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14006945b
cmp rcx, qword [rbx + 0x18]
jae 0x140069446
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14006943e
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14006945b
mov r9b, 0x3d
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.14004f38c
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x140069423
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 0x14006cce8
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword [0x140158180]
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 0x14006cd29
cmp word [rcx], 0x17
jne 0x14006cdcd
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 0x14006cdcd
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x14006cd7e
cmp rbx, qword [rdi + 0x18]
ja 0x14006cdb4
cmp qword [rdi + 0x18], 0x10
mov rsi, rdi
jb 0x14006cd9a
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 0x14006cdc9
mov r8b, byte [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.14004efa8
mov al, 1
jmp 0x14006cdcf
xor al, al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140101b10
add rsp, 0x470
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14006cdfc
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140158180]
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 0x14006ce51
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.14006cce8
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140101b10
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret

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

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14006cdfc
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140158180]
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 0x14006ce51
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.14006cce8
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140101b10
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret