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

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1401b72c0]
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 0x1401502d5
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 0x140150336
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14012a970
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.140177140
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 0x1401503f1
sub ecx, 1
je 0x140150464
sub ecx, 1
je 0x1401503a0
cmp ecx, 1
je 0x140150383
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14019361c]
call fcn.14012a970
jmp 0x140150464
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14014ff70
test eax, eax
je 0x140150464
jmp 0x14015030a
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 0x140150464
sub rax, rsi
cmp rax, rbp
jae 0x140150464
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14012aaf0
jmp 0x140150464
cmp r8d, 4
jle 0x140150464
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 0x140150464
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14012a890
mov esi, eax
test eax, eax
je 0x140150443
mov edx, 5
mov rcx, rbx
call fcn.140150f30
mov eax, esi
jmp 0x14015030a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140139360
mov rcx, r14
call fcn.140139640
test eax, eax
je 0x140150308
mov edx, 5
mov rcx, rbx
call fcn.140150f30
mov eax, Ordinal_46
jmp 0x14015030a
Function at 0x140163200
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 0x140163242
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 0x140163289
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 0x1401632e2
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 0x1401632a0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140163323
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140192652]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140192653]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401632f0
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 0x14016e780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov ebx, dword [rcx + 0x14]
mov rsi, rcx
call fcn.14016e4b0
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.14016e4b0
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x14016e90b
xor eax, eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
cmp ebx, 2
mov qword [rsp + 0x20], r15
lea r14, [rsp + 0x40]
setne al
lea r15, [rsp + 0x40]
add r14, rax
xor rax, 1
add r15, rax
movzx edi, byte [r14]
movzx eax, byte [r15]
shl edi, 8
or edi, eax
lea eax, [rdi - 0xdc00]
cmp eax, 0x3ff
ja 0x14016e815
lea rcx, [rsi + 0x18]
mov edx, 0xfffd
call fcn.14016e550
jmp 0x14016e8fc
lea eax, [rdi - 0xd800]
mov qword [rsp + 0x48], rbp
cmp eax, 0x3ff
ja 0x14016e8e9
mov rcx, rsi
call fcn.14016e4b0
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.14016e4b0
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
lea rbp, [rsi + 0x18]
test al, al
je 0x14016e8c9
nop
movzx eax, byte [r15]
movzx ebx, byte [r14]
shl ebx, 8
or ebx, eax
lea eax, [rbx - 0xdc00]
cmp eax, 0x3ff
jbe 0x14016e8d0
lea rbp, [rsi + 0x18]
mov edx, 0xfffd
mov rcx, rbp
call fcn.14016e550
lea eax, [rbx - 0xd800]
cmp eax, 0x7ff
ja 0x14016e8ed
mov rcx, rsi
mov edi, ebx
call fcn.14016e4b0
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.14016e4b0
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x14016e860
mov edx, 0xfffd
jmp 0x14016e8ef
and edi, 0x3ff
and ebx, 0x3ff
shl edi, 0xa
or edi, ebx
add edi, 0x10000
jmp 0x14016e8ed
lea rbp, [rsi + 0x18]
mov edx, edi
mov rcx, rbp
call fcn.14016e550
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x14017699c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401769d6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401769db
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140176a24
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140176a24
dec r8
sub rdx, 1
jne 0x140176a0a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140178208
Capabilities:
Parse pe header

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

Function at 0x14000eda8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1400100a8]
test rax, rax
je 0x14000edf2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000edf2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000edf2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000edf2
cmp dword [rcx + 0x84], 0xe
jbe 0x14000edf2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000edf4
xor al, al
add rsp, 0x28
ret
Function at 0x140011181
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x140011990
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240a8]
call fcn.1400113c0
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
je 0x1400119db
mov eax, dword [rbp + 4]
and eax, 0x10
test eax, eax
jne 0x1400119db
mov dword [rbp + 0xd4], 1
jmp 0x1400119e5
mov dword [rbp + 0xd4], 0
mov eax, dword [rbp + 0xd4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011217
Capabilities:
Terminate process

Disassembly:
jmp 0x140013370
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014700
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014720
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014733
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001475d
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014771
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014783
xor al, al
jmp 0x1400147a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001479f
xor al, al
jmp 0x1400147a1
mov al, 1
add rsp, 0x38
ret
Function at 0x61601cb0
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 0x61601ccf
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 0x61601d30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.61618a30]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__cannot_register_global_variable__too_many_global_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

