Function at 0x421884
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x444588]
movsx edx, byte [eax]
push ebx
xor ebx, ebx
mov ecx, 0xfffff000
and dword [ebp - 4], ecx
and dword [ebp - 0x14], ecx
push esi
xor esi, esi
inc eax
cmp edx, 0x41
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [0x444588], eax
jg 0x421a1f
je 0x421dc8
cmp edx, ebx
je 0x421a0a
cmp edx, 0x2f
jle 0x421b11
cmp edx, 0x31
jle 0x421931
cmp edx, 0x39
jg 0x421b11
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x43dfd8]
lea ecx, [ebp - 8]
call fcn.004205ed
lea ecx, [ebp - 8]
call fcn.0041fc55
test eax, eax
jne 0x42191e
mov eax, ecx
push eax
lea eax, [ebp - 0x20]
push 0x43dfbc
push eax
call fcn.004209da
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.0041f8fb
lea eax, [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.0041f7e0
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret
and dword [ebp - 0x14], ecx
cmp byte [ebp + 0xc], bl
mov dword [ebp - 0x18], ebx
je 0x42199e
lea eax, [ebp - 0x58]
push eax
call fcn.004216ca
push eax
lea eax, [ebp - 0xa0]
push 0x3c
push eax
call fcn.00420992
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
call fcn.004204d5
lea ecx, [ebp - 0x18]
call fcn.0041fcc7
cmp al, 0x3e
jne 0x421976
push 0x20
lea ecx, [ebp - 0x18]
call fcn.00420783
push 0x3e
lea ecx, [ebp - 0x18]
call fcn.00420783
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x42198a
mov byte [eax], 1
mov eax, dword [0x444588]
cmp byte [eax], bl
jne 0x421998
lea eax, [ebp - 0x18]
jmp 0x421921
inc eax
mov dword [0x444588], eax
mov esi, eax
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.00421f58
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.0041f8fb
lea ecx, [ebp - 8]
mov dword [0x444588], esi
call fcn.0041fc55
test eax, eax
jne 0x4219ea
cmp byte [esi - 1], 0x31
jne 0x4219ea
mov eax, ecx
push eax
lea eax, [ebp - 0x88]
push 0x7e
push eax
call fcn.00420992
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.0041f8fb
lea ecx, [ebp - 0x18]
call fcn.0041fc55
test eax, eax
jne 0x42191e
mov eax, ecx
push eax
lea ecx, [ebp - 8]
call fcn.004204d5
jmp 0x42191e
dec eax
mov dword [0x444588], eax
push 2
mov ecx, dword [ebp + 8]
call fcn.0041fbd8
jmp 0x42192a
cmp edx, 0x42
je 0x421dc5
jle 0x421b11
cmp edx, 0x5a
jle 0x421dc8
cmp edx, 0x5f
jne 0x421b11
movsx ecx, byte [eax]
inc eax
cmp ecx, 0x4f
mov dword [0x444588], eax
jg 0x421b20
cmp ecx, 0x44
jge 0x421da5
cmp ecx, 0x39
jg 0x421ac7
je 0x421aa5
cmp ecx, ebx
je 0x421a0a
cmp ecx, 0x2f
jle 0x421b11
cmp ecx, 0x36
jle 0x421a95
cmp ecx, 0x38
jg 0x421b11
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x43e068]
mov ecx, dword [ebp + 8]
call fcn.00420298
jmp 0x42192a
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x43e068]
jmp 0x4218ed
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x43e068]
lea ecx, [ebp - 0x10]
call fcn.00420298
or dword [ebp - 0xc], 0x800
lea eax, [ebp - 0x10]
jmp 0x421921
cmp ecx, 0x3f
je 0x421afb
cmp ecx, 0x40
jle 0x421b11
cmp ecx, 0x42
jle 0x421da5
cmp ecx, 0x43
jne 0x421b11
push 1
push str._string
lea eax, [ebp - 0x10]
push eax
call fcn.0042120e
add esp, 0xc
or dword [ebp - 0xc], 0x100
jmp 0x421abf
movsx ecx, byte [eax]
inc eax
cmp ecx, ebx
mov dword [0x444588], eax
je 0x421a0a
cmp ecx, 0x30
je 0x421b18
push 1
jmp 0x421a12
push ebx
push str._anonymous_namespace
jmp 0x421ae6
cmp ecx, 0x54
jg 0x421cd9
cmp ecx, 0x53
jge 0x421da5
sub ecx, 0x50
je 0x421c90
dec ecx
je 0x4218f5
dec ecx
jne 0x421b11
movsx eax, byte [eax - 1]
push dword [eax*4 + str.__cdecl]
lea ecx, [ebp - 8]
call fcn.004205ed
mov eax, dword [0x444588]
movsx eax, byte [eax]
push dword [eax*4 + 0x43dfcc]
lea ecx, [ebp - 0x18]
call fcn.004205ed
mov eax, dword [0x444588]
movsx eax, byte [eax]
inc dword [0x444588]
cmp eax, 0x30
je 0x421c59
cmp eax, 0x31
je 0x421bb2
add eax, 0xffffffce
cmp eax, 2
ja 0x421ba7
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 8]
call fcn.004206fd
jmp 0x42192a
dec dword [0x444588]
jmp 0x421a10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.004206fd
push 0x2c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004212b0
pop ecx
mov ecx, eax
call fcn.004209fe
push eax
lea ecx, [ebp - 0x10]
call fcn.004204d5
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004212b0
pop ecx
mov ecx, eax
call fcn.004209fe
push eax
lea ecx, [ebp - 0x10]
call fcn.004204d5
push 0x2c
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004212b0
pop ecx
mov ecx, eax
call fcn.004209fe
push eax
lea ecx, [ebp - 0x10]
call fcn.004204d5
push 0x29
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.00420a62
pop ecx
pop ecx
mov ecx, eax
call fcn.004209fe
push eax
lea ecx, [ebp - 0x10]
call fcn.004204d5
push 0x27
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004209fe
jmp 0x42192a
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00424489
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x20
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x10]
call fcn.004209fe
mov ecx, eax
call fcn.004206fd
mov ecx, eax
jmp 0x421b9d
movsx eax, byte [eax - 1]
push dword [eax*4 + str.__cdecl]
lea ecx, [ebp - 8]
call fcn.004205ed
push ebx
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.00421884
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f8fb
lea ecx, [ebp - 0x18]
call fcn.0041fc55
test eax, eax
jne 0x421b93
test byte [ebp - 0x14], 0x40
je 0x421b93
jmp 0x421b11
cmp ecx, 0x55
jl 0x421b11
cmp ecx, 0x56
jle 0x421db5
cmp ecx, 0x57
jle 0x421b11
cmp ecx, 0x59
jle 0x421da5
cmp ecx, 0x5f
jne 0x421b11
movsx ecx, byte [eax]
inc eax
cmp ecx, 0x41
mov dword [0x444588], eax
jl 0x421b11
cmp ecx, 0x44
jle 0x421d2b
cmp ecx, 0x46
jle 0x421d3b
cmp ecx, 0x4a
jg 0x421b11
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x43e0b0]
jmp 0x421a88
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x43e0b0]
lea ecx, [ebp - 0x10]
call fcn.00420298
mov eax, dword [0x444588]
cmp byte [eax], 0x3f
jne 0x421d80
lea eax, [ebp - 0x90]
push eax
call fcn.00422f0a
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004204d5
mov eax, dword [0x444588]
cmp byte [eax], 0x40
jne 0x421d93
inc dword [0x444588]
jmp 0x421d93
lea eax, [ebp - 0x20]
push eax
call fcn.00422311
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004204d5
push 0x43e300
lea ecx, [ebp - 0x10]
call fcn.004207ee
jmp 0x421abf
movsx eax, byte [eax - 1]
push dword [eax*4 + str.__cdecl]
jmp 0x421a88
movsx eax, byte [eax - 1]
push dword [eax*4 + str.__cdecl]
jmp 0x4218ed
xor esi, esi
inc esi
movsx eax, byte [eax - 1]
push dword [eax*4 + 0x43dfbc]
lea ecx, [ebp - 8]
call fcn.004205ed
cmp esi, ebx
je 0x4218f5
lea ecx, [ebp - 8]
call fcn.0041fc55
test eax, eax
jne 0x42191e
or dword [ebp - 4], 0x20
jmp 0x42191e