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

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
lea r14, [rcx + 0x18]
cmp qword [r14], 7
mov rdi, rcx
mov dword [rsp + 0x60], r15d
jbe 0x140045f51
mov rcx, qword [rcx]
lea rsi, [rdi + 0x18]
jmp 0x140045f54
mov rsi, r14
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140045fd5
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x140045fc9
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140045fc1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400460cb
mov rcx, r8
call fcn.14009ec18
mov r14, rsi
mov qword [r14], 7
jmp 0x1400460ad
cmp rbp, 0xffffffffffffffff
jne 0x14004602b
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x14004601d
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140046018
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400460cb
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.14009ec18
mov qword [rsi], 7
xor al, al
jmp 0x1400460af
lea r9, [rsp + 0x60]
mov qword [rsp + 0x68], rbx
mov r8d, 0x23600
mov qword [rsp + 0x20], r15
lea rdx, [0x1401bf070]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [r14]
test bl, bl
mov rbx, qword [rsp + 0x68]
je 0x140045fde
cmp rdx, 7
jbe 0x1400460a6
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400460a1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400460cb
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.14009ec18
mov qword [rsi], 7
mov al, 1
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov word [rdi], r15w
mov qword [rdi + 0x10], r15
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400460e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
lea r14, [rcx + 0x18]
cmp qword [r14], 7
mov rdi, rcx
mov dword [rsp + 0x60], r15d
jbe 0x140046111
mov rcx, qword [rcx]
lea rsi, [rdi + 0x18]
jmp 0x140046114
mov rsi, r14
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140046195
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x140046189
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140046181
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004628b
mov rcx, r8
call fcn.14009ec18
mov r14, rsi
mov qword [r14], 7
jmp 0x14004626d
cmp rbp, 0xffffffffffffffff
jne 0x1400461eb
mov rdx, qword [r14]
cmp rdx, 7
jbe 0x1400461dd
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400461d8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004628b
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.14009ec18
mov qword [rsi], 7
xor al, al
jmp 0x14004626f
lea r9, [rsp + 0x60]
mov qword [rsp + 0x68], rbx
mov r8d, 0x6458
mov qword [rsp + 0x20], r15
lea rdx, [0x1401b84f0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [r14]
test bl, bl
mov rbx, qword [rsp + 0x68]
je 0x14004619e
cmp rdx, 7
jbe 0x140046266
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140046261
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004628b
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.14009ec18
mov qword [rsi], 7
mov al, 1
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov word [rdi], r15w
mov qword [rdi + 0x10], r15
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400465a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
xor r8d, r8d
mov dword [rbp - 0x59], 0xf3d1f3d0
mov eax, r8d
mov dword [rbp - 0x55], 0xf3d3f3a0
mov dword [rbp - 0x51], 0xf3e0f3eb
mov edx, 0xc74
mov dword [rbp - 0x4d], 0xf3f6f3e5
mov dword [rbp - 0x49], 0xf3faf3e4
mov dword [rbp - 0x45], 0xf3f8f3e7
mov dword [rbp - 0x41], 0xf3fcf3e8
mov dword [rbp - 0x3d], 0xf3ebf3f5
mov dword [rbp - 0x39], 0xf3ecf3eb
mov dword [rbp - 0x35], 0xf3f0f3fb
mov dword [rbp - 0x31], 0xf3d0f3d7
mov dword [rbp - 0x2d], 0xf3d3f3cd
mov dword [rbp - 0x29], 0xf3d2f3c1
mov dword [rbp - 0x25], 0xf3c8f3d7
mov dword [rbp - 0x21], 0xf3c6f3cd
mov dword [rbp - 0x1d], 0xf3daf3dd
mov dword [rbp - 0x19], 0xf3c2f3c9
mov dword [rbp - 0x15], 0xf3def3d9
mov dword [rbp - 0x11], 0xf3d4f3df
mov dword [rbp - 0xd], 0xf3c2f3dd
mov dword [rbp - 9], 0xf3daf3c3
mov dword [rbp - 5], 0xf3d2f3c6
mov dword [rbp - 1], 0xf3cef3c9
mov dword [rbp + 3], 0xf3cbf3d5
mov dword [rbp + 7], 0xf3ccf3d9
mov dword [rbp + 0xb], 0xf3d0f3c9
mov dword [rbp + 0xf], 0xf3a4f3b0
mov dword [rbp + 0x13], 0xf3b2f3b5
mov dword [rbp + 0x17], 0xf3a0f3ab
mov dword [rbp + 0x1b], 0xf3b6f3b1
mov dword [rbp + 0x1f], 0xf3acf3a7
mov dword [rbp + 0x23], 0xf3baf3a5
mov dword [rbp + 0x27], 0xf3a2f3bb
mov dword [rbp + 0x2b], 0xf3a0f3ab
mov dword [rbp + 0x2f], 0xf3a6f3a1
mov dword [rbp + 0x33], 0xf3a3f3bd
mov dword [rbp + 0x37], 0xf3a4f3b1
mov dword [rbp + 0x3b], 0xf3b8f3a1
mov dword [rbp + 0x3f], 0xf3bcf3a8
mov dword [rbp + 0x43], 0xf3aaf3ad
mov dword [rbp + 0x47], 0xf3a1
mov byte [rbp + 0x4b], 1
nop word [rax + rax]
movzx ecx, ax
sub cx, dx
xor word [rbp + rax*2 - 0x59], cx
inc rax
cmp rax, 0x51
jb 0x1400466f0
mov qword [rsp + 0x30], r8
lea rcx, [rbp - 0x59]
mov dword [rsp + 0x28], r8d
xor r9d, r9d
mov byte [rbp + 0x4b], r8b
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14021f880], rax
test rax, rax
je 0x140046743
cmp rax, 0xffffffffffffffff
setne al
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140046820
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140046884
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rbx
test eax, eax
je 0x1400468a0
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140046860
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
mov dword [0x14021f878], eax
add rsp, 0x260
pop rdi
ret
Function at 0x14004d620
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x14021f840]
xor edi, edi
test rax, rax
je 0x14004d63d
mov rcx, qword [rax + 0xa0]
jmp 0x14004d640
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x14004d661
test rax, rax
je 0x14004d661
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x14004d661
cmp qword [rcx], rdi
je 0x14004d661
call fcn.140002500
call fcn.140002ed0
call fcn.14000af40
mov rax, qword [0x14021f840]
mov ecx, 0x2d
or dword [rax + 0x3f90], 2
mov dword [rax + 0x3fb0], 0x44160000
mov dword [rax + 0x3fb4], 0x43eb0000
mov dword [rax + 0x3f98], 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004d6b8
cmp byte [0x14017633c], dil
sete al
mov byte [0x14017633c], al
jmp 0x14004d6bf
movzx eax, byte [0x14017633c]
test al, al
mov rax, qword [0x14021f840]
je 0x14004d6f2
xor edx, edx
mov byte [rax + 0x78], 1
mov r8d, 0xab
lea rcx, [0x1400abee6]
call fcn.140010da0
test al, al
je 0x14004d6eb
call fcn.1400468d0
call fcn.140013130
jmp 0x14004d6f6
mov byte [rax + 0x78], dil
call fcn.14004b700
mov rcx, qword [0x14021faf0]
mov r9d, 1
movss xmm0, dword [0x140119a48]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x14021faf0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004d776
call fcn.14000daf0
mov rax, qword [0x14021f840]
mov rcx, qword [rax + 0x4090]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140001f30
mov rcx, qword [0x14021faf0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14021faf0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004d863
mov rcx, qword [0x14021faf0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004d863
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x14021f840]
test rbx, rbx
je 0x14004d820
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14004d820
cmp qword [rbx], rdi
je 0x14004d820
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004d7eb
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004d7fe
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004d820
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x14021f840]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x14021faf0]
lea rdx, [0x14021f8b0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x14021f840]
mov rbx, qword [rsp + 0x50]
test rax, rax
je 0x14004d863
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x14004d863
cmp qword [rax], rdi
je 0x14004d863
add rsp, 0x40
pop rdi
jmp fcn.140002500
add rsp, 0x40
pop rdi
ret
Function at 0x14004e390
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140118778]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x14004e401
lea rdx, str.failed_to_get_hwid
lea rcx, [rsp + 0x50]
call fcn.1400450b0
lea rdx, [0x14012fc08]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x80]
call fcn.140044f80
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret

Function at 0x14004e430
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
lea rdx, str.cltd6upq5004ans01u1afk1np
lea rcx, [rsp + 0x80]
call fcn.140047ae0
nop
lea rcx, [rsp + 0x80]
call fcn.14007a60c
nop
lea rcx, [rsp + 0x80]
call fcn.14004e8f0
lea rcx, [rsp + 0x60]
call fcn.14004a4e0
nop
lea rdx, str.Enter_your_license:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004f630
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14004fcb0
nop
lea rcx, [rsp + 0xa0]
call fcn.14004e390
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.14006ffc4
nop
lea rcx, [rsp + 0xa0]
call fcn.14004e8f0
lea rdx, str.Authenticated_successfully
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004f630
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [0x14004f5f0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x14004e51a
call fcn.1400465a0
movzx eax, al
test eax, eax
je 0x14004e535
lea rcx, [0x140118734]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x14004e545
call fcn.1400462a0
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14004e000
nop
lea rcx, [rsp + 0x60]
call fcn.14004e8f0
jmp 0x14004e559
xor eax, eax
add rsp, 0xc8
ret
Function at 0x140052c60
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 0x140052cc1
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 0x140052c80
mov ecx, dword [r9]
jmp 0x140052dab
cmp ecx, 0x4e0
jb 0x140052dab
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 0x140052ce0
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 0x140052d30
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 0x14005af84
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 0x14005afd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14005afac
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 0x14005aff0
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 0x14005b03b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14005b010
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 0x14005b054
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 0x14005b09e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14005b074
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 0x14005b0b8
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 0x14005b104
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14005b0e0
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 0x14005b124
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 0x14005b17a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14005b14f
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 0x140067cf4
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 0x140067d85
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140067d5e
mov rax, qword [rdi + 8]
mov dword [rax], 2
xor al, al
jmp 0x140067e49
mov r8, qword [rdi + 0x18]
mov rcx, rsi
mov rdx, qword [rdi + 0x10]
mov r8, qword [r8]
mov rdx, qword [rdx]
call fcn.14007af2c
mov ecx, eax
mov rax, qword [rdi + 8]
mov dword [rax], ecx
mov rax, qword [rdi + 8]
cmp dword [rax], 0
jne 0x140067d57
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 0x14006b6c8
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 0x14006b855
cmp ecx, 0x7c
je 0x14006b855
cmp ecx, 0x29
jne 0x14006b742
cmp dword [rdi + 0x1c], 0
jne 0x14006b855
lea rbx, [rdi + 0x80]
test dword [rbx], 0x10000000
je 0x14006b86e
cmp ecx, 0x5d
jne 0x14006b71f
test dword [rbx], 0x10000000
je 0x14006b87c
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14006acbc
mov rcx, rdi
call fcn.14006f480
mov rcx, rdi
call fcn.14006f4f4
mov ecx, dword [rdi + 0x7c]
mov al, 1
jmp 0x14006b6da
lea rbx, [rdi + 0x80]
cmp ecx, 0x2e
jne 0x14006b759
lea rcx, [rdi + 0x40]
call fcn.14006af44
jmp 0x14006b72b
cmp ecx, 0x5c
jne 0x14006b7a7
mov rcx, rdi
call fcn.14006f480
test byte [rbx], 0x80
je 0x14006b79d
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x14006b785
lea rcx, [rdi + 0x40]
call fcn.14006b6bc
mov rcx, rdi
call fcn.14006f480
jmp 0x14006b73b
cmp al, 0x42
jne 0x14006b79d
lea rcx, [rdi + 0x40]
call fcn.14006b6bc
lea rcx, [rdi + 0x40]
call fcn.14006f41c
jmp 0x14006b77b
mov rcx, rdi
call fcn.14006b898
jmp 0x14006b733
cmp ecx, 0x5b
jne 0x14006b7d2
mov rcx, rdi
call fcn.14006f480
mov rcx, rdi
call fcn.14006c194
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.14006de70
jmp 0x14006b733
cmp ecx, 0x28
jne 0x14006b807
mov rcx, rdi
call fcn.14006f480
mov rcx, rdi
call fcn.14006fc20
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.14006de70
test bl, bl
je 0x14006b73b
jmp 0x14006b733
cmp ecx, 0x5e
jne 0x14006b81a
lea rcx, [rdi + 0x40]
call fcn.14006acb0
jmp 0x14006b77b
cmp ecx, 0x24
jne 0x14006b82d
lea rcx, [rdi + 0x40]
call fcn.14006b044
jmp 0x14006b77b
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14006b88a
cmp ecx, 0x3f
je 0x14006b88a
cmp ecx, 0x7b
je 0x14006b88a
cmp ecx, 0x7d
jne 0x14006b70e
test dword [rbx], 0x10000000
je 0x14006b860
jmp 0x14006b71f
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 6
mov rcx, rdi
call fcn.14006de64
int3
mov edx, 5
mov rcx, rdi
call fcn.14006de64
int3
mov edx, 4
mov rcx, rdi
call fcn.14006de64
int3
mov edx, 0xa
mov rcx, rdi
call fcn.14006de64
int3