Function at 0x61601d70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.61618a30]
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
test ecx, ecx
setne al
ret
Function at 0x6160e6e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rbx, [0x6161dc80]
mov r14, rcx
mov ebp, edx
mov edx, 0x60568380
lea rcx, [0x6161dcc0]
call fcn.6160e580
lea rsi, [r14 + 2]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r13, qword [rax + 0x20]
lea rdi, [rax + 0x20]
nop word cs:[rax + rax]
movzx eax, word [r14]
mov rdx, r14
test ax, ax
je 0x6160e760
nop dword [rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x6160e8c0
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x6160e740
mov rcx, qword [r13 + 0x50]
movzx r12d, word [rcx]
test r12w, r12w
je 0x6160e8e2
mov rax, rcx
nop
nop word cs:[rax + rax]
lea edx, [r12 - 0x41]
cmp dx, 0x19
ja 0x6160e8f0
add r12d, 0x20
add rax, 2
mov word [rax - 2], r12w
movzx r12d, word [rax]
test r12w, r12w
jne 0x6160e780
movzx r15d, word [r14]
movzx r12d, word [rcx]
test r15w, r15w
je 0x6160e815
test r12w, r12w
je 0x6160e910
mov r10, rsi
mov eax, r15d
sub r10, rcx
jmp 0x6160e7d6
cmp word [rcx], 0
je 0x6160e815
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 0x6160e910
mov rax, rcx
add rcx, 2
movzx eax, word [r10 + rax]
test ax, ax
jne 0x6160e7d0
mov edx, 0x59737380
mov rcx, rbx
call fcn.6160e580
cmp r15w, r12w
je 0x6160e922
mov r13, qword [r13]
cmp rdi, r13
jne 0x6160e730
test ebp, ebp
je 0x6160e937
lea rbx, [rsp + 0x30]
mov edx, 0x1c655f80
lea rcx, [0x6161dbe0]
call fcn.6160e580
mov rcx, rbx
mov rdx, r14
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x6162f8d8]
mov r8, rbx
xor edx, edx
xor ecx, ecx
lea r9, [rsp + 0x28]
call qword [0x61637258]
mov edx, 0x33955680
lea rcx, [0x6161dba0]
mov ebx, eax
call fcn.6160e580
test ebx, ebx
jne 0x6160e948
mov rax, qword [rsp + 0x28]
jmp 0x6160e926
add rdx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x6160e740
mov rcx, qword [r13 + 0x50]
movzx r12d, word [rcx]
test r12w, r12w
jne 0x6160e772
movzx r15d, word [r14]
jmp 0x6160e815
add rax, 2
movzx r12d, word [rax]
test r12w, r12w
jne 0x6160e780
jmp 0x6160e7a6
mov edx, 0x59737380
mov rcx, rbx
call fcn.6160e580
jmp 0x6160e82c
mov rax, qword [r13 + 0x20]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x6161db60]
mov edx, 0x50bed280
call fcn.6160e580
xor eax, eax
jmp 0x6160e926
Function at 0x6160e950
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, [0x6161dc80]
mov edx, 0x60568380
mov r13, rcx
lea rcx, [0x6161dcc0]
call fcn.6160e580
lea rdi, [r13 + 2]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r12, qword [rax + 0x20]
lea rbp, [rax + 0x20]
nop dword [rax]
nop word cs:[rax + rax]
movzx eax, word [r13]
mov rdx, r13
test ax, ax
je 0x6160e9d0
nop dword [rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x6160eb30
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x6160e9b0
mov rcx, qword [r12 + 0x50]
movzx ebx, word [rcx]
test bx, bx
je 0x6160eb51
mov rax, rcx
nop
nop word cs:[rax + rax]
lea edx, [rbx - 0x41]
cmp dx, 0x19
ja 0x6160eb60
add ebx, 0x20
add rax, 2
mov word [rax - 2], bx
movzx ebx, word [rax]
test bx, bx
jne 0x6160e9f0
movzx r14d, word [r13]
movzx ebx, word [rcx]
test r14w, r14w
je 0x6160ea85
test bx, bx
je 0x6160eb80
mov r10, rdi
mov eax, r14d
sub r10, rcx
jmp 0x6160ea46
cmp word [rcx], 0
je 0x6160ea85
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 0x6160eb80
mov rax, rcx
add rcx, 2
movzx eax, word [r10 + rax]
test ax, ax
jne 0x6160ea40
mov edx, 0x59737380
mov rcx, rsi
call fcn.6160e580
cmp r14w, bx
je 0x6160eb92
mov r12, qword [r12]
cmp rbp, r12
jne 0x6160e9a0
lea rbx, [rsp + 0x30]
mov edx, 0x1c655f80
lea rcx, [0x6161dbe0]
call fcn.6160e580
mov rcx, rbx
mov rdx, r13
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x6162f8d8]
mov r8, rbx
xor edx, edx
xor ecx, ecx
lea r9, [rsp + 0x28]
call qword [0x61637258]
mov edx, 0x33955680
lea rcx, [0x6161dba0]
mov ebx, eax
call fcn.6160e580
xor eax, eax
test ebx, ebx
jne 0x6160eb97
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 0x6160e9b0
mov rcx, qword [r12 + 0x50]
movzx ebx, word [rcx]
test bx, bx
jne 0x6160e9e1
movzx r14d, word [r13]
jmp 0x6160ea85
add rax, 2
movzx ebx, word [rax]
test bx, bx
jne 0x6160e9f0
jmp 0x6160ea10
mov edx, 0x59737380
mov rcx, rsi
call fcn.6160e580
jmp 0x6160ea9c
mov rax, qword [r12 + 0x20]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x61610a60
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x61610d00
jbe 0x61610ac0
cmp cx, 0x25
je 0x61610ef0
jbe 0x61610c00
cmp cx, 0x44
je 0x61610ee0
ja 0x61610bd0
cmp cx, 0x41
je 0x61610ed0
jbe 0x61610b10
cmp cx, 0x42
je 0x61610ec0
cmp cx, 0x43
jne 0x61610eb0
lea rcx, [0x6161b5c0]
jmp fcn.6160e500
cmp cx, 0xa
je 0x61610ea0
ja 0x61610b90
cmp cx, 4
je 0x61610e90
jbe 0x61610b50
cmp cx, 7
je 0x61610e80
jbe 0x61610b30
cmp cx, 8
je 0x61610e70
cmp cx, 9
jne 0x61610eb0
lea rcx, [0x6161b940]
jmp fcn.6160e500
cmp cx, 0x26
je 0x61610e60
cmp cx, 0x40
jne 0x61610eb0
lea rcx, [0x6161b620]
jmp fcn.6160e500
cmp cx, 5
je 0x61610e50
cmp cx, 6
jne 0x61610eb0
lea rcx, [0x6161b9a0]
jmp fcn.6160e500
cmp cx, 1
je 0x61610e40
test cx, cx
je 0x61610e30
cmp cx, 2
je 0x61610e20
cmp cx, 3
jne 0x61610eb0
lea rcx, [0x6161ba00]
jmp fcn.6160e500
cmp cx, 0x10
je 0x61610e10
jbe 0x61610cd0
cmp cx, 0x13
je 0x61610e00
jbe 0x61610cb0
cmp cx, 0x14
je 0x61610df0
cmp cx, 0x15
jne 0x61610eb0
lea rcx, [0x6161b7e0]
jmp fcn.6160e500
cmp cx, 0x47
je 0x61610de0
jbe 0x61610c40
cmp cx, 0x48
je 0x61610dd0
cmp cx, 0xfff
jne 0x61610eb0
lea rcx, [0x6161b4c0]
jmp fcn.6160e500
cmp cx, 0x1b
je 0x61610dc0
jbe 0x61610c80
cmp cx, 0x1e
je 0x61610db0
jbe 0x61610c60
cmp cx, 0x1f
je 0x61610da0
cmp cx, 0x24
jne 0x61610eb0
lea rcx, [0x6161b680]
jmp fcn.6160e500
cmp cx, 0x45
je 0x61610d90
cmp cx, 0x46
jne 0x61610eb0
lea rcx, [0x6161b520]
jmp fcn.6160e500
cmp cx, 0x1c
je 0x61610d80
cmp cx, 0x1d
jne 0x61610eb0
lea rcx, [0x6161b6e0]
jmp fcn.6160e500
cmp cx, 0x18
je 0x61610d70
jb 0x61610d60
cmp cx, 0x19
je 0x61610d50
cmp cx, 0x1a
jne 0x61610eb0
lea rcx, [0x6161b740]
jmp fcn.6160e500
cmp cx, 0x11
je 0x61610d40
cmp cx, 0x12
jne 0x61610eb0
lea rcx, [0x6161b840]
jmp fcn.6160e500
cmp cx, 0xc
je 0x61610d30
jb 0x61610d20
cmp cx, 0xd
je 0x61610d10
cmp cx, 0xe
jne 0x61610eb0
lea rcx, [0x6161b8a0]
jmp fcn.6160e500
lea rcx, [0x6161b7c0]
jmp fcn.6160e500
lea rcx, [0x6161b8c0]
jmp fcn.6160e500
lea rcx, [0x6161b900]
jmp fcn.6160e500
lea rcx, [0x6161b8e0]
jmp fcn.6160e500
lea rcx, [0x6161b860]
jmp fcn.6160e500
lea rcx, [0x6161b760]
jmp fcn.6160e500
lea rcx, [0x6161b7a0]
jmp fcn.6160e500
lea rcx, [0x6161b780]
jmp fcn.6160e500
lea rcx, [0x6161b700]
jmp fcn.6160e500
lea rcx, [0x6161b540]
jmp fcn.6160e500
lea rcx, [0x6161b6a0]
jmp fcn.6160e500
lea rcx, [0x6161b6c0]
jmp fcn.6160e500
lea rcx, [0x6161b720]
jmp fcn.6160e500
lea rcx, [0x6161b4e0]
jmp fcn.6160e500
lea rcx, [0x6161b500]
jmp fcn.6160e500
lea rcx, [0x6161b800]
jmp fcn.6160e500
lea rcx, [0x6161b820]
jmp fcn.6160e500
lea rcx, [0x6161b880]
jmp fcn.6160e500
lea rcx, [0x6161ba20]
jmp fcn.6160e500
lea rcx, [0x6161ba60]
jmp fcn.6160e500
lea rcx, [0x6161ba40]
jmp fcn.6160e500
lea rcx, [0x6161b9c0]
jmp fcn.6160e500
lea rcx, [0x6161b640]
jmp fcn.6160e500
lea rcx, [0x6161b960]
jmp fcn.6160e500
lea rcx, [0x6161b980]
jmp fcn.6160e500
lea rcx, [0x6161b9e0]
jmp fcn.6160e500
lea rcx, [0x6161b920]
jmp fcn.6160e500
lea rcx, [0x6161bb20]
jmp fcn.6160e500
lea rcx, [0x6161b5e0]
jmp fcn.6160e500
lea rcx, [0x6161b600]
jmp fcn.6160e500
lea rcx, [0x6161b580]
jmp fcn.6160e500
lea rcx, [0x6161b660]
jmp fcn.6160e500
Function at 0x616138c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rcx, qword [0x6162fbc0]
test rcx, rcx
je 0x616138dd
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.616136f0
lea rcx, [0x6162fd70]
call fcn.6160e4d0
lea rcx, [0x6161b2a0]
mov rbx, rax
mov rsi, qword [rbx + 0x18]
lea rax, [0x61630260]
mov qword [rbx], rax
lea rax, str.ReraiseDefect
mov qword [rbx + 0x10], rax
call fcn.6160daa0
test rsi, rsi
mov qword [rbx + 0x18], rax
je 0x6161393c
mov rax, qword [rsi - 0x10]
lea rdx, [rsi - 0x10]
sub rax, 8
cmp rax, 7
mov qword [rsi - 0x10], rax
ja 0x6161393c
lea rcx, [0x6162c208]
call fcn.6160ca30
mov qword [rsp + 0x20], 0x35
lea r9, str.fatal.nim
mov rcx, rbx
lea r8, str.sysFatal
lea rdx, str.ReraiseDefect
call fcn.61613810
nop
nop dword [rax]
nop word cs:[rax + rax]

Function at 0x61613970
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x150
cmp qword [0x61630018], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov byte [rbp - 0x111], 1
je 0x61613a6f
mov rax, qword [0x61625140]
lea rcx, [rbp - 0x110]
mov rdx, rbp
mov qword [0x61625140], rcx
add rcx, 0x10
mov qword [rbp - 0x110], rax
call sub.msvcrt.dll__setjmp
cdqe
test rax, rax
mov qword [rbp - 0x108], rax
jne 0x61613a90
xor ebx, ebx
cmp qword [rbp + 0x20], 0
je 0x61613a40
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 0x61613a0a
lea rdx, [rax + 0x11]
mov qword [rbp - 0x128], rax
lea r8, [0x6162c1f0]
lea rcx, [0x61619040]
call fcn.6160db30
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 [0x61630018]
mov rax, qword [0x61625140]
mov byte [rbp - 0x111], 0
cmp qword [rbp - 0x108], 0
mov rax, qword [rax]
mov qword [0x61625140], rax
jne 0x61613b04
movzx eax, byte [rbp - 0x111]
test al, al
jne 0x61613b10
add rsp, 0x150
pop rbx
pop rsi
pop rbp
ret
mov rax, qword [0x61625140]
mov rax, qword [rax]
mov qword [rbp - 0x108], 0
mov qword [0x61625140], rax
mov rax, qword [0x6162fbc0]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x61613acd
add qword [rbx - 0x10], 8
mov rax, qword [0x6162fbc0]
test rax, rax
je 0x61613aef
mov rsi, qword [rax - 0x10]
lea rdx, [rax - 0x10]
lea rcx, [rsi - 8]
cmp rcx, 7
mov qword [rax - 0x10], rcx
ja 0x61613aef
lea rcx, [0x6162c208]
call fcn.6160ca30
cmp qword [rbp - 0x108], 0
mov qword [0x6162fbc0], rbx
je 0x61613a6f
call fcn.616138c0
jmp 0x61613a6f
mov ecx, 2
call qword [fcn.61618a30]
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 0x61613a7e