Function at 0x472470
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x472676
push ebx
cmp eax, 0x7c
je 0x472675
cmp eax, 0x29
jne 0x4724a7
cmp dword [esi + 0x10], 0
jne 0x472675
test dword [esi + 0x50], 0x10000000
je 0x47267a
cmp eax, 0x2e
jne 0x4724fe
push 5
lea ecx, [esi + 0x24]
call fcn.00475a50
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4724f2
cmp byte [eax], 0x5c
jne 0x4724f0
inc eax
cmp eax, ecx
je 0x4724f0
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4724dd
mov dl, byte [eax]
cmp dl, 0x28
je 0x4724ee
cmp dl, 0x29
je 0x4724ee
test cl, 0x10
jne 0x4724f0
mov cl, byte [eax]
cmp cl, 0x7b
je 0x4724ee
cmp cl, 0x7d
jne 0x4724f0
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.004769a0
jmp 0x472660
cmp eax, 0x5c
jne 0x4725a3
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x472543
cmp byte [eax], 0x5c
jne 0x472541
inc eax
cmp eax, ecx
je 0x472541
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x47252e
mov dl, byte [eax]
cmp dl, 0x28
je 0x47253f
cmp dl, 0x29
je 0x47253f
test cl, 0x10
jne 0x472541
mov cl, byte [eax]
cmp cl, 0x7b
je 0x47253f
cmp cl, 0x7d
jne 0x472541
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.004769a0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x472570
cmp byte [esi + 0x48], 0x62
jne 0x472570
push 4
lea ecx, [esi + 0x24]
call fcn.00475a50
mov ecx, esi
call fcn.00475ac0
jmp 0x472667
test eax, eax
je 0x472597
cmp byte [esi + 0x48], 0x42
jne 0x472597
push 4
lea ecx, [esi + 0x24]
call fcn.00475a50
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00475ac0
jmp 0x472667
mov ecx, esi
call fcn.004726a0
jmp 0x472660
cmp eax, 0x5b
jne 0x4725c6
mov ecx, esi
call fcn.00475ac0
mov ecx, esi
call fcn.00472e20
push 4
push 0x5d
mov ecx, esi
call fcn.00474bb0
jmp 0x472660
cmp eax, 0x28
jne 0x4725ec
mov ecx, esi
call fcn.00475ac0
mov ecx, esi
call fcn.00476c60
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00474bb0
test bl, bl
je 0x472667
jmp 0x472660
cmp eax, 0x5e
jne 0x472604
push 2
lea ecx, [esi + 0x24]
call fcn.00475a50
mov ecx, esi
call fcn.00475ac0
jmp 0x472667
cmp eax, 0x24
jne 0x47261c
push 3
lea ecx, [esi + 0x24]
call fcn.00475a50
mov ecx, esi
call fcn.00475ac0
jmp 0x472667
cmp eax, 0x2a
je 0x472692
cmp eax, 0x2b
je 0x472692
cmp eax, 0x3f
je 0x472692
cmp eax, 0x7b
je 0x472692
cmp eax, 0x7d
jne 0x47263e
test dword [esi + 0x50], 0x10000000
je 0x472682
cmp eax, 0x5d
jne 0x47264c
test dword [esi + 0x50], 0x10000000
je 0x47268a
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004719f0
mov ecx, esi
call fcn.00475ac0
mov ecx, esi
call fcn.00475b10
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x472482
pop ebx
mov al, cl
pop esi
ret
push 5
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 4
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