joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001450
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [rcx + 0x14]
mov r8, rcx
cmp edx, dword [rax + rcx + 0x2c]
lea r9, [rax + rcx + 0x18]
jb 0x1400014b1
movzx r11d, word [r8 + 6]
xor ecx, ecx
cmp cx, r11w
jae 0x1400014b4
movzx eax, cx
lea r8, [rax + rax*4]
mov r10d, dword [r9 + r8*8 + 0x10]
test r10d, r10d
jne 0x140001485
mov r10d, dword [r9 + r8*8 + 8]
mov eax, dword [r9 + r8*8 + 0xc]
cmp edx, eax
jb 0x140001495
add eax, r10d
cmp edx, eax
jb 0x14000149a
inc cx
jmp 0x140001469
movzx ecx, cx
lea r8, [rcx + rcx*4]
mov eax, dword [r9 + r8*8 + 0x14]
test eax, eax
je 0x1400014b1
sub eax, dword [r9 + r8*8 + 0xc]
add edx, eax
mov eax, edx
ret
xor eax, eax
ret
Function at 0x140002540
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140008030]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov rdi, rcx
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x238
call sub.KERNEL32.dll_Process32FirstW
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.MSVCP90.dll_public:_int___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::compare_wchar_t_const____ptr64_const___ptr64]
mov rcx, rbx
test eax, eax
jne 0x14000259b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400025de
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1400025d3
nop dword [rax]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.MSVCP90.dll_public:_int___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::compare_wchar_t_const____ptr64_const___ptr64]
mov rcx, rbx
test eax, eax
je 0x14000258f
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400025b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140003dc0
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
Function at 0x140002600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140008030]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edi, ecx
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0xf001f
mov byte [rsp + 0x40], 0x52
mov byte [rsp + 0x41], 0x65
mov byte [rsp + 0x42], WSAStartup
mov byte [rsp + 0x43], WSAStartup
mov byte [rsp + 0x44], WSAStartup
mov byte [rsp + 0x45], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x46], 0x53
mov byte [rsp + 0x47], 0x65
mov byte [rsp + 0x48], 0x63
mov byte [rsp + 0x49], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x4a], 0x69
mov byte [rsp + 0x4b], WSAStartup
mov byte [rsp + 0x4c], 0x6e
mov byte [rsp + 0x4d], 0
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov rbx, rax
test rax, rax
je 0x1400027a2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
mov qword [rsp + 0x20], 0x2c
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r11, rax
test rax, rax
je 0x140002799
mov rax, qword [rax]
mov qword [0x140056e00], rax
mov rax, qword [r11 + 8]
mov qword [0x140056e08], rax
mov rax, qword [r11 + 0x10]
mov qword [0x140056e10], rax
mov rax, qword [r11 + 0x18]
mov qword [0x140056e18], rax
mov rax, qword [r11 + 0x20]
mov qword [0x140056e20], rax
mov eax, dword [r11 + 0x28]
mov dword [0x140056e28], eax
test eax, eax
jne 0x140002799
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [0x140056ae0]
mov rdi, rax
test rax, rax
je 0x140002799
lea rax, [0x140003810]
lea r9, [0x140003800]
lea r8, [0x1400037f0]
lea rcx, [0x14004c880]
mov edx, 0x9c00
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.140003820
test rax, rax
je 0x140002790
lea rdx, [rsp + 0x30]
mov rcx, rax
mov byte [rsp + 0x30], 0x53
mov byte [rsp + 0x31], 0x65
mov byte [rsp + 0x32], 0x6e
mov byte [rsp + 0x33], 0x64
mov byte [rsp + 0x34], 0x52
mov byte [rsp + 0x35], 0x65
mov byte [rsp + 0x36], WSAStartup
mov byte [rsp + 0x37], WSAStartup
mov byte [rsp + 0x38], WSAStartup
mov byte [rsp + 0x39], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x3a], 0
call fcn.140003b70
mov rcx, rdi
call rax
jmp 0x1400027a4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140003dc0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400027c0
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140008030]
xor rax, rsp
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor ebx, ebx
test eax, eax
je 0x14000283e
lea r8, [rsp + 0x3c]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 0x10]
lea r8, [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, 0x64
mov edx, 0x65
lea rcx, [rsp + 0x48]
mov word [rsp + 0x70], ax
mov eax, 0x77
mov word [rsp + 0x78], dx
mov word [rsp + 0x72], ax
mov eax, 0x6d
mov word [rsp + 0x7c], dx
mov word [rsp + 0x74], ax
mov eax, 0x2e
lea rdx, [rsp + 0x70]
mov word [rsp + 0x76], ax
mov eax, 0x78
mov word [rsp + 0x7e], bx
mov word [rsp + 0x7a], ax
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x1400028b3
lea rcx, [rsp + 0x48]
mov rdx, rax
call fcn.140002540
mov ebx, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
call fcn.1400013a0
test al, al
je 0x1400028d5
mov ecx, ebx
call fcn.140001b80
mov ecx, ebx
call fcn.140002600
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140003dc0
add rsp, 0x90
pop rbx
ret
Function at 0x140004277
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140008030]
jne 0x140003dda
rol rcx, 0x10
test cx, 0xffff
jne 0x140003dd6
repz ret
ror rcx, 0x10
jmp 0x1400041d0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400565f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400566e8]
mov qword [rsp + 0x58], r11
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 0x140004255
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, [0x1400565f0]
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 0x140004277
mov rax, qword [rsp + 0x88]
mov qword [0x1400566e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140056688], rax
mov rax, qword [0x1400566e8]
mov qword [0x140056560], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140056670], rax
mov dword [0x140056550], 0xc0000409
mov dword [0x140056554], 1
mov rax, qword [0x140008030]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140008038]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400565e8], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140005460]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400565e8], 0
jne 0x1400042fe
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
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 0x140001f20
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], 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]
cmp rdx, 0xf
jbe 0x140001f78
call fcn.14000fe00
mov qword [rbx + 0x10], rbp
mov r15d, 0xfffffffa
cmp qword [rdi + 0x18], 0x10
jb 0x140001f90
mov r14, qword [rdi]
mov rcx, r14
mov rdi, r14
jmp 0x140001f96
mov r14, rdi
mov rcx, rdi
mov r13, qword [rsi]
add r13, rcx
cmp rdi, r13
je 0x140002091
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax]
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x140002036
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 0x14000201d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140002012
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000202c
mov rcx, rbx
call fcn.14000ff50
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rdi, 6
sub rsi, 1
jne 0x140001fe0
inc r14
cmp r14, r13
jne 0x140001fb0
cmp r15d, 0xfffffffa
jle 0x140002091
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rdx, ebp
sar rdx, cl
and edx, 0x3f
movzx r9d, byte [rdx + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140002089
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14000207e
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002091
mov rcx, rbx
call fcn.14000ff50
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x1400020d9
nop word [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400020c5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400020bd
mov rax, qword [rbx]
mov word [rcx + rax], 0x3d
jmp 0x1400020d0
mov r9b, 0x3d
mov rcx, rbx
call fcn.14000ff50
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x1400020a0
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002990
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140025028]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x140002a00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400029d0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a6e0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x140004160
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140025028]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x20]
mov rdi, qword [rcx + 8]
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x40], 1
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x1400041cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400041a0
test rbx, rbx
setg al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a6e0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x140004200
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
mov rsi, qword [rcx + 0x50]
mov eax, 0x7fffffff
cmp r8, rax
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmova rdi, rax
mov rax, qword [rcx + 0x48]
cmp rax, rsi
jae 0x140004271
mov rcx, qword [rcx + 0x30]
sub rsi, rax
lea rdx, [rax + rcx]
mov rcx, r14
cmp rdi, rsi
ja 0x140004258
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 0x48], rdi
mov rax, rdi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 0x48], rsi
mov rax, rsi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
test al, al
jne 0x14000428c
mov rax, 0xffffffffffffffff
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
mov qword [rsp + 0x68], rbp
mov rbp, qword [rbx + 8]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
cmp rdi, 0x1000
jae 0x140004340
mov qword [rsp + 0x20], r15
mov r15, qword [rbx + 0x30]
nop word [rax + rax]
xor r9d, r9d
mov r8d, 0x1000
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rsi, eax
test eax, eax
jns 0x1400042e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400042c0
mov r15, qword [rsp + 0x20]
test rsi, rsi
jle 0x140004305
mov rdx, qword [rbx + 0x30]
mov rcx, r14
cmp rsi, rdi
jg 0x140004317
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rbp, qword [rsp + 0x68]
mov rax, rsi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rbp, qword [rsp + 0x68]
mov rax, rdi
mov qword [rbx + 0x48], rdi
mov qword [rbx + 0x50], rsi
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
xor r9d, r9d
mov r8d, edi
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x140004364
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140004340
mov rbp, qword [rsp + 0x68]
mov rax, rbx
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004380
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x1400043b9
mov rax, 0xffffffffffffffff
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x1400043e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400043c2
mov rbp, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140004400
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
sub rsp, 0x4f8
mov rax, qword [0x140025028]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rcx, qword [rcx + 8]
mov rsi, r8
mov rdi, rdx
mov dword [rsp + 0x40], 0x80
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x1400044f2
movzx eax, word [rsp + 0x50]
mov qword [rsp + 0x4f0], rbx
mov ebx, dword [rsp + 0x40]
cmp ax, 2
je 0x140004467
cmp ax, 0x17
jne 0x1400044ea
movzx ecx, word [rsp + 0x52]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0xd0]
mov dword [rsi], eax
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0xd0]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x1400044ea
lea rax, [rsp + 0xd0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400044d0
lea rdx, [rsp + 0xd0]
mov rcx, rdi
call fcn.14000cfb0
mov rbx, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.14001a6e0
add rsp, 0x4f8
pop rdi
pop rsi
ret
Function at 0x14000aa90
Capabilities:
Get common file path
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140025028]
xor rax, rsp
mov qword [rbp + 0x90], rax
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x14000aada
lea rcx, str.Failed_to_get_current_directory._n
call fcn.140001080
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000aaf6
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.140010240
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rdx, str.C:_A_Za_z0_9__
lea rcx, [rsp + 0x50]
call fcn.14000c750
nop
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
add rdx, r8
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [rsp + 0x50]
xor r8d, r8d
call fcn.1400117b0
nop
lea rcx, [rsp + 0x50]
test al, al
je 0x14000abe1
call fcn.14000d460
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000aba1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14000aba1
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000abda
inc rdx
mov rcx, qword [rsp + 0x30]
mov r8, rcx
cmp rdx, 0x1000
jb 0x14000abd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14000ac3e
call fcn.14001ac24
mov eax, 1
jmp 0x14000ac4c
call fcn.14000d460
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000ac0a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14000ac0a
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000ac4a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ac45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ac45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ac24
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14001a6e0
add rsp, 0x1a0
pop rbp
ret
Function at 0x14000cd20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14000cd54
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14000cd40
ret
Function at 0x140018380
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 0x14001844c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001844c
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 0x140018465
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 0x14001843c
cmp byte [rax], 0x5c
jne 0x140018436
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140018436
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140018422
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140018433
test r8b, 0x10
jne 0x140018436
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140018436
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140013950
test edi, edi
jne 0x1400183a0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140013940
int3

Function at 0x14001b3cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001b416
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001b416
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001b416
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001b416
cmp dword [rcx + 0x84], 0xe
jbe 0x14001b416
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001b418
xor al, al
add rsp, 0x28
ret
Function at 0x140005480
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov edi, r8d
mov rsi, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x1400054b2
movsxd rax, ecx
lea rdx, [0x1400b5110]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x14005b1e0]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
test rdx, rdx
jne 0x140005522
mov dword [rbp - 0x40], 0x979d95bc
mov dword [rbp - 0x3c], 0xbdd58090
mov dword [rbp - 0x38], 0x1008192
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 0x11]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x1400054f0
mov byte [rbp - 0x35], 0
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140005512
lea rdx, [rbp - 0x40]
jmp 0x14000553a
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140005530
lea rcx, [rbp - 0x28]
call fcn.14000c230
cmp edi, 1
jne 0x1400055a9
movdqa xmm0, xmmword [0x14005b3b0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], 0x9b
mov byte [rbp - 0x2e], dil
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x11]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x11
jb 0x140005570
mov byte [rbp - 0x2e], 0
lea rax, [rbp - 0x40]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140005590
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.14000c230
mov dword [rbp + 0x28], 0x42f00000
mov dword [rbp + 0x2c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x28]
call fcn.140049da0
test al, al
je 0x1400055f4
test edi, edi
jne 0x1400055f4
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140005632
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000562d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000562d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057bfc
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret