Function at 0x4086e0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x408a3f
push ebx
push edi
cmp eax, 0x7c
je 0x408a3d
cmp eax, 0x29
jne 0x40871d
cmp dword [esi + 0x10], 0
jne 0x408a3d
test dword [esi + 0x50], 0x10000000
je 0x408a4c
jmp 0x4089d3
cmp eax, 0x2e
jne 0x408731
push 5
lea ecx, [esi + 0x24]
call fcn.0040bb50
jmp 0x4089e0
cmp eax, 0x5c
jne 0x408803
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40877b
cmp byte [eax], 0x5c
jne 0x408778
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x408776
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x408765
mov bl, byte [ecx]
cmp bl, 0x28
je 0x408778
cmp bl, 0x29
je 0x408778
test dl, 0x10
jne 0x408776
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x408778
cmp cl, 0x7d
je 0x408778
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040c7a0
test byte [esi + 0x50], 0x80
je 0x4087f7
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x4087e0
push 4
lea ecx, [esi + 0x24]
call fcn.0040bb50
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40897d
cmp byte [eax], 0x5c
jne 0x40897a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x408978
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4087d8
mov dl, byte [ecx]
cmp dl, 0x28
je 0x40897a
cmp dl, 0x29
je 0x40897a
test bl, 0x10
jmp 0x40896a
cmp al, 0x42
jne 0x4087f7
push 4
lea ecx, [esi + 0x24]
call fcn.0040bb50
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x408799
mov ecx, esi
call fcn.00408a70
jmp 0x408a28
cmp eax, 0x5b
jne 0x4088b0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40884d
cmp byte [eax], 0x5c
jne 0x40884a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x408848
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x408837
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40884a
cmp bl, 0x29
je 0x40884a
test dl, 0x10
jne 0x408848
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40884a
cmp cl, 0x7d
je 0x40884a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040c7a0
lea ecx, [esi + 0x24]
call fcn.00407c10
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x408875
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040bbd0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x408893
cmp eax, 0x5d
jne 0x408893
push eax
lea ecx, [esi + 0x24]
call fcn.00407ba0
mov ecx, esi
call fcn.0040bbd0
mov ecx, esi
call fcn.00409320
cmp dword [esi + 0x4c], 0x5d
jne 0x408a5e
mov ecx, esi
call fcn.0040bbd0
jmp 0x408a28
cmp eax, 0x28
jne 0x408924
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4088f6
cmp byte [eax], 0x5c
jne 0x4088f3
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4088f1
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4088e0
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4088f3
cmp bl, 0x29
je 0x4088f3
test dl, 0x10
jne 0x4088f1
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4088f3
cmp cl, 0x7d
je 0x4088f3
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040c7a0
mov ecx, esi
call fcn.0040ca60
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x408a4c
mov ecx, esi
call fcn.0040bbd0
test bl, bl
je 0x408a2f
jmp 0x408a28
cmp eax, 0x5e
jne 0x40892d
push 2
jmp 0x408934
cmp eax, 0x24
jne 0x408989
push 3
lea ecx, [esi + 0x24]
call fcn.0040bb50
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40897d
cmp byte [eax], 0x5c
jne 0x40897a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x408978
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x408967
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40897a
cmp bl, 0x29
je 0x40897a
test dl, 0x10
jne 0x408978
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40897a
cmp cl, 0x7d
je 0x40897a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040c7a0
jmp 0x408a2f
cmp eax, 0x2a
je 0x408a43
cmp eax, 0x2b
je 0x408a43
cmp eax, 0x3f
je 0x408a43
cmp eax, 0x7b
je 0x408a43
cmp eax, 0x7d
jne 0x4089c1
test dword [esi + 0x50], 0x10000000
je 0x408a55
jmp 0x4089d3
cmp eax, 0x5d
jne 0x4089d3
test dword [esi + 0x50], 0x10000000
je 0x408a5e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004079f0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x408a21
cmp byte [eax], 0x5c
jne 0x408a1e
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x408a1c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x408a0b
mov bl, byte [ecx]
cmp bl, 0x28
je 0x408a1e
cmp bl, 0x29
je 0x408a1e
test dl, 0x10
jne 0x408a1c
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x408a1e
cmp cl, 0x7d
je 0x408a1e
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040c7a0
mov ecx, esi
call fcn.0040c080
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4086f3
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0040a720
push 5
mov ecx, esi
call fcn.0040a720
push 6
mov ecx, esi
call fcn.0040a720
push 4
mov ecx, esi
call fcn.0040a720
int3