joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3a70
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400e8080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400a3b05
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400a3b66
lea rdx, [0x1400c7ba0]
mov rcx, rdi
call fcn.14007e370
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b7400
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400a3c21
sub ecx, 1
je 0x1400a3c94
sub ecx, 1
je 0x1400a3bd0
cmp ecx, 1
je 0x1400a3bb3
lea r8, [0x1400c7bd0]
mov rcx, rdi
lea rdx, [0x1400cf360]
call fcn.14007e370
jmp 0x1400a3c94
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400a37a0
test eax, eax
je 0x1400a3c94
jmp 0x1400a3b3a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400a3c94
sub rax, rsi
cmp rax, rbp
jae 0x1400a3c94
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14007e4f0
jmp 0x1400a3c94
cmp r8d, 4
jle 0x1400a3c94
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400a3c94
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14007e290
mov esi, eax
test eax, eax
je 0x1400a3c73
mov edx, 5
mov rcx, rbx
call fcn.1400a4760
mov eax, esi
jmp 0x1400a3b3a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14008cb90
mov rcx, r14
call fcn.14008ce70
test eax, eax
je 0x1400a3b38
mov edx, 5
mov rcx, rbx
call fcn.1400a4760
mov eax, Ordinal_46
jmp 0x1400a3b3a
Function at 0x1400b6a30
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400b6a72
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400b6ab9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400b6b12
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400b6ad0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400b6b53
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400ca422]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400ca423]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400b6b20
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400b7b44
Capabilities:
Parse pe header

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

