Function at 0x4065f0
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
cmp dword [esi + 0x4c], 0xffffffff
je 0x406851
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x406851
cmp eax, 0x29
jne 0x406629
cmp dword [esi + 0x10], 0
jne 0x406851
test dword [esi + 0x50], 0x10000000
je 0x406857
cmp eax, 0x2e
jne 0x406686
push 5
lea ecx, [esi + 0x24]
call fcn.00406a40
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40667a
cmp word [eax], 0x5c
jne 0x406677
add eax, 2
cmp eax, ecx
je 0x406677
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406663
movzx edx, word [eax]
cmp edx, 0x28
je 0x406675
cmp edx, 0x29
je 0x406675
test cl, 0x10
jne 0x406677
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x406675
cmp ecx, 0x7d
jne 0x406677
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004054d0
jmp 0x40683e
cmp eax, 0x5c
jne 0x4066ed
mov ecx, esi
call fcn.004065a0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4066b9
cmp word [esi + 0x48], 0x62
jne 0x4066b9
push 4
lea ecx, [esi + 0x24]
call fcn.00406a40
mov ecx, esi
call fcn.004065a0
jmp 0x406845
test eax, eax
je 0x4066e1
cmp word [esi + 0x48], 0x42
jne 0x4066e1
push 4
lea ecx, [esi + 0x24]
call fcn.00406a40
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004065a0
jmp 0x406845
mov ecx, esi
call fcn.00407420
jmp 0x40683e
cmp eax, 0x5b
jne 0x406758
mov ecx, esi
call fcn.004065a0
mov ecx, esi
call fcn.00407330
cmp dword [esi + 0x4c], 0x5d
jne 0x40685f
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40674c
cmp word [eax], 0x5c
jne 0x406749
add eax, 2
cmp eax, ecx
je 0x406749
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406735
movzx edx, word [eax]
cmp edx, 0x28
je 0x406747
cmp edx, 0x29
je 0x406747
test cl, 0x10
jne 0x406749
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x406747
cmp ecx, 0x7d
jne 0x406749
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004054d0
jmp 0x40683e
cmp eax, 0x28
jne 0x4067ca
mov ecx, esi
call fcn.004065a0
mov ecx, esi
call fcn.004075d0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x406857
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4067b9
cmp word [eax], 0x5c
jne 0x4067b6
add eax, 2
cmp eax, ecx
je 0x4067b6
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4067a2
movzx edx, word [eax]
cmp edx, 0x28
je 0x4067b4
cmp edx, 0x29
je 0x4067b4
test cl, 0x10
jne 0x4067b6
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x4067b4
cmp ecx, 0x7d
jne 0x4067b6
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004054d0
test bl, bl
je 0x406845
jmp 0x40683e
cmp eax, 0x5e
jne 0x4067e2
push 2
lea ecx, [esi + 0x24]
call fcn.00406a40
mov ecx, esi
call fcn.004065a0
jmp 0x406845
cmp eax, 0x24
jne 0x4067fa
push 3
lea ecx, [esi + 0x24]
call fcn.00406a40
mov ecx, esi
call fcn.004065a0
jmp 0x406845
cmp eax, 0x2a
je 0x40686f
cmp eax, 0x2b
je 0x40686f
cmp eax, 0x3f
je 0x40686f
cmp eax, 0x7b
je 0x40686f
cmp eax, 0x7d
jne 0x40681c
test dword [esi + 0x50], 0x10000000
je 0x406867
cmp eax, 0x5d
jne 0x40682a
test dword [esi + 0x50], 0x10000000
je 0x40685f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00407810
mov ecx, esi
call fcn.004065a0
mov ecx, esi
call fcn.004076d0
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x406601
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
push 4
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
push 6
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
push 0xa
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
int3