Function at 0x787c20
Capabilities:
Parse credit card information

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r13d, dword [r8]
mov ebp, r13d
mov r15, rcx
mov rbx, rdx
mov qword [rsp + 0xa0], r8
and ebp, 0x40
test rdx, rdx
mov qword [rsp + 0xa8], r9
je 0x787e84
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov edi, eax
and edi, 0x3fffffff
test ebp, ebp
lea esi, [rdi + 8]
movsxd rsi, esi
je 0x787d15
cmp edi, 4
jle 0x787c87
cmp dword [rbx], 0x656c6966
je 0x787d40
call fcn.00778510
test eax, eax
jne 0x787d30
mov rcx, rsi
call fcn.0074a560
test rax, rax
je 0x787d30
mov dword [rax], 0
lea rbp, [rax + 4]
test edi, edi
movsxd rsi, edi
jne 0x787e90
and r13d, 0xffffffbf
mov dword [rbp + rsi], 0
mov dword [rsp + 0x28], r13d
mov rcx, r15
xor ebx, ebx
call fcn.00778aa0
mov rdx, qword [rsp + 0xa8]
test rax, rax
mov qword [rdx], rax
je 0x787ea3
mov rax, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x28]
mov dword [rax], edx
mov rax, qword [rsp + 0xb0]
mov qword [rax], rbp
mov eax, ebx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [0x00841366], 0
je 0x787c87
cmp edi, 4
jg 0x787c7b
jmp 0x787c87
mov ebx, 7
jmp 0x787d02
cmp byte [rbx + 4], 0x3a
jne 0x787c87
lea edx, [rdi - 1]
mov rax, rbx
lea rcx, [rbx + rdx + 1]
xor edx, edx
cmp byte [rax], 0x26
sete dl
add rax, 1
add rsi, rdx
cmp rcx, rax
jne 0x787d55
call fcn.00778510
test eax, eax
jne 0x787d30
mov rcx, rsi
call fcn.0074a560
test rax, rax
je 0x787d30
mov dword [rax], 0
lea rbp, [rax + 4]
or r13d, 0x40
cmp byte [rbx + 5], 0x2f
mov dword [rsp + 0x28], r13d
je 0x78818a
movzx eax, byte [rbx + 5]
mov edx, 5
xor r13d, r13d
xor r8d, r8d
xor r11d, r11d
lea r14, [0x00b5b340]
jmp 0x787df2
cmp r8d, 1
je 0x787ee0
add r13d, 1
test r8d, r8d
jne 0x787f1a
cmp al, 0x3f
jne 0x787f1a
mov r8d, 1
xor eax, eax
mov byte [r10], al
movzx eax, byte [rdi]
mov edx, ecx
movsxd r11, r13d
lea r10, [rbp + r11]
test al, al
je 0x787f60
cmp al, 0x23
je 0x787f60
lea ecx, [rdx + 1]
cmp al, 0x25
movsxd r9, ecx
lea rdi, [rbx + r9]
jne 0x787dc0
movzx r12d, byte [rdi]
test byte [r14 + r12], 8
je 0x787f40
movzx r9d, byte [rbx + r9 + 1]
test byte [r14 + r9], 8
je 0x787f10
movsx esi, r12b
mov eax, esi
sar eax, 6
and eax, 1
lea ecx, [rsi + rax*8]
add eax, ecx
lea ecx, [rdx + 3]
add edx, 2
and eax, 0xf
movsxd rdx, edx
shl eax, 4
movsxd rdi, ecx
movsx r9d, byte [rbx + rdx]
add rdi, rbx
mov edx, r9d
sar edx, 6
and edx, 1
lea r9d, [r9 + rdx*8]
add edx, r9d
and edx, 0xf
add eax, edx
je 0x7882aa
add r13d, 1
jmp 0x787de7
mov esi, 8
xor edi, edi
jmp 0x787c87
mov r8, rsi
mov rdx, rbx
mov rcx, rbp
call sub.msvcrt.dll_memcpy
jmp 0x787cba
lea rcx, str.no_such_vfs:__s
mov rdx, r15
mov ebx, 1
call fcn.00782ad0
mov rdx, qword [rsp + 0xb8]
mov qword [rdx], rax
test rbp, rbp
je 0x787ce9
mov rcx, rbp
xor ebp, ebp
call fcn.00748fa0
jmp 0x787ce9
cmp al, 0x26
je 0x787ee8
cmp al, 0x3d
jne 0x787f4a
cmp byte [rbp + r11 - 1], 0
je 0x7881d1
lea edx, [r13 + 1]
cmp al, 0x26
je 0x788173
mov r13d, edx
mov r8d, 2
xor eax, eax
jmp 0x787de7
cmp r8d, 1
je 0x787f4a
add r13d, 1
cmp r8d, 2
jne 0x787de7
cmp al, 0x26
mov edx, 1
cmove r8d, edx
mov edx, 0
cmove eax, edx
jmp 0x787de7
cmp r8d, 1
jne 0x787e7b
add r13d, 1
mov r8d, 1
jmp 0x787de7
cmp r8d, 1
jne 0x787f74
mov byte [r10], 0
lea r10d, [r13 + 1]
movsxd r10, r10d
add r10, rbp
test rbp, rbp
mov dword [r10], 0
je 0x788226
mov rcx, rbp
call sub.msvcrt.dll_strlen
and eax, 0x3fffffff
lea r12, [rax + 1]
add r12, rbp
cmp byte [r12], 0
je 0x787ccb
mov qword [rsp + 0x30], rbp
nop dword [rax + rax]
mov rcx, r12
call sub.msvcrt.dll_strlen
mov ebx, eax
and ebx, 0x3fffffff
movsxd rax, ebx
lea rdi, [r12 + rax + 1]
test rdi, rdi
je 0x788150
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov esi, eax
and esi, 0x3fffffff
cmp ebx, 3
je 0x7880c5
cmp ebx, 5
je 0x788110
cmp ebx, 4
jne 0x7880c0
cmp dword [r12], 0x65646f6d
jne 0x7880c0
mov eax, dword [rsp + 0x28]
mov r13d, 0x87
lea rbx, [0x00840240]
and eax, 0x87
mov dword [rsp + 0x2c], eax
lea rax, str.access
mov qword [rsp + 0x38], rax
mov rbp, qword [rbx]
test rbp, rbp
je 0x7880e2
movsxd r12, esi
jmp 0x788051
add rbx, 0x10
mov rbp, qword [rbx]
test rbp, rbp
je 0x7880e2
mov rcx, rbp
call sub.msvcrt.dll_strlen
and eax, 0x3fffffff
cmp esi, eax
jne 0x788041
mov r8, r12
mov rdx, rbp
mov rcx, rdi
call sub.msvcrt.dll_memcmp
mov r14, r12
test eax, eax
jne 0x788041
mov eax, dword [rbx + 8]
test eax, eax
je 0x7880e2
mov edx, eax
and dl, 0x7f
cmp edx, dword [rsp + 0x2c]
jg 0x7881a3
not r13d
and r13d, dword [rsp + 0x28]
or eax, r13d
mov dword [rsp + 0x28], eax
lea r12, [rdi + r14 + 1]
cmp byte [r12], 0
jne 0x787fb0
mov rbp, qword [rsp + 0x30]
jmp 0x787ccb
movsxd r14, esi
jmp 0x78809c
cmp word [r12], 0x6676
je 0x788160
mov eax, 1
test eax, eax
movsxd r14, esi
cmove r15, rdi
jmp 0x78809c
mov rdx, qword [rsp + 0x38]
mov r8, rdi
mov ebx, 1
lea rcx, str.no_such__s_mode:__s
mov rbp, qword [rsp + 0x30]
call fcn.00782ad0
mov rdx, qword [rsp + 0xb8]
mov qword [rdx], rax
jmp 0x787ec2
cmp dword [r12], 0x68636163
jne 0x7880c0
cmp byte [r12 + 4], 0x65
jne 0x7880c0
lea rax, str.cache
mov dword [rsp + 0x2c], 0x60000
mov r13d, 0x60000
mov qword [rsp + 0x38], rax
lea rbx, str.shared
jmp 0x788030
xor esi, esi
jmp 0x787fe1
xor eax, eax
cmp byte [r12 + 2], 0x73
jne 0x7880d2
jmp 0x7880d7
movsxd rdx, edx
mov byte [r10], 0
add r13d, 2
xor eax, eax
lea r10, [rbp + rdx]
jmp 0x787de7
cmp byte [rbx + 6], 0x2f
je 0x788231
mov eax, 0x2f
mov edx, 5
jmp 0x787da5
mov rdx, qword [rsp + 0x38]
mov r8, rdi
mov ebx, 3
lea rcx, str._s_mode_not_allowed:__s
mov rbp, qword [rsp + 0x30]
call fcn.00782ad0
mov rdx, qword [rsp + 0xb8]
mov qword [rdx], rax
jmp 0x787ec2
movzx eax, byte [rdi]
test al, al
je 0x788352
cmp al, 0x23
je 0x788352
cmp byte [rbx + r9 - 1], 0x26
je 0x788352
add edx, 2
movsxd rcx, edx
nop word cs:[rax + rax]
movzx eax, byte [rbx + rcx]
mov edx, ecx
test al, al
je 0x787df2
cmp al, 0x23
je 0x787df2
add rcx, 1
cmp byte [rbx + rcx - 2], 0x26
jne 0x788200
jmp 0x787df2
mov r12d, 1
jmp 0x787f95
movzx eax, byte [rbx + 7]
lea r8, [rbx + 7]
cmp al, 0x2f
je 0x788359
test al, al
je 0x788359
lea rax, [rbx + 8]
mov r9d, 7
jmp 0x78825d
cmp cl, 0x2f
je 0x78826c
mov r9d, edx
movzx ecx, byte [rax]
lea edx, [r9 + 1]
add rax, 1
test cl, cl
jne 0x788255
cmp edx, 0x10
jne 0x788285
movabs rax, 0x736f686c61636f6c
cmp qword [rbx + 7], rax
je 0x788363
lea edx, [r9 - 6]
mov ebx, 1
lea rcx, str.invalid_uri_authority:__.s
call fcn.00782ad0
mov rdx, qword [rsp + 0xb8]
mov qword [rdx], rax
jmp 0x787ec2
movzx eax, byte [rdi]
cmp al, 0x23
je 0x788352
test al, al
je 0x788352
test r8d, r8d
setne r10b
cmp al, 0x3f
jne 0x7882d1
test r10b, r10b
je 0x788383
cmp al, 0x26
mov edx, ecx
setne r9b
cmp r8d, 1
je 0x788320
cmp r8d, 2
jne 0x7882ea
test r9b, r9b
je 0x788346
add ecx, 1
movsxd rax, ecx
mov rdx, rax
movzx eax, byte [rbx + rax]
test al, al
je 0x787df2
cmp al, 0x23
je 0x787df2
cmp al, 0x3f
jne 0x7882d1
test r10b, r10b
jne 0x7882d1
xor r8d, r8d
mov eax, 0x3f
jmp 0x787df2
cmp al, 0x3d
je 0x788377
test r9b, r9b
je 0x788377
lea ecx, [rcx + 1]
movsxd rax, ecx
mov edx, ecx
movzx eax, byte [rbx + rax]
test al, al
je 0x787df2
cmp al, 0x23
jne 0x7882d1
jmp 0x787df2
movsxd rax, ecx
movzx eax, byte [rbx + rax]
jmp 0x787df2
mov edx, ecx
jmp 0x787df2
mov edx, 7
jmp 0x787da5
cmp byte [r8 + 8], 0x74
jne 0x788285
movzx eax, byte [rbx + 0x10]
jmp 0x787da5
movsxd rcx, ecx
movzx eax, byte [rbx + rcx]
jmp 0x787df2
mov edx, ecx
xor r8d, r8d
mov eax, 0x3f
jmp 0x787df2