Function at 0x401f10
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x45809c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4589f8]
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x402002
cmp dword [ebp - 0x40], 0x30
jl 0x401f8b
cmp dword [ebp - 0x40], 0x39
jg 0x401f8b
imul edx, dword [ebp - 0x38], 0xa
mov eax, dword [ebp - 0x40]
lea ecx, [edx + eax - 0x30]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
jmp 0x401ffd
cmp dword [ebp - 0x40], 0x3b
je 0x401f9d
cmp dword [ebp - 0x40], 0x40
jl 0x401fda
cmp dword [ebp - 0x40], 0x7e
jg 0x401fda
cmp dword [ebp - 0x3c], 0xa
jge 0x401fbc
cmp dword [ebp - 0x44], 0
je 0x401fbc
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x30], ecx
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x40], 0x3b
je 0x401fca
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
jmp 0x402002
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x44], 0
jmp 0x401ffd
cmp dword [ebp - 0x40], 0x3a
jl 0x401fef
cmp dword [ebp - 0x40], 0x3f
jg 0x401fef
mov dword [ebp - 0x4c], 1
jmp 0x401ffd
cmp dword [ebp - 0x40], 0x30
jl 0x401ffb
cmp dword [ebp - 0x40], 0x7e
jle 0x401ffd
jmp 0x402002
jmp 0x401f4c
cmp dword [ebp - 0x4c], 0
jne case.0x40202f.1
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
sub edx, 0x40
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0x2d
ja case.0x40202f.1
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x402378]
jmp dword [ecx*4 + 0x402358]
cmp dword [ebp - 0x3c], 0
jne 0x402045
mov dword [ebp - 0x58], 1
jmp 0x402069
cmp dword [ebp - 0x3c], 1
jne 0x40205c
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x30]
mov dword [ebp - 0x54], ecx
jmp 0x402063
mov dword [ebp - 0x54], 0xffffffff
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.00401dc0
add esp, 4
jmp case.0x40202f.1
cmp dword [ebp - 0x3c], 0
jne 0x402093
mov dword [ebp - 0x60], 1
jmp 0x4020b7
cmp dword [ebp - 0x3c], 1
jne 0x4020aa
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x30]
mov dword [ebp - 0x5c], eax
jmp 0x4020b1
mov dword [ebp - 0x5c], 0xffffffff
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
call fcn.00401bf0
add esp, 4
jmp case.0x40202f.1
cmp dword [ebp - 0x3c], 0
jne 0x4020d7
mov dword [ebp - 0x68], 1
jmp 0x4020fb
cmp dword [ebp - 0x3c], 1
jne 0x4020ee
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + ecx - 0x30]
mov dword [ebp - 0x64], edx
jmp 0x4020f5
mov dword [ebp - 0x64], 0xffffffff
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00401bc0
add esp, 4
jmp case.0x40202f.1
cmp dword [ebp - 0x3c], 0
jne 0x40211b
mov dword [ebp - 0x70], 1
jmp 0x40213f
cmp dword [ebp - 0x3c], 1
jne 0x402132
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x30]
mov dword [ebp - 0x6c], ecx
jmp 0x402139
mov dword [ebp - 0x6c], 0xffffffff
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.00401ea0
add esp, 4
jmp case.0x40202f.1
cmp dword [ebp - 0x3c], 0
jne 0x402169
mov dword [ebp - 0x78], 0
jmp 0x40218d
cmp dword [ebp - 0x3c], 1
jne 0x402180
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x30]
mov dword [ebp - 0x74], eax
jmp 0x402187
mov dword [ebp - 0x74], 0xffffffff
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.00401d20
add esp, 4
jmp case.0x40202f.1
cmp dword [ebp - 0x3c], 0
jne 0x4021b7
mov dword [ebp - 0x80], 1
jmp 0x4021db
cmp dword [ebp - 0x3c], 1
jne 0x4021ce
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + ecx - 0x30]
mov dword [ebp - 0x7c], edx
jmp 0x4021d5
mov dword [ebp - 0x7c], 0xffffffff
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00401c60
add esp, 4
jmp case.0x40202f.1
cmp dword [ebp - 0x3c], 0
je 0x40233f
mov dword [ebp - 0x40], 0
jmp 0x402212
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
jge 0x40233d
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + ecx*4 - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x1b
ja case.0x40224b.2
mov ecx, dword [ebp - 0x84]
movzx edx, byte [ecx + 0x4023d0]
jmp dword [edx*4 + 0x4023a8]
mov dword [ebp - 0x34], 0
jmp 0x402338
mov eax, dword [ebp - 0x34]
or eax, 1
mov dword [ebp - 0x34], eax
jmp 0x402338
mov ecx, dword [ebp - 0x34]
or ecx, 2
mov dword [ebp - 0x34], ecx
jmp 0x402338
mov edx, dword [ebp - 0x34]
or edx, 4
mov dword [ebp - 0x34], edx
jmp 0x402338
mov eax, dword [ebp - 0x34]
or eax, 8
mov dword [ebp - 0x34], eax
jmp 0x402338
mov ecx, dword [ebp - 0x34]
and ecx, 0xfffffffe
mov dword [ebp - 0x34], ecx
jmp 0x402338
mov edx, dword [ebp - 0x34]
and edx, 0xfffffffe
mov dword [ebp - 0x34], edx
jmp 0x402338
mov eax, dword [ebp - 0x34]
and eax, 0xfffffffb
mov dword [ebp - 0x34], eax
jmp 0x402338
mov ecx, dword [ebp - 0x34]
and ecx, 0xfffffff7
mov dword [ebp - 0x34], ecx
jmp 0x402338
cmp dword [ebp - 0x38], 0x1e
jl 0x4022fd
cmp dword [ebp - 0x38], 0x25
jg 0x4022fd
mov edx, dword [ebp - 0x38]
sub edx, 0x1e
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
shl eax, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
and ecx, 0xffffff0f
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
or edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
jmp 0x402338
cmp dword [ebp - 0x38], 0x5a
jl 0x402338
cmp dword [ebp - 0x38], 0x61
jg 0x402338
mov eax, dword [ebp - 0x38]
sub eax, 0x5a
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
add ecx, 8
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
shl edx, 4
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x34]
and eax, 0xffffff0f
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
or ecx, dword [ebp - 0x38]
mov dword [ebp - 0x34], ecx
jmp 0x402209
jmp case.0x40202f.1
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402f60
mov esp, ebp
pop ebp
ret