Function at 0x40a390
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40a6ef
push ebx
push edi
cmp eax, 0x7c
je 0x40a6ed
cmp eax, 0x29
jne 0x40a3cd
cmp dword [esi + 0x10], 0
jne 0x40a6ed
test dword [esi + 0x50], 0x10000000
je 0x40a6fc
jmp 0x40a683
cmp eax, 0x2e
jne 0x40a3e1
push 5
lea ecx, [esi + 0x24]
call fcn.0040ded0
jmp 0x40a690
cmp eax, 0x5c
jne 0x40a4b3
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40a42b
cmp byte [eax], 0x5c
jne 0x40a428
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40a426
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40a415
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40a428
cmp bl, 0x29
je 0x40a428
test dl, 0x10
jne 0x40a426
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40a428
cmp cl, 0x7d
je 0x40a428
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040e830
test byte [esi + 0x50], 0x80
je 0x40a4a7
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x40a490
push 4
lea ecx, [esi + 0x24]
call fcn.0040ded0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40a62d
cmp byte [eax], 0x5c
jne 0x40a62a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40a628
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40a488
mov dl, byte [ecx]
cmp dl, 0x28
je 0x40a62a
cmp dl, 0x29
je 0x40a62a
test bl, 0x10
jmp 0x40a61a
cmp al, 0x42
jne 0x40a4a7
push 4
lea ecx, [esi + 0x24]
call fcn.0040ded0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40a449
mov ecx, esi
call fcn.0040a720
jmp 0x40a6d8
cmp eax, 0x5b
jne 0x40a560
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40a4fd
cmp byte [eax], 0x5c
jne 0x40a4fa
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40a4f8
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40a4e7
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40a4fa
cmp bl, 0x29
je 0x40a4fa
test dl, 0x10
jne 0x40a4f8
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40a4fa
cmp cl, 0x7d
je 0x40a4fa
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040e830
lea ecx, [esi + 0x24]
call fcn.00409ab0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40a525
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040df40
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40a543
cmp eax, 0x5d
jne 0x40a543
push eax
lea ecx, [esi + 0x24]
call fcn.00409a40
mov ecx, esi
call fcn.0040df40
mov ecx, esi
call fcn.0040b2e0
cmp dword [esi + 0x4c], 0x5d
jne 0x40a70e
mov ecx, esi
call fcn.0040df40
jmp 0x40a6d8
cmp eax, 0x28
jne 0x40a5d4
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40a5a6
cmp byte [eax], 0x5c
jne 0x40a5a3
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40a5a1
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40a590
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40a5a3
cmp bl, 0x29
je 0x40a5a3
test dl, 0x10
jne 0x40a5a1
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40a5a3
cmp cl, 0x7d
je 0x40a5a3
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040e830
mov ecx, esi
call fcn.0040eb30
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40a6fc
mov ecx, esi
call fcn.0040df40
test bl, bl
je 0x40a6df
jmp 0x40a6d8
cmp eax, 0x5e
jne 0x40a5dd
push 2
jmp 0x40a5e4
cmp eax, 0x24
jne 0x40a639
push 3
lea ecx, [esi + 0x24]
call fcn.0040ded0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40a62d
cmp byte [eax], 0x5c
jne 0x40a62a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40a628
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40a617
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40a62a
cmp bl, 0x29
je 0x40a62a
test dl, 0x10
jne 0x40a628
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40a62a
cmp cl, 0x7d
je 0x40a62a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040e830
jmp 0x40a6df
cmp eax, 0x2a
je 0x40a6f3
cmp eax, 0x2b
je 0x40a6f3
cmp eax, 0x3f
je 0x40a6f3
cmp eax, 0x7b
je 0x40a6f3
cmp eax, 0x7d
jne 0x40a671
test dword [esi + 0x50], 0x10000000
je 0x40a705
jmp 0x40a683
cmp eax, 0x5d
jne 0x40a683
test dword [esi + 0x50], 0x10000000
je 0x40a70e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00409820
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40a6d1
cmp byte [eax], 0x5c
jne 0x40a6ce
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40a6cc
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40a6bb
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40a6ce
cmp bl, 0x29
je 0x40a6ce
test dl, 0x10
jne 0x40a6cc
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40a6ce
cmp cl, 0x7d
je 0x40a6ce
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040e830
mov ecx, esi
call fcn.0040e210
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40a3a3
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0040c680
push 5
mov ecx, esi
call fcn.0040c680
push 6
mov ecx, esi
call fcn.0040c680
push 4
mov ecx, esi
call fcn.0040c680
int3