Disassembly:
mov esi, 0xbea9bea8
stosb byte [rdi], al
adc ebp, ebp
test eax, 0xed13aabe
xor dword [rcx], edi
push rbx
jp 0x1400ab541
cmp al, 0x6b
xor dword [rcx + rax], edx
test al, 0x21
sbb byte [rsi], dl
test dword [rdi], esi
jge 0x1400ab5ba
mov esp, 0xd7d832c4
cmp dword [rdx], edi
add edi, dword [rdx + 0x15d22562]
pop rdx
xchg esp, eax
sub edx, dword [rbx]
sbb byte [rdx - 2], 0x1f
lahf
adc dword [rax - 0x8ac05af], esp
test byte [rdi - 0x3bef3adf], cl
invalid
invalid
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x14011a490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x14011a4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400fbe50
jmp 0x14000123c
mov rax, qword [0x14011a4a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x14011a4a0]
mov dword [rax], 1
mov rax, qword [0x14011a4e0]
mov rdx, rax
mov rax, qword [0x14011a4d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x14011e024], 1
mov rax, qword [0x14011a4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x14011a4c0]
mov rdx, rax
mov rax, qword [0x14011a4b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x14011a4a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x14011a490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x14011a3e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x14011a3e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400fb0d8
mov rax, qword [0x14011a520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x14011a480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400fa8d0
mov eax, dword [0x14011e004]
lea rdx, [0x14011e008]
mov ecx, eax
call fcn.14000147c
call fcn.1400fa667
mov rax, qword [0x14011a410]
mov rax, qword [rax]
mov rdx, qword [0x14011e010]
mov qword [rax], rdx
mov rcx, qword [0x14011e010]
mov rdx, qword [0x14011e008]
mov eax, dword [0x14011e004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x14011e01c], eax
mov eax, dword [0x14011e020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14011e01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x14011e024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14011e01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14011a440]
mov dword [rax], 1
mov rax, qword [0x14011a450]
mov dword [rax], 1
mov rax, qword [0x14011a460]
mov dword [rax], 1
mov rax, qword [0x14011a400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400fa8e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.1400fbc40
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400fb5b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14011e168]
test eax, eax
je 0x1400fb64a
lea rax, [0x14011e140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14011e170]
mov qword [rbp - 8], rax
jmp 0x1400fb62e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400fb622
cmp qword [rbp - 0x10], 0
je 0x1400fb622
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400fb5e8
lea rax, [0x14011e140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400fb64b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400fb750
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400fb778
mov eax, 0
jmp 0x1400fb7c6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400fb7a1
mov eax, 0
jmp 0x1400fb7c6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400fb7c1
mov eax, 0
jmp 0x1400fb7c6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400fb7cc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400fb84a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400fb841
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400fb841
mov rax, qword [rbp - 8]
jmp 0x1400fb85f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400fb814
mov eax, 0
add rsp, 0x20
pop rbp
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.004219c0]
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.004219c0]
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.004219c0]
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 [0x00454e80], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov byte [rbp - 0x111], 1
je 0x40a43f
mov rax, qword [0x0044b160]
lea rcx, [rbp - 0x110]
mov rdx, rbp
mov qword [0x0044b160], 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, [0x00451fa0]
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 [0x00454e80]
mov rax, qword [0x0044b160]
mov byte [rbp - 0x111], 0
cmp qword [rbp - 0x108], 0
mov rax, qword [rax]
mov qword [0x0044b160], 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 [0x0044b160]
mov rax, qword [rax]
mov qword [rbp - 0x108], 0
mov qword [0x0044b160], rax
mov rax, qword [0x00454de8]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x40a49d
add qword [rbx - 0x10], 8
mov rax, qword [0x00454de8]
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, [0x00451fb8]
call fcn.00405ad0
cmp qword [rbp - 0x108], 0
mov qword [0x00454de8], rbx
je 0x40a43f
call fcn.0040ac60
jmp 0x40a43f
mov ecx, 2
call qword [fcn.004219c0]
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 0x412650
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x4128d4
jbe 0x4126b0
cmp cx, 0x25
je 0x412ac0
jbe 0x4127e0
cmp cx, 0x44
je 0x412ab0
ja 0x4127b3
cmp cx, 0x41
je 0x412aa0
jbe 0x412700
cmp cx, 0x42
je 0x412a90
cmp cx, 0x43
jne 0x412a80
lea rcx, [0x004264e0]
jmp fcn.0040b140
cmp cx, 0xa
je 0x412a70
ja 0x412773
cmp cx, 4
je 0x412a60
jbe 0x412740
cmp cx, 7
je 0x412a50
jbe 0x412720
cmp cx, 8
je 0x412a40
cmp cx, 9
jne 0x412a80
lea rcx, [0x00426860]
jmp fcn.0040b140
cmp cx, 0x26
je 0x412a30
cmp cx, 0x40
jne 0x412a80
lea rcx, [0x00426540]
jmp fcn.0040b140
cmp cx, 5
je 0x412a20
cmp cx, 6
jne 0x412a80
lea rcx, [0x004268c0]
jmp fcn.0040b140
cmp cx, 1
je 0x412a10
test cx, cx
je 0x412a00
cmp cx, 2
je 0x4129f0
cmp cx, 3
jne 0x412a80
lea rcx, [0x00426920]
jmp fcn.0040b140
cmp cx, 0x10
je 0x4129e0
jbe 0x4128b0
cmp cx, 0x13
je 0x4129d0
jbe 0x412890
cmp cx, 0x14
je 0x4129c0
cmp cx, 0x15
jne 0x412a80
lea rcx, [0x00426700]
jmp fcn.0040b140
cmp cx, 0x47
je 0x4129b0
jbe 0x412820
cmp cx, 0x48
je 0x4129a0
cmp cx, 0xfff
jne 0x412a80
lea rcx, [0x004263e0]
jmp fcn.0040b140
cmp cx, 0x1b
je 0x412990
jbe 0x412860
cmp cx, 0x1e
je 0x412980
jbe 0x412840
cmp cx, 0x1f
je 0x412970
cmp cx, 0x24
jne 0x412a80
lea rcx, [0x004265a0]
jmp fcn.0040b140
cmp cx, 0x45
je 0x412960
cmp cx, 0x46
jne 0x412a80
lea rcx, [0x00426440]
jmp fcn.0040b140
cmp cx, 0x1c
je 0x412950
cmp cx, 0x1d
jne 0x412a80
lea rcx, [0x00426600]
jmp fcn.0040b140
cmp cx, 0x18
je 0x412940
jb 0x412930
cmp cx, 0x19
je 0x412920
cmp cx, 0x1a
jne 0x412a80
lea rcx, [0x00426660]
jmp fcn.0040b140
cmp cx, 0x11
je 0x412910
cmp cx, 0x12
jne 0x412a80
lea rcx, [0x00426760]
jmp fcn.0040b140
cmp cx, 0xc
je 0x412900
jb 0x4128f0
cmp cx, 0xd
je 0x4128e0
cmp cx, 0xe
jne 0x412a80
lea rcx, [0x004267c0]
jmp fcn.0040b140
lea rcx, [0x004266e0]
jmp fcn.0040b140
lea rcx, [0x004267e0]
jmp fcn.0040b140
lea rcx, [0x00426820]
jmp fcn.0040b140
lea rcx, [0x00426800]
jmp fcn.0040b140
lea rcx, [0x00426780]
jmp fcn.0040b140
lea rcx, [0x00426680]
jmp fcn.0040b140
lea rcx, [0x004266c0]
jmp fcn.0040b140
lea rcx, [0x004266a0]
jmp fcn.0040b140
lea rcx, [0x00426620]
jmp fcn.0040b140
lea rcx, [0x00426460]
jmp fcn.0040b140
lea rcx, [0x004265c0]
jmp fcn.0040b140
lea rcx, [0x004265e0]
jmp fcn.0040b140
lea rcx, [0x00426640]
jmp fcn.0040b140
lea rcx, [0x00426400]
jmp fcn.0040b140
lea rcx, [0x00426420]
jmp fcn.0040b140
lea rcx, [0x00426720]
jmp fcn.0040b140
lea rcx, [0x00426740]
jmp fcn.0040b140
lea rcx, [0x004267a0]
jmp fcn.0040b140
lea rcx, [0x00426940]
jmp fcn.0040b140
lea rcx, [0x00426980]
jmp fcn.0040b140
lea rcx, [0x00426960]
jmp fcn.0040b140
lea rcx, [0x004268e0]
jmp fcn.0040b140
lea rcx, [0x00426560]
jmp fcn.0040b140
lea rcx, [0x00426880]
jmp fcn.0040b140
lea rcx, [0x004268a0]
jmp fcn.0040b140
lea rcx, [0x00426900]
jmp fcn.0040b140
lea rcx, [0x00426840]
jmp fcn.0040b140
lea rcx, [0x00426a40]
jmp fcn.0040b140
lea rcx, [0x00426500]
jmp fcn.0040b140
lea rcx, [0x00426520]
jmp fcn.0040b140
lea rcx, [0x004264a0]
jmp fcn.0040b140
lea rcx, [0x00426580]
jmp fcn.0040b140
Function at 0x417680
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
test rcx, rcx
je 0x4176f5
cmp rcx, 0xffffffffffffffff
mov r8, qword [0x0045d9b0]
mov r9, qword [0x0045d9b8]
je 0x417700
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 0x4176b0
movq xmm1, rdx
movq xmm0, r8
add rcx, 1
punpcklqdq xmm0, xmm1
xor edx, edx
movups xmmword [0x0045d9b0], 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 [0x0045d9b8], rax
xor rdx, rcx
mov qword [0x0045d9b0], rdx
lea rdx, [r8 + r9]
mov rax, rdx
ret

Function at 0x417750
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.0040b140
test rax, rax
je 0x4177aa
mov r9, qword [rax]
test r9, r9
jle 0x4177aa
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 0x417773
add rsp, 0x20
pop rbx
ret