joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180015b87
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180022410]
jne 0x180010c8a
rol rcx, 0x10
test cx, 0xffff
jne 0x180010c86
repz ret
ror rcx, 0x10
jmp 0x180015ae0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180023ad0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180023bc8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180015b65
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180023ad0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180015b87
mov rax, qword [rsp + 0x88]
mov qword [0x180023bc8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180023b68], rax
mov rax, qword [0x180023bc8]
mov qword [0x180023a40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180023b50], rax
mov dword [0x180023a30], 0xc0000409
mov dword [0x180023a34], 1
mov rax, qword [0x180022410]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180022418]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180023ac8], eax
mov ecx, 1
call fcn.1800143c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18001cb88]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180023ac8], 0
jne 0x180015c0e
mov ecx, 1
call fcn.1800143c4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14007b8d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140670008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140671d20]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4a81], 0
jne 0x14007b938
cmp byte [rbx + 0x4a82], 0
jne 0x14007b938
movsx r9d, word [rbx + 0x5bb2]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140081360
test sil, 2
je 0x14007ba70
jmp 0x14007b9d1
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140238c78]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x140238c74]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
or dword [rbx + 0x47b8], 1
mov qword [rbx + 0x47d0], rax
movss dword [rbx + 0x47c8], xmm0
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mov rax, qword [0x140671d20]
mulss xmm0, dword [0x140238c14]
or dword [rax + 0x47b8], 0x40
movss dword [rax + 0x4818], xmm0
movsx r9d, word [rbx + 0x5bb2]
call fcn.140081360
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14007ba21
lea r11, [0x140236fd0]
cmp r9b, 0x23
jne 0x14007ba04
cmp byte [r8], r9b
jne 0x14007ba04
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14007b9f1
not ecx
call fcn.14007f790
test rax, rax
je 0x14007ba70
cmp byte [rax + 0xb6], 0
je 0x14007ba70
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5bb2]
movsx r9d, word [rbx + 0x5bb2]
call fcn.140081360
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140078be0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14022ce00
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14007f6e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140671d20]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14007f743
mov qword [rsp], rbx
lea rbx, [0x140236fd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14007f723
cmp byte [r8], r9b
jne 0x14007f723
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 0x14007f710
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c10]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14007f777
mov r10, qword [r10 + 0x5c18]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14007f77e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14007f764
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400abe20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140671d20]
mov rcx, qword [rax + 0x4b38]
mov r10, qword [rax + 0x3ed8]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x168]
movss xmm4, dword [rcx + 0x168]
movss xmm3, dword [rcx + 0x16c]
movss xmm2, dword [rcx + 0x170]
movss xmm1, dword [rcx + 0x174]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x298]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x238], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x298]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x298]
mov rcx, qword [rcx + 0x198]
add rsp, 0x38
jmp fcn.14009bb00

Function at 0x1400abef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140671d20]
mov rcx, qword [rax + 0x4b38]
mov r9, qword [rax + 0x3ed8]
movups xmm0, xmmword [r9 + 0x238]
movups xmmword [rcx + 0x168], xmm0
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rcx + 0x148]
movss xmm4, dword [rcx + 0x148]
movss xmm3, dword [rcx + 0x14c]
movss xmm2, dword [rcx + 0x150]
movss xmm1, dword [rcx + 0x154]
movups xmmword [r9 + 0x238], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x226]
mov rcx, qword [rcx + 0x198]
mov rdx, qword [r9 + 0x298]
add rsp, 0x38
jmp fcn.14009bb00

Function at 0x1400be7c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.14022d0ec
test rax, rax
je 0x1400be7ee
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x40], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c3890]
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 0x1400be833
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1400be850
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov ecx, 8
call fcn.14022d0ec
test rax, rax
je 0x1400be872
mov qword [rax], rdi
mov qword [rsp + 0x40], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c3860]
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 0x1400be8b2
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1400cd6d0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15, rcx
mov r14, r9
mov rcx, r8
mov rbp, r8
mov rbx, rdx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400cd914
mov eax, dword [rbp + 0x4c]
cmp eax, 0x7fffffff
je 0x1400cd904
mov rcx, rbx
call fcn.1401ed4a0
mov rcx, rbp
mov rbx, rax
call sub.MSVCP140.dll__Mtx_unlock
test rbx, rbx
je 0x1400cd8ff
lea r8, [rsp + 0x80]
mov dword [rsp + 0x80], 1
mov edx, 0x8004667e
mov rcx, r15
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, r15d
call fcn.14010c260
xor r9d, r9d
mov rcx, rax
mov r12, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call fcn.14010ac70
mov r8, r12
mov rdx, r12
mov rcx, rbx
call fcn.1401edc90
mov r9, qword [rsp + 0x90]
add r9, 8
cmp qword [r9 + 0x18], 0x10
jb 0x1400cd791
mov r9, qword [r9]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x37]
call fcn.1401ec690
mov rsi, qword [r14]
cmp byte [rsi + 0x3c8], 0
je 0x1400cd7fa
lea rax, [rsp + 0x80]
mov byte [rsp + 0x80], 1
lea rcx, [rsi + 0x468]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rsi
call fcn.1400c5e90
cmp byte [rsp + 0x80], 0
jne 0x1400cd7ed
mov rax, qword [r14 + 8]
mov dword [rax], 9
jmp 0x1400cd85c
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1401edf90
mov rax, qword [rsi + 0x178]
lea r8, [0x1401ec640]
mov rcx, qword [r14 + 0x10]
mov rdx, rbx
mov r9, qword [rsi + 0x170]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
call fcn.1400cd630
test al, al
jne 0x1400cd833
mov rax, qword [r14 + 8]
mov dword [rax], 8
jmp 0x1400cd85c
cmp byte [rsi + 0x3c8], 0
je 0x1400cd8cc
mov rcx, rbx
call fcn.1401ed3a0
mov dword [rsi + 0x488], eax
test eax, eax
je 0x1400cd8cc
mov rax, qword [r14 + 8]
mov dword [rax], 0xa
mov rcx, rbx
call fcn.1401edfb0
mov rcx, rbp
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400cd914
mov eax, dword [rbp + 0x4c]
cmp eax, 0x7fffffff
je 0x1400cd904
mov rcx, rbx
call fcn.1401ecb40
mov rcx, rbp
call sub.MSVCP140.dll__Mtx_unlock
lea r8, [rsp + 0x80]
mov dword [rsp + 0x80], 0
mov edx, 0x8004667e
mov rcx, r15
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
lea edx, [r9 + 0x66]
call fcn.14010ac70
lea r8, [rsp + 0x80]
mov dword [rsp + 0x80], 0
mov edx, 0x8004667e
mov rcx, r15
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, rbx
jmp 0x1400cd8b5
dec eax
mov ecx, 6
mov dword [rbp + 0x4c], eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1400d6d90
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140670008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [0x1406742b0]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400d6ea1
cmp dword [0x1406742fc], 0x7fffffff
je 0x1400d6e8c
mov r10, qword [0x1402dd888]
cmp r10, 0xffffffffffffffff
je 0x1400d6e5f
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400d6def
mov rcx, qword [rbx]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400d6df6
inc eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x20]
mov rcx, r10
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400d6e54
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400d6e2c
mov rdx, qword [rbx]
xor r9d, r9d
mov r8d, dword [rsp + 0x20]
mov rcx, qword [0x1402dd888]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400d6e54
lea rcx, [0x1406742b0]
call sub.MSVCP140.dll__Mtx_unlock
jmp 0x1400d6e71
mov qword [0x1402dd888], 0xffffffffffffffff
lea rcx, [0x1406742b0]
call sub.MSVCP140.dll__Mtx_unlock
call fcn.1400e0da0
nop
mov rcx, rbx
call fcn.1400d1af0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14022ce00
add rsp, 0x40
pop rbx
ret
mov dword [0x1406742fc], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1400ddd00
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x140670008]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400dddd7
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x170], rdi
mov rcx, rax
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400dddca
lea rdi, str.bf1.exe
nop word [rax + rax]
xor eax, eax
lea rdx, [rsp + 0x4c]
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [rdi + rax - 1]
jne 0x1400dddb9
cmp rax, 8
jne 0x1400ddd70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400de190
cmp rax, 0xa
setg al
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14022ce00
add rsp, 0x160
pop rbx
ret
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400ddd60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400ddd98
xor al, al
jmp 0x1400ddda0

Function at 0x1400de190
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x140670008]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor ebx, ebx
mov qword [rsp + 0x1c8], rdi
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor edx, edx
lea rcx, [rsp + 0x74]
mov r8d, 0x12c
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x130
mov rcx, rdi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400de22f
mov qword [rsp + 0x1c0], rsi
lea rsi, str.bf1.exe
nop dword [rax]
mov rax, rbx
lea rdx, [rsp + 0x9c]
nop dword [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [rsi + rax - 1]
jne 0x1400de276
cmp rax, 8
jne 0x1400de210
mov ebx, dword [rsp + 0x78]
mov rsi, qword [rsp + 0x1c0]
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, qword [rsp + 0x1c8]
mov rbx, rax
test rax, rax
je 0x1400de26f
mov r8d, 0x48
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
mov rcx, rbx
test eax, eax
jne 0x1400de28d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400de2b6
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400de200
jmp 0x1400de227
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x30]
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14022ce00
add rsp, 0x1b0
pop rbx
ret
Function at 0x1400e1480
Capabilities:
Create thread

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140670008]
xor rax, rsp
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rcx + r8], 0
jne 0x1400e14b0
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.1400c0680
nop
mov ecx, 0x28
call fcn.14022d0ec
test rax, rax
je 0x1400e1506
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x10], xmm1
movdqa xmm0, xmmword [0x140242280]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rcx, [fcn.1400d6d90]
mov qword [rax + 0x20], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c38c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400e15c4
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400e157f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e157a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e157a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022cce8
cmp dword [rsp + 0x38], 0
je 0x1400e15b9
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400e15b9
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14022ce00
add rsp, 0x88
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1400e6d10
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400e6ddc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400e6ddc
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400e6df5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x1400e6dcc
cmp byte [rax], 0x5c
jne 0x1400e6dc6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400e6dc6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400e6db2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400e6dc3
test r8b, 0x10
jne 0x1400e6dc6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400e6dc6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400ebf20
test edi, edi
jne 0x1400e6d30
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.1400e90b0
int3

Function at 0x1400e8e80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140670008]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400e8f53
cmp byte [rcx + 0x71], 0
je 0x1400e8f53
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400e8f4f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400e8f14
sub eax, 1
je 0x1400e8f18
cmp eax, 2
jne 0x1400e8f4f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14022ce00
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400e8f46
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400e8f4f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400e8efc
xor al, al
jmp 0x1400e8efc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14022ce00
add rsp, 0x60
pop rbx
ret
Function at 0x1400ed040
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
lea rsi, [rdx + 0x10]
mov rdx, qword [rsi]
call fcn.1400ff4c0
lea r15d, [rbp - 6]
cmp qword [rdi + 0x18], 0x10
jb 0x1400ed0ac
mov r14, qword [rdi]
mov rcx, r14
mov rdi, r14
jmp 0x1400ed0b2
mov r14, rdi
mov rcx, rdi
mov r13, qword [rsi]
add r13, rcx
cmp rdi, r13
je 0x1400ed1bf
lea r8, [0x14023eb20]
nop dword [rax + rax]
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x1400ed15d
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop dword [rax + rax]
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400ed13d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400ed132
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400ed153
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400c3de0
lea r8, [0x14023eb20]
sub rdi, 6
sub rsi, 1
jne 0x1400ed100
inc r14
cmp r14, r13
jne 0x1400ed0d0
cmp r15d, 0xfffffffa
jle 0x1400ed1bf
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rax, ebp
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400ed1b0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400ed1a5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400ed1bf
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400c3de0
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x1400ed210
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400ed1f5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400ed1ed
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1400ed207
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400c3de0
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x1400ed1d0
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