joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013520
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400c1040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400c2500]
mov edi, ecx
cmp byte [rbx + 0x4d01], 0
jne 0x140013581
cmp byte [rbx + 0x4d02], 0
jne 0x140013581
movsx r9d, word [rbx + 0x5e58]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400031e0
test dil, 2
je 0x1400136af
jmp 0x14001360c
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e58]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400b874c]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400b873c]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x49e0], rax
mov dword [rbx + 0x49cc], 1
movss dword [rbx + 0x49d8], xmm0
movss dword [rbx + 0x49dc], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1400b86cc]
or dword [rbx + 0x49c8], 0x41
movss dword [rbx + 0x4a28], xmm0
call fcn.1400031e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013660
lea r11, [0x14004cb60]
nop dword [rax]
cmp r9b, 0x23
jne 0x140013643
cmp byte [r8], r9b
jne 0x140013643
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 0x140013630
not ecx
call fcn.14000a090
test rax, rax
je 0x1400136af
cmp byte [rax + 0xbe], 0
je 0x1400136af
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5e58]
movsx r9d, word [rbx + 0x5e58]
call fcn.1400031e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000ccb0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140048e90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018660
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5fb0], 0
lea rbx, [rcx + 0x5fb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018707
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400186ba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ad80
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003ce0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5fb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5fc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400c24f8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001870f
mov rcx, rbx
call fcn.140003ce0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140018a30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400c2500]
xor ebp, ebp
cmp byte [rbx + 0x5f08], bpl
jne 0x140018b0f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140018b08
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.1400035a0
mov rsi, rax
test rax, rax
je 0x140018b08
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140018a94
mov rcx, rax
call fcn.140018c60
mov r8, qword [0x1400c2500]
test r8, r8
je 0x140018aff
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140018af4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f08], 1
movss xmm0, dword [rbx + 0x5f0c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140018b9e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f0c], xmm0
jb 0x140018b9e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140018b91
mov rax, qword [0x1400c2500]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f0c], ebp
call fcn.140018ec0
lea rdx, [0x14004c694]
mov rcx, rdi
mov rsi, rax
call fcn.1400034b0
mov rdi, rax
test rax, rax
je 0x140018b98
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140018b98
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f0c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140018bc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400c2500]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018c23
mov qword [rsp], rbx
lea rbx, [0x14004cb60]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018c03
cmp byte [r8], r9b
jne 0x140018c03
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 0x140018bf0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f20]
not eax
mov r8, qword [r10 + 0x5f28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140018c4f
cmp dword [r8 + 8], eax
je 0x140018c56
add r8, 0x48
cmp r8, rcx
jne 0x140018c40
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14002c580
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1400c1040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400c2500]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002c79e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002c79e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400c2500]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14002c654
movsx rdx, word [r8 + 0x6078]
lea rax, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f60]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14002c649
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rax, [rax*8 + 0x607c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6070]
test rdi, rdi
je 0x14002c671
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14002c674
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1400b7918]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14002c6b7
mov rsi, qword [r8 + 0x90]
jmp 0x14002c6ba
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14002c6e5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400c2500]
mov rcx, qword [rax + 0x4ae0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14002c75e
inc rbx
cmp rbx, 5
jl 0x14002c740
jmp 0x14002c78a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14002c7a0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140048e90
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14003adf0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400c1040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor ebx, ebx
xor edx, edx
mov ecx, 2
mov edi, ebx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14003ae94
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14003ae86
nop dword [rax + rax]
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0x4c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14003ae74
mov eax, dword [rsp + 0x3c]
cmp rax, rbx
jbe 0x14003ae74
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14003ae50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
jne 0x14003ae9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, rdi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140048e90
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14003be40
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x110
mov rax, qword [0x1400c1040]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rcx
lea rcx, [rsp + 0x68]
call fcn.14003afa0
nop
mov r8d, 8
lea rdx, str.HD_Adb
lea rcx, [rsp + 0x68]
call fcn.1400406b0
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140040620
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0xd4], xmm0
movups xmmword [rsp + 0xe4], xmm0
mov dword [rsp + 0xf4], eax
mov dword [rsp + 0x90], 0x68
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14003bf5a
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x14003bf9d
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bf98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003bf98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004902c
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140048e90
add rsp, 0x110
pop rbx
ret
Function at 0x140040090
Capabilities:
Create thread
Enumerate gui resources
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xb0
mov rax, qword [0x1400c1040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rax, str.BlueStacksApp
mov qword [r11 - 0x68], 0
mov qword [r11 - 0x78], rax
lea rdx, [r11 - 0x58]
lea rax, [r11 - 0x78]
mov qword [rsp + 0x30], rax
lea rcx, [0x14003af20]
lea rax, [r11 - 0x68]
mov qword [r11 - 0x80], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__struct_HWND______ptr64___cdecl_LookupWindowByClassName_char_const____ptr64_::_2::_lambda_1___bool__struct_HWND______ptr64_.0
movups xmm0, xmmword [rsp + 0x30]
mov qword [r11 - 0x58], rax
lea rax, [r11 - 0x58]
movups xmmword [rsp + 0x68], xmm0
mov qword [r11 - 0x20], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x50]
test rcx, rcx
je 0x140040122
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [0x1400c26a8], rbx
test rbx, rbx
je 0x1400401f4
call fcn.14003d230
cmp qword [0x1400c7708], 0
je 0x1400401f4
mov ecx, 8
call fcn.140049394
lea rcx, [0x14003f1b0]
mov r9, rax
lea r8, [0x140042b50]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400401e0
cmp dword [rsp + 0x48], 0
je 0x1400401d4
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400401d4
nop word [rax + rax]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400401cd
cmp byte [0x1400c1a38], 0
sete byte [0x1400c1a38]
call fcn.14003f2e0
jmp 0x1400401b0
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x48], 0
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, 0xffffffff
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140048e90
add rsp, 0xb0
pop rbx
ret

Function at 0x140040390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400403c4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400403b0
ret
Function at 0x1400417e0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140041811
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400c7758]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400c7768]
lea rdx, [rdi + rdi]
call fcn.140040a10
mov rax, qword [0x1400c7758]
lea r9, [rdi - 1]
mov qword [0x1400c7780], r9
mov qword [0x1400c7788], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140041984
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400c7768]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400418d0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140041945
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14004190d
mov r10, qword [rdx]
cmp r10, rax
je 0x140041907
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140041945
cmp r9, rdx
je 0x140041921
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140041959
cmp r9, rdx
jne 0x140041912
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14004197f
mov r9, qword [0x1400c7780]
jmp 0x140041881
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140041945
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140046ec0
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 0x140046f85
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140046f85
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 0x140046f9e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140046f75
cmp byte [rcx], 0x5c
jne 0x140046f6e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x140046f6e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140046f5c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140046f6b
test r8b, 0x10
jne 0x140046f6e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x140046f6e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400434d0
test edi, edi
jne 0x140046ee0
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.1400434c0
int3

Function at 0x140049af0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140049b3a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140049b3a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140049b3a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140049b3a
cmp dword [rcx + 0x84], 0xe
jbe 0x140049b3a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140049b3c
xor al, al
add rsp, 0x28
ret
Function at 0x408280
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [0x008d10a8], 0
je 0x408338
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rdi, rax
mov rcx, rsi
call fcn.00412cf0
mov rcx, rdi
mov rdx, rsi
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rsi, rax
mov rcx, qword [0x008710e8]
call fcn.00412cf0
mov rcx, rsi
mov rdx, qword [0x008710e8]
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rsi, rax
mov rcx, rbx
call fcn.00412cf0
mov rcx, rsi
mov rdx, rbx
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x40834b
xor ecx, ecx
mov rdx, rbx
mov r8, rsi
mov r9d, 0x2010
call sub.user32.dll_MessageBoxA
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x40cb10
Capabilities:
Get file size

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
or esi, 0xffffffff
movzx rax, word [rbx + 8]
cmp ax, 0xd7b0
jbe 0x40cb51
cmp ax, 0xd7b3
ja 0x40cb51
mov rcx, qword [rbx]
xor edx, edx
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0xffffffff
jne 0x40cb45
call fcn.00409630
jmp 0x40cb5b
mov eax, esi
xor edx, edx
div dword [rbx + 0xc]
mov rsi, rax
jmp 0x40cb5b
mov ecx, 0x67
call fcn.00409610
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x410100
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov ebx, edx
mov rax, qword [rbp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call fcn.00410750
mov esi, eax
test sil, sil
jne 0x4102b4
test ebx, ebx
je 0x4102b4
xor edi, edi
test r13d, r13d
jle 0x4101e1
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x4101c5
cmp ebx, 0xffffffff
je 0x410173
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x410173
xor esi, esi
jmp 0x4102b4
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x4101c5
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x4101b3
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x4101b3
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x4102b4
lea rcx, [rbp + 0x3c]
call fcn.0040fc80
sub r13d, 1
test r13d, r13d
jg 0x41015a
nop
cmp ebx, 0xffffffff
je 0x4101e1
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x4101df
xor esi, esi
jmp 0x4102b4
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x41011d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x4101e1
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.00410360
xor ecx, ecx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x008d19a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x410244
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jae 0x410242
sub ebx, eax
jmp 0x410244
xor ebx, ebx
test sil, sil
je 0x410275
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x410272
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x410249
mov dil, 1
nop
jmp 0x410292
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x410275
mov dil, 1
test dil, dil
je 0x410204
nop
test sil, sil
je 0x4102b4
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret