joyce8/EMBER2024-capa huggingface dataset:
Function at 0x639db0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.639db237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x639db0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x639db0c7
add dl, dl
jne 0x639db0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x639db14e
xor eax, eax
add dl, dl
jne 0x639db0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x639db205
add dl, dl
jne 0x639db10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x639db11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x639db128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x639db135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x639db142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x639db0d6
mov eax, 1
add dl, dl
jne 0x639db15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x639db16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x639db153
sub eax, ebx
mov ebx, 1
jne 0x639db1a4
mov ecx, 1
add dl, dl
jne 0x639db186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x639db193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x639db17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x639db0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x639db1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x639db1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x639db1b5
cmp eax, 0x7d00
jae 0x639db1f3
cmp eax, 0x500
jb 0x639db1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x639db0d6
cmp eax, 0x7f
ja 0x639db1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x639db0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x639db22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x639db0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400316cc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140031744
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140031744
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140031744
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140031738
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140031756
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031726
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140031746

Function at 0x140033290
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400332da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400332da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400332da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400332da
cmp dword [rcx + 0x84], 0xe
jbe 0x1400332da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400332dc
xor al, al
add rsp, 0x28
ret

Function at 0x14003c024
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003bd88

Function at 0x140045f40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045f68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045f68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x18145ffb4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x18145ffbe
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x18145ffe7
pop rbp
sub rbp, 0x33
sub rbp, 0x145ffb4
cmp edx, 1
je 0x18146002a
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x18146003a
mov rax, 0x145ffb4
add rax, rbp
add rax, 0xb8
mov rcx, 0x60b
mov rdx, 0xffffffffedcd0147
xor byte [rax], dl
inc rax
dec rcx
jne 0x181460059
jmp 0x181460070
bswap esi
scasb al, byte [rdi]
int3
Function at 0x140001eb0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140001ed1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140001efe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001f00
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001f59
test ecx, ecx
jle 0x140001f39
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001f59
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001f59
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x140001f80
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140001fa2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001fb1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140001fd4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001fd6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002012
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400020ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000204d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000208e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400020ae
cmp rbx, rax
ja 0x140002060
test rbx, rbx
je 0x1400020ae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140002510
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000253d
xor eax, eax
jmp 0x1400026a9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002577
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002577
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400026a9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000269c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400025ba
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400025e5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400026a1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002654
sub eax, 1
je 0x140002654
cmp eax, 2
jne 0x14000269c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400026a1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002682
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000269c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400026a1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400033f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002bf0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002cc3
cmp byte [rcx + 0x71], 0
je 0x140002cc3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002cbf
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 0x140002c84
sub eax, 1
je 0x140002c88
cmp eax, 2
jne 0x140002cbf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400033f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002cb6
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 0x140002cbf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002c6c
xor al, al
jmp 0x140002c6c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400033f0
add rsp, 0x60
pop rbx
ret

Function at 0x140003d70
Capabilities:
Parse pe header

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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
test rdx, rdx
jle 0x402524
mov r12, qword [fcn.00421810]
lea r14, [rcx + rdx*8]
mov rdi, rcx
lea r13, [0x00425138]
lea rbp, [0x00425139]
mov rbx, qword [rdi]
mov ecx, 1
call r12
mov rsi, rax
test rbx, rbx
je 0x4024c0
cmp qword [rbx], 0
lea r8, [rbx + 0x10]
mov rdx, rbp
mov rcx, rax
cmove r8, r13
call sub.msvcrt.dll_fprintf
mov r15d, eax
movsxd rax, r15d
cmp rax, qword [rbx]
jge 0x40244f
cmp byte [rbx + rax + 0x10], 0
jne 0x4024a0
xor ecx, ecx
mov rdx, rsi
call sub.msvcrt.dll_fputc
test eax, eax
jne 0x40244f
add r15d, 1
movsxd rax, r15d
cmp rax, qword [rbx]
jl 0x40242e
add rdi, 8
cmp rdi, r14
jne 0x4023f5
mov ecx, 1
call r12
mov r8d, 1
mov edx, 1
lea rcx, [0x0042513c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call r12
mov rcx, rax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.msvcrt.dll_fflush
lea r8, [rbx + rax + 0x10]
mov rdx, rbp
mov rcx, rsi
call sub.msvcrt.dll_fprintf
test eax, eax
jle 0x40244f
add r15d, eax
jmp 0x402426
mov r8, r13
mov rdx, rbp
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov ebx, eax
test ebx, ebx
jns 0x40244f
movsxd r8, ebx
cmp byte [r8 + 0x10], 0
jne 0x402509
xor ecx, ecx
mov rdx, rsi
call sub.msvcrt.dll_fputc
test eax, eax
jne 0x40244f
add ebx, 1
test ebx, ebx
jns 0x40244f
movsxd r8, ebx
cmp byte [r8 + 0x10], 0
je 0x4024e2
add r8, 0x10
mov rdx, rbp
mov rcx, rsi
call sub.msvcrt.dll_fprintf
test eax, eax
jle 0x40244f
add ebx, eax
jmp 0x4024d0
mov r12, qword [fcn.00421810]
jmp 0x402458

Function at 0x402630
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x40264f
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x402860
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.00421810]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
ret
Function at 0x40a340
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x150
cmp qword [0x00588e60], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov byte [rbp - 0x111], 1
je 0x40a43f
mov rax, qword [0x0057f140]
lea rcx, [rbp - 0x110]
mov rdx, rbp
mov qword [0x0057f140], rcx
add rcx, 0x10
mov qword [rbp - 0x110], rax
call sub.msvcrt.dll__setjmp
cdqe
test rax, rax
mov qword [rbp - 0x108], rax
jne 0x40a460
xor ebx, ebx
cmp qword [rbp + 0x20], 0
je 0x40a410
mov rcx, qword [rbp + 0x20]
call sub.msvcrt.dll_strlen
mov edx, 0x18
mov qword [rbp - 0x128], 7
cmp rax, 6
mov rsi, rax
jbe 0x40a3da
lea rdx, [rax + 0x11]
mov qword [rbp - 0x128], rax
lea r8, [0x00585f80]
lea rcx, [0x00422020]
call fcn.004092c0
mov rdx, qword [rbp + 0x20]
movq xmm0, rsi
lea rcx, [rax + 0x10]
movhps xmm0, qword [rbp - 0x128]
mov rbx, rax
movups xmmword [rax], xmm0
lea r8, [rsi + 1]
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [0x00588e60]
mov rax, qword [0x0057f140]
mov byte [rbp - 0x111], 0
cmp qword [rbp - 0x108], 0
mov rax, qword [rax]
mov qword [0x0057f140], rax
jne 0x40a4d4
movzx eax, byte [rbp - 0x111]
test al, al
jne 0x40a4e0
add rsp, 0x150
pop rbx
pop rsi
pop rbp
ret
mov rax, qword [0x0057f140]
mov rax, qword [rax]
mov qword [rbp - 0x108], 0
mov qword [0x0057f140], rax
mov rax, qword [0x00588dc8]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x40a49d
add qword [rbx - 0x10], 8
mov rax, qword [0x00588dc8]
test rax, rax
je 0x40a4bf
mov rsi, qword [rax - 0x10]
lea rdx, [rax - 0x10]
lea rcx, [rsi - 8]
cmp rcx, 7
mov qword [rax - 0x10], rcx
ja 0x40a4bf
lea rcx, [0x00585f98]
call fcn.00405ad0
cmp qword [rbp - 0x108], 0
mov qword [0x00588dc8], rbx
je 0x40a43f
call fcn.0040ac60
jmp 0x40a43f
mov ecx, 2
call qword [fcn.00421810]
mov rcx, qword [rbp + 0x20]
mov edx, 1
mov r8, qword [rbp + 0x28]
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
jmp 0x40a44e
Function at 0x412590
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x412814
jbe 0x4125f0
cmp cx, 0x25
je 0x412a00
jbe 0x412720
cmp cx, 0x44
je 0x4129f0
ja 0x4126f3
cmp cx, 0x41
je 0x4129e0
jbe 0x412640
cmp cx, 0x42
je 0x4129d0
cmp cx, 0x43
jne 0x4129c0
lea rcx, [0x00426420]
jmp fcn.0040b140
cmp cx, 0xa
je 0x4129b0
ja 0x4126b3
cmp cx, 4
je 0x4129a0
jbe 0x412680
cmp cx, 7
je 0x412990
jbe 0x412660
cmp cx, 8
je 0x412980
cmp cx, 9
jne 0x4129c0
lea rcx, [0x004267a0]
jmp fcn.0040b140
cmp cx, 0x26
je 0x412970
cmp cx, 0x40
jne 0x4129c0
lea rcx, [0x00426480]
jmp fcn.0040b140
cmp cx, 5
je 0x412960
cmp cx, 6
jne 0x4129c0
lea rcx, [0x00426800]
jmp fcn.0040b140
cmp cx, 1
je 0x412950
test cx, cx
je 0x412940
cmp cx, 2
je 0x412930
cmp cx, 3
jne 0x4129c0
lea rcx, [0x00426860]
jmp fcn.0040b140
cmp cx, 0x10
je 0x412920
jbe 0x4127f0
cmp cx, 0x13
je 0x412910
jbe 0x4127d0
cmp cx, 0x14
je 0x412900
cmp cx, 0x15
jne 0x4129c0
lea rcx, [0x00426640]
jmp fcn.0040b140
cmp cx, 0x47
je 0x4128f0
jbe 0x412760
cmp cx, 0x48
je 0x4128e0
cmp cx, 0xfff
jne 0x4129c0
lea rcx, [0x00426320]
jmp fcn.0040b140
cmp cx, 0x1b
je 0x4128d0
jbe 0x4127a0
cmp cx, 0x1e
je 0x4128c0
jbe 0x412780
cmp cx, 0x1f
je 0x4128b0
cmp cx, 0x24
jne 0x4129c0
lea rcx, [0x004264e0]
jmp fcn.0040b140
cmp cx, 0x45
je 0x4128a0
cmp cx, 0x46
jne 0x4129c0
lea rcx, [0x00426380]
jmp fcn.0040b140
cmp cx, 0x1c
je 0x412890
cmp cx, 0x1d
jne 0x4129c0
lea rcx, [0x00426540]
jmp fcn.0040b140
cmp cx, 0x18
je 0x412880
jb 0x412870
cmp cx, 0x19
je 0x412860
cmp cx, 0x1a
jne 0x4129c0
lea rcx, [0x004265a0]
jmp fcn.0040b140
cmp cx, 0x11
je 0x412850
cmp cx, 0x12
jne 0x4129c0
lea rcx, [0x004266a0]
jmp fcn.0040b140
cmp cx, 0xc
je 0x412840
jb 0x412830
cmp cx, 0xd
je 0x412820
cmp cx, 0xe
jne 0x4129c0
lea rcx, [0x00426700]
jmp fcn.0040b140
lea rcx, [0x00426620]
jmp fcn.0040b140
lea rcx, [0x00426720]
jmp fcn.0040b140
lea rcx, [0x00426760]
jmp fcn.0040b140
lea rcx, [0x00426740]
jmp fcn.0040b140
lea rcx, [0x004266c0]
jmp fcn.0040b140
lea rcx, [0x004265c0]
jmp fcn.0040b140
lea rcx, [0x00426600]
jmp fcn.0040b140
lea rcx, [0x004265e0]
jmp fcn.0040b140
lea rcx, [0x00426560]
jmp fcn.0040b140
lea rcx, [0x004263a0]
jmp fcn.0040b140
lea rcx, [0x00426500]
jmp fcn.0040b140
lea rcx, [0x00426520]
jmp fcn.0040b140
lea rcx, [0x00426580]
jmp fcn.0040b140
lea rcx, [0x00426340]
jmp fcn.0040b140
lea rcx, [0x00426360]
jmp fcn.0040b140
lea rcx, [0x00426660]
jmp fcn.0040b140
lea rcx, [0x00426680]
jmp fcn.0040b140
lea rcx, [0x004266e0]
jmp fcn.0040b140
lea rcx, [0x00426880]
jmp fcn.0040b140
lea rcx, [0x004268c0]
jmp fcn.0040b140
lea rcx, [0x004268a0]
jmp fcn.0040b140
lea rcx, [0x00426820]
jmp fcn.0040b140
lea rcx, [0x004264a0]
jmp fcn.0040b140
lea rcx, [0x004267c0]
jmp fcn.0040b140
lea rcx, [0x004267e0]
jmp fcn.0040b140
lea rcx, [0x00426840]
jmp fcn.0040b140
lea rcx, [0x00426780]
jmp fcn.0040b140
lea rcx, [0x00426980]
jmp fcn.0040b140
lea rcx, [0x00426440]
jmp fcn.0040b140
lea rcx, [0x00426460]
jmp fcn.0040b140
lea rcx, [0x004263e0]
jmp fcn.0040b140
lea rcx, [0x004264c0]
jmp fcn.0040b140
Function at 0x4175c0
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
test rcx, rcx
je 0x417635
cmp rcx, 0xffffffffffffffff
mov r8, qword [0x00591990]
mov r9, qword [0x00591998]
je 0x417640
mov rax, 0xffffffffffffffff
xor edx, edx
div rcx
not rdx
mov r10, rdx
nop dword [rax]
lea rax, [r9 + r8]
mov rdx, r9
xor rdx, r8
ror r8, 9
mov r9, rdx
xor r8, rdx
ror rdx, 0x1c
shl r9, 0xe
xor r8, r9
cmp rax, r10
mov r9, rdx
ja 0x4175f0
movq xmm1, rdx
movq xmm0, r8
add rcx, 1
punpcklqdq xmm0, xmm1
xor edx, edx
movups xmmword [0x00591990], xmm0
div rcx
mov rax, rdx
ret
mov rax, r8
mov rdx, r8
xor rax, r9
ror rdx, 9
mov rcx, rax
xor rdx, rax
ror rax, 0x1c
shl rcx, 0xe
mov qword [0x00591998], rax
xor rdx, rcx
mov qword [0x00591990], rdx
lea rdx, [r8 + r9]
mov rax, rdx
ret

Function at 0x417690
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.0040b140
test rax, rax
je 0x4176ea
mov r9, qword [rax]
test r9, r9
jle 0x4176ea
mov r8, rax
add r9, rbx
sub r8, rbx
mov rcx, rbx
mov rdx, rbx
sar rcx, 8
sar rdx, 0x10
xor ecx, ebx
and edx, 0xffffffee
and ecx, 0xffffffee
xor cl, byte [r8 + rbx + 0x10]
xor ecx, edx
mov rdx, rbx
sar rdx, 0x18
and edx, 0xffffffee
xor ecx, edx
mov byte [r8 + rbx + 0x10], cl
add rbx, 1
cmp rbx, r9
jne 0x4176b3
add rsp, 0x20
pop rbx
ret
Function at 0x419f40
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
lea rsi, [0x00429320]
mov edx, 0x3f21c264
mov r13, rcx
lea rcx, [0x00429360]
call fcn.00417690
lea rdi, [r13 + 2]
mov edx, 0x334864ac
mov rcx, rax
call fcn.00419b30
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r12, qword [rax + 0x20]
lea rbp, [rax + 0x20]
nop
movzx eax, word [r13]
mov rdx, r13
test ax, ax
je 0x419fc0
nop dword [rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x41a130
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x419fa0
mov rcx, qword [r12 + 0x50]
movzx ebx, word [rcx]
test bx, bx
je 0x41a151
mov rax, rcx
lea edx, [rbx - 0x41]
cmp dx, 0x19
ja 0x41a160
add ebx, 0x20
add rax, 2
mov word [rax - 2], bx
movzx ebx, word [rax]
test bx, bx
jne 0x419fd4
movzx r14d, word [r13]
movzx ebx, word [rcx]
test r14w, r14w
je 0x41a065
test bx, bx
je 0x41a175
mov r10, rdi
mov eax, r14d
sub r10, rcx
jmp 0x41a026
cmp word [rcx], 0
je 0x41a065
movzx edx, word [rcx]
lea r9d, [rax - 0x41]
lea r8d, [rax + 0x20]
cmp r9w, 0x1a
cmovb eax, r8d
lea r9d, [rdx - 0x41]
lea r8d, [rdx + 0x20]
cmp r9w, 0x1a
cmovb edx, r8d
cmp ax, dx
jne 0x41a175
mov rax, rcx
add rcx, 2
movzx eax, word [r10 + rax]
test ax, ax
jne 0x41a020
mov edx, 0x26612ae4
mov rcx, rsi
call fcn.00417690
mov edx, 0x1adcce2c
mov rcx, rax
call fcn.00419b30
cmp r14w, bx
je 0x41a194
mov r12, qword [r12]
cmp rbp, r12
jne 0x419f90
lea rcx, [0x004291e0]
mov edx, 0x3a133f84
call fcn.00417690
lea rbx, [rsp + 0x30]
mov edx, 0x6329880c
mov rcx, rax
call fcn.00419b30
mov rcx, rbx
mov rdx, r13
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x00591de8]
mov r8, rbx
xor edx, edx
xor ecx, ecx
lea r9, [rsp + 0x28]
call qword [0x00591d48]
mov edx, 0x704cfccc
lea rcx, [0x004291a0]
mov ebx, eax
call fcn.00417690
mov edx, 0x26612ae4
mov rcx, rax
call fcn.00419b30
xor eax, eax
test ebx, ebx
jne 0x41a199
mov rax, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
add rdx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x419fa0
mov rcx, qword [r12 + 0x50]
movzx ebx, word [rcx]
test bx, bx
jne 0x419fd1
movzx r14d, word [r13]
jmp 0x41a065
add rax, 2
movzx ebx, word [rax]
test bx, bx
jne 0x419fd4
jmp 0x419ff4
mov rcx, rsi
mov edx, 0x26612ae4
call fcn.00417690
mov edx, 0x1adcce2c
mov rcx, rax
call fcn.00419b30
jmp 0x41a089
mov rax, qword [r12 + 0x20]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret