Function at 0x40f390
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40f6ef
push ebx
push edi
cmp eax, 0x7c
je 0x40f6ed
cmp eax, 0x29
jne 0x40f3cd
cmp dword [esi + 0x10], 0
jne 0x40f6ed
test dword [esi + 0x50], 0x10000000
je 0x40f6fc
jmp 0x40f683
cmp eax, 0x2e
jne 0x40f3e1
push 5
lea ecx, [esi + 0x24]
call fcn.00412160
jmp 0x40f690
cmp eax, 0x5c
jne 0x40f4b3
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40f42b
cmp byte [eax], 0x5c
jne 0x40f428
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40f426
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40f415
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40f428
cmp bl, 0x29
je 0x40f428
test dl, 0x10
jne 0x40f426
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40f428
cmp cl, 0x7d
je 0x40f428
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00412540
test byte [esi + 0x50], 0x80
je 0x40f4a7
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x40f490
push 4
lea ecx, [esi + 0x24]
call fcn.00412160
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40f62d
cmp byte [eax], 0x5c
jne 0x40f62a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40f628
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40f488
mov dl, byte [ecx]
cmp dl, 0x28
je 0x40f62a
cmp dl, 0x29
je 0x40f62a
test bl, 0x10
jmp 0x40f61a
cmp al, 0x42
jne 0x40f4a7
push 4
lea ecx, [esi + 0x24]
call fcn.00412160
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40f449
mov ecx, esi
call fcn.0040f720
jmp 0x40f6d8
cmp eax, 0x5b
jne 0x40f560
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40f4fd
cmp byte [eax], 0x5c
jne 0x40f4fa
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40f4f8
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40f4e7
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40f4fa
cmp bl, 0x29
je 0x40f4fa
test dl, 0x10
jne 0x40f4f8
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40f4fa
cmp cl, 0x7d
je 0x40f4fa
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00412540
lea ecx, [esi + 0x24]
call fcn.0040ebc0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40f525
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004121d0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40f543
cmp eax, 0x5d
jne 0x40f543
push eax
lea ecx, [esi + 0x24]
call fcn.0040eb50
mov ecx, esi
call fcn.004121d0
mov ecx, esi
call fcn.0040ffa0
cmp dword [esi + 0x4c], 0x5d
jne 0x40f70e
mov ecx, esi
call fcn.004121d0
jmp 0x40f6d8
cmp eax, 0x28
jne 0x40f5d4
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40f5a6
cmp byte [eax], 0x5c
jne 0x40f5a3
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40f5a1
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40f590
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40f5a3
cmp bl, 0x29
je 0x40f5a3
test dl, 0x10
jne 0x40f5a1
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40f5a3
cmp cl, 0x7d
je 0x40f5a3
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00412540
mov ecx, esi
call fcn.00412860
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40f6fc
mov ecx, esi
call fcn.004121d0
test bl, bl
je 0x40f6df
jmp 0x40f6d8
cmp eax, 0x5e
jne 0x40f5dd
push 2
jmp 0x40f5e4
cmp eax, 0x24
jne 0x40f639
push 3
lea ecx, [esi + 0x24]
call fcn.00412160
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40f62d
cmp byte [eax], 0x5c
jne 0x40f62a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40f628
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40f617
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40f62a
cmp bl, 0x29
je 0x40f62a
test dl, 0x10
jne 0x40f628
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40f62a
cmp cl, 0x7d
je 0x40f62a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00412540
jmp 0x40f6df
cmp eax, 0x2a
je 0x40f6f3
cmp eax, 0x2b
je 0x40f6f3
cmp eax, 0x3f
je 0x40f6f3
cmp eax, 0x7b
je 0x40f6f3
cmp eax, 0x7d
jne 0x40f671
test dword [esi + 0x50], 0x10000000
je 0x40f705
jmp 0x40f683
cmp eax, 0x5d
jne 0x40f683
test dword [esi + 0x50], 0x10000000
je 0x40f70e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040e9b0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40f6d1
cmp byte [eax], 0x5c
jne 0x40f6ce
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40f6cc
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40f6bb
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40f6ce
cmp bl, 0x29
je 0x40f6ce
test dl, 0x10
jne 0x40f6cc
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40f6ce
cmp cl, 0x7d
je 0x40f6ce
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00412540
mov ecx, esi
call fcn.004122b0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40f3a3
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00410fd0
push 5
mov ecx, esi
call fcn.00410fd0
push 6
mov ecx, esi
call fcn.00410fd0
push 4
mov ecx, esi
call fcn.00410fd0
int3