Function at 0x413010
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor cl, cl
cmp dword [esi + 0x4c], 0xffffffff
je 0x413397
nop word [eax + eax]
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x413397
cmp eax, 0x29
jne 0x413058
cmp dword [esi + 0x10], 0
jne 0x413397
test dword [esi + 0x50], 0x10000000
je 0x41339f
cmp eax, 0x2e
jne 0x4130ff
push 0x14
call fcn.004330db
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x461f94
mov dword [ecx + 4], 5
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4130ae
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4130f3
cmp byte [eax], 0x5c
jne 0x4130f1
inc eax
cmp eax, ecx
je 0x4130f1
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4130de
mov dl, byte [eax]
cmp dl, 0x28
je 0x4130ef
cmp dl, 0x29
je 0x4130ef
test cl, 0x10
jne 0x4130f1
mov cl, byte [eax]
cmp cl, 0x7b
je 0x4130ef
cmp cl, 0x7d
jne 0x4130f1
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00412090
jmp 0x413384
cmp eax, 0x5c
jne 0x41323b
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x413144
cmp byte [eax], 0x5c
jne 0x413142
inc eax
cmp eax, ecx
je 0x413142
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x41312f
mov dl, byte [eax]
cmp dl, 0x28
je 0x413140
cmp dl, 0x29
je 0x413140
test cl, 0x10
jne 0x413142
mov cl, byte [eax]
cmp cl, 0x7b
je 0x413140
cmp cl, 0x7d
jne 0x413142
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00412090
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4131bd
cmp byte [esi + 0x48], 0x62
jne 0x4131bd
push 0x14
call fcn.004330db
mov ecx, eax
mov dword [ecx + 4], 4
mov dword [ecx], 0x461f94
add esp, 4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4131a8
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov ecx, esi
call fcn.00412fc0
jmp 0x41338b
test eax, eax
je 0x41322f
cmp byte [esi + 0x48], 0x42
jne 0x41322f
push 0x14
call fcn.004330db
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x461f94
mov dword [ecx + 4], 4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x413214
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov eax, ecx
mov dword [esi + 0x28], ecx
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00412fc0
jmp 0x41338b
mov ecx, esi
call fcn.00413f80
jmp 0x413384
cmp eax, 0x5b
jne 0x4132a0
mov ecx, esi
call fcn.00412fc0
mov ecx, esi
call fcn.00413ea0
cmp dword [esi + 0x4c], 0x5d
jne 0x4133a6
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x413294
cmp byte [eax], 0x5c
jne 0x413292
inc eax
cmp eax, ecx
je 0x413292
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x41327f
mov dl, byte [eax]
cmp dl, 0x28
je 0x413290
cmp dl, 0x29
je 0x413290
test cl, 0x10
jne 0x413292
mov cl, byte [eax]
cmp cl, 0x7b
je 0x413290
cmp cl, 0x7d
jne 0x413292
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00412090
jmp 0x413384
cmp eax, 0x28
jne 0x41330c
mov ecx, esi
call fcn.00412fc0
mov ecx, esi
call fcn.00414110
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x41339f
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4132fb
cmp byte [eax], 0x5c
jne 0x4132f9
inc eax
cmp eax, ecx
je 0x4132f9
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4132e6
mov dl, byte [eax]
cmp dl, 0x28
je 0x4132f7
cmp dl, 0x29
je 0x4132f7
test cl, 0x10
jne 0x4132f9
mov cl, byte [eax]
cmp cl, 0x7b
je 0x4132f7
cmp cl, 0x7d
jne 0x4132f9
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00412090
test bl, bl
je 0x41338b
jmp 0x413384
cmp eax, 0x5e
jne 0x413326
push 0x14
call fcn.004330db
mov ecx, eax
mov dword [ecx + 4], 2
jmp 0x41316b
cmp eax, 0x24
jne 0x413340
push 0x14
call fcn.004330db
mov ecx, eax
mov dword [ecx + 4], 3
jmp 0x41316b
cmp eax, 0x2a
je 0x4133b4
cmp eax, 0x2b
je 0x4133b4
cmp eax, 0x3f
je 0x4133b4
cmp eax, 0x7b
je 0x4133b4
cmp eax, 0x7d
jne 0x413362
test dword [esi + 0x50], 0x10000000
je 0x4133ad
cmp eax, 0x5d
jne 0x413370
test dword [esi + 0x50], 0x10000000
je 0x4133a6
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00414320
mov ecx, esi
call fcn.00412fc0
mov ecx, esi
call fcn.004141f0
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x413030
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.00431407
push 4
call fcn.00431407
push 6
call fcn.00431407
push 0xa
call fcn.00431407
int3