Function at 0x140145400
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r12
push r13
sub rsp, 0x58
mov r12d, dword [r8]
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x80], 0
test rdx, rdx
jne 0x140145436
xor edi, edi
jmp 0x14014544f
or rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140145440
and edi, 0x3fffffff
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
test r12b, 0x40
jne 0x140145476
cmp byte [0x140288b56], 0
je 0x140145937
cmp edi, 5
jl 0x140145937
mov eax, dword [rdx]
cmp eax, dword [str.file:]
jne 0x140145937
movzx eax, byte [rdx + 4]
cmp al, byte [0x1401e8618]
jne 0x140145937
or r12d, 0x40
lea eax, [rdi + 8]
movsxd r8, edi
xor esi, esi
xor r14d, r14d
xor r15d, r15d
xor ecx, ecx
movsxd rbp, eax
mov dword [rsp + 0x88], r12d
cmp r8, 2
jl 0x1401454f2
lea rdx, [r8 - 1]
nop word [rax + rax]
xor eax, eax
cmp byte [rbx + rcx], 0x26
sete al
add rsi, rax
xor eax, eax
cmp byte [rbx + rcx + 1], 0x26
sete al
add rcx, 2
add r14, rax
cmp rcx, rdx
jl 0x1401454d0
cmp rcx, r8
jge 0x140145503
xor eax, eax
cmp byte [rcx + rbx], 0x26
sete al
add rbp, rax
call fcn.1401744e0
test eax, eax
jne 0x140145a7c
lea rcx, [r14 + rsi]
add rcx, rbp
call fcn.140141550
mov rbp, rax
test rax, rax
je 0x140145a7c
xor eax, eax
add rbp, 4
mov dword [rbp - 4], eax
cmp byte [rbx + 5], 0x2f
lea r9d, [rax + 5]
jne 0x1401455ae
cmp byte [rbx + 6], 0x2f
jne 0x1401455ae
lea r8, [rbx + 7]
lea r9d, [rax + 7]
movzx eax, byte [r8]
test al, al
je 0x1401455ae
mov rcx, r8
cmp al, 0x2f
je 0x140145566
movzx eax, byte [rcx + 1]
inc rcx
inc r9d
test al, al
jne 0x140145554
cmp r9d, 7
je 0x1401455ae
cmp r9d, 0x10
jne 0x14014558b
mov rax, qword [str.localhost]
cmp rax, qword [r8]
jne 0x14014558b
movzx eax, byte [reloc.WS2_32.dll_WSACleanup]
cmp al, byte [r8 + 8]
je 0x1401455ae
lea edx, [r9 - 7]
lea rcx, str.invalid_uri_authority:__.s
call fcn.1400be040
mov rcx, rax
mov rax, qword [rsp + 0xa8]
mov qword [rax], rcx
jmp 0x1401459c0
movsxd rax, r9d
xor r11d, r11d
movzx edx, byte [rax + rbx]
test dl, dl
je 0x140145744
xor r10d, r10d
lea rdi, [0x1401dcce0]
nop word [rax + rax]
cmp dl, 0x23
je 0x140145734
inc r9d
cmp dl, 0x25
jne 0x1401456a2
movsxd rax, r9d
movzx ecx, byte [rax + rbx]
test byte [rcx + rdi], 8
je 0x1401456a2
movzx eax, byte [rax + rbx + 1]
test byte [rax + rdi], 8
je 0x1401456a2
movsx edx, cl
inc r9d
mov ecx, edx
movsxd rax, r9d
inc r9d
movsx r8d, byte [rax + rbx]
sar ecx, 6
mov al, 7
and cl, 1
imul cl
mov ecx, r8d
sar ecx, 6
sub dl, al
and cl, 1
mov al, 7
and edx, 0xf
shl edx, 4
imul cl
movzx ecx, r8b
sub cl, al
and ecx, 0xf
add edx, ecx
jne 0x14014571b
movsxd rax, r9d
lea rcx, [rax + rbx]
movzx eax, byte [rax + rbx]
test al, al
je 0x140145725
movsxd rdx, r11d
nop
cmp al, 0x23
je 0x140145725
test r11d, r11d
jne 0x140145671
cmp al, 0x3f
jmp 0x140145689
cmp rdx, 1
jne 0x140145681
cmp al, 0x3d
je 0x140145725
jmp 0x140145687
cmp rdx, 2
jne 0x14014568f
cmp al, 0x26
je 0x140145725
movzx eax, byte [rcx + 1]
inc rcx
inc r9d
test al, al
jne 0x140145660
jmp 0x140145725
cmp r11d, 1
jne 0x1401456fc
cmp dl, 0x26
je 0x1401456b2
cmp dl, 0x3d
jne 0x14014571b
cmp byte [r10 + rbp - 1], 0
jne 0x1401456e2
movsxd rax, r9d
movzx ecx, byte [rax + rbx]
test cl, cl
je 0x140145725
cmp cl, 0x23
je 0x140145725
cmp byte [rax + rbx - 1], 0x26
je 0x140145725
movzx ecx, byte [rax + rbx + 1]
inc rax
inc r9d
test cl, cl
jne 0x1401456c5
jmp 0x140145725
cmp dl, 0x26
jne 0x1401456f4
mov byte [r10 + rbp], 0
inc r15d
inc r10
jmp 0x140145719
mov r11d, 2
jmp 0x140145719
test r11d, r11d
jne 0x140145708
cmp dl, 0x3f
je 0x140145713
jmp 0x14014571b
cmp r11d, 2
jne 0x14014571b
cmp dl, 0x26
jne 0x14014571b
mov r11d, 1
xor dl, dl
mov byte [r10 + rbp], dl
inc r15d
inc r10
movsxd rax, r9d
movzx edx, byte [rax + rbx]
test dl, dl
jne 0x1401455d0
cmp r11d, 1
jne 0x140145744
movsxd rax, r15d
inc r15d
mov byte [rax + rbp], 0
xor ecx, ecx
movsxd rax, r15d
mov dword [rax + rbp], ecx
test rbp, rbp
jne 0x140145755
xor eax, eax
jmp 0x14014576d
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rax + rbp], cl
jne 0x140145760
and eax, 0x3fffffff
inc eax
movsxd rdx, eax
add rdx, rbp
cmp byte [rdx], cl
je 0x14014598a
nop dword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140145784
and ecx, 0x3fffffff
lea eax, [rcx + 1]
movsxd rsi, eax
add rsi, rdx
jne 0x1401457a2
xor ebx, ebx
jmp 0x1401457b5
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1401457a6
and ebx, 0x3fffffff
cmp ecx, 3
jne 0x1401457e7
movzx eax, word [0x1401e864c]
cmp ax, word [rdx]
jne 0x1401458eb
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
cmp al, byte [rdx + 2]
jne 0x1401458eb
mov r13, rsi
mov qword [rsp + 0x20], rsi
jmp 0x1401458f0
cmp ecx, 5
jne 0x140145823
mov eax, dword [str.cache]
cmp eax, dword [rdx]
jne 0x1401458eb
movzx eax, byte [0x1401e8654]
cmp al, byte [rdx + 4]
jne 0x1401458eb
mov r15d, 0x60000
lea r14, str.shared
lea r13, str.cache
mov r12d, r15d
jmp 0x140145851
cmp ecx, 4
jne 0x1401458eb
mov eax, dword [str.mode]
cmp eax, dword [rdx]
jne 0x1401458eb
mov r15d, reloc.ODBC32.dll_SQLGetDiagFieldW
lea r14, [0x140288ab0]
lea r13, str.access
and r12d, r15d
mov rcx, qword [r14]
xor edi, edi
test rcx, rcx
je 0x140145896
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140145860
and eax, 0x3fffffff
cmp ebx, eax
jne 0x140145884
mov rdx, rcx
movsxd r8, ebx
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1401458bb
inc rdi
mov rax, rdi
add rax, rax
mov rcx, qword [r14 + rax*8]
test rcx, rcx
jne 0x14014585b
lea rcx, str.no_such__s_mode:__s
mov r8, rsi
mov rdx, r13
call fcn.1400be040
mov rcx, rax
mov rax, qword [rsp + 0xa8]
mov qword [rax], rcx
jmp 0x1401459c0
add rdi, rdi
mov ecx, dword [r14 + rdi*8 + 8]
test ecx, ecx
je 0x140145896
mov eax, ecx
btr eax, 7
cmp eax, r12d
jg 0x140145907
mov r12d, dword [rsp + 0x88]
not r15d
and r12d, r15d
or r12d, ecx
mov dword [rsp + 0x88], r12d
mov r13, qword [rsp + 0x20]
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rsi
cmp byte [rdx], 0
jne 0x140145780
jmp 0x14014598a
lea rcx, str._s_mode_not_allowed:__s
mov r8, rsi
mov rdx, r13
call fcn.1400be040
mov dword [rsp + 0x80], 3
mov rcx, rax
mov rax, qword [rsp + 0xa8]
mov qword [rax], rcx
jmp 0x1401459cb
call fcn.1401744e0
test eax, eax
jne 0x140145a7c
lea eax, [rdi + 8]
movsxd rcx, eax
call fcn.140141550
mov rbp, rax
test rax, rax
je 0x140145a7c
xor eax, eax
add rbp, 4
mov dword [rbp - 4], eax
test edi, edi
je 0x140145976
movsxd r8, edi
mov rdx, rbx
mov rcx, rbp
call sub.msvcrt.dll_memcpy
xor ecx, ecx
movsxd rax, edi
and r12d, 0xffffffbf
mov dword [rax + rbp], ecx
mov dword [rsp + 0x88], r12d
mov rcx, r13
call fcn.1400c1000
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
test rax, rax
jne 0x140145a57
lea rcx, str.no_such_vfs:__s
mov rdx, r13
call fcn.1400be040
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
mov dword [rsp + 0x80], 1
test rbp, rbp
je 0x140145a55
cmp byte [rbp - 1], 0
jne 0x1401459ec
cmp byte [rbp - 2], 0
jne 0x1401459ec
cmp byte [rbp - 3], 0
jne 0x1401459ec
cmp byte [rbp - 4], 0
je 0x1401459f1
dec rbp
jmp 0x1401459d4
lea rbx, [rbp - 4]
test rbx, rbx
je 0x140145a55
cmp dword [0x140288b50], 0
je 0x140145a4c
mov rcx, qword [0x1402978a8]
test rcx, rcx
je 0x140145a15
call qword [0x140288bd0]
mov rcx, rbx
call qword [0x140288b88]
dec qword [0x1402977e8]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x1402977a0], rdx
call qword [0x140288b78]
mov rcx, qword [0x1402978a8]
test rcx, rcx
je 0x140145a55
call qword [0x140288be0]
jmp 0x140145a55
mov rcx, rbx
call qword [0x140288b78]
xor ebp, ebp
mov rcx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x88]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x80]
mov qword [rcx], rbp
jmp 0x140145a81
mov eax, 7
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
pop r13
pop r12
pop rdi
pop rbx
ret