Function at 0x40bb00
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40be5f
push ebx
push edi
cmp eax, 0x7c
je 0x40be5d
cmp eax, 0x29
jne 0x40bb3d
cmp dword [esi + 0x10], 0
jne 0x40be5d
test dword [esi + 0x50], 0x10000000
je 0x40be6c
jmp 0x40bdf3
cmp eax, 0x2e
jne 0x40bb51
push 5
lea ecx, [esi + 0x24]
call fcn.0040e8d0
jmp 0x40be00
cmp eax, 0x5c
jne 0x40bc23
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40bb9b
cmp byte [eax], 0x5c
jne 0x40bb98
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40bb96
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40bb85
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40bb98
cmp bl, 0x29
je 0x40bb98
test dl, 0x10
jne 0x40bb96
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40bb98
cmp cl, 0x7d
je 0x40bb98
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040ecb0
test byte [esi + 0x50], 0x80
je 0x40bc17
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x40bc00
push 4
lea ecx, [esi + 0x24]
call fcn.0040e8d0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40bd9d
cmp byte [eax], 0x5c
jne 0x40bd9a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40bd98
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40bbf8
mov dl, byte [ecx]
cmp dl, 0x28
je 0x40bd9a
cmp dl, 0x29
je 0x40bd9a
test bl, 0x10
jmp 0x40bd8a
cmp al, 0x42
jne 0x40bc17
push 4
lea ecx, [esi + 0x24]
call fcn.0040e8d0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40bbb9
mov ecx, esi
call fcn.0040be90
jmp 0x40be48
cmp eax, 0x5b
jne 0x40bcd0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40bc6d
cmp byte [eax], 0x5c
jne 0x40bc6a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40bc68
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40bc57
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40bc6a
cmp bl, 0x29
je 0x40bc6a
test dl, 0x10
jne 0x40bc68
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40bc6a
cmp cl, 0x7d
je 0x40bc6a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040ecb0
lea ecx, [esi + 0x24]
call fcn.0040b330
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40bc95
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040e940
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40bcb3
cmp eax, 0x5d
jne 0x40bcb3
push eax
lea ecx, [esi + 0x24]
call fcn.0040b2c0
mov ecx, esi
call fcn.0040e940
mov ecx, esi
call fcn.0040c710
cmp dword [esi + 0x4c], 0x5d
jne 0x40be7e
mov ecx, esi
call fcn.0040e940
jmp 0x40be48
cmp eax, 0x28
jne 0x40bd44
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40bd16
cmp byte [eax], 0x5c
jne 0x40bd13
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40bd11
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40bd00
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40bd13
cmp bl, 0x29
je 0x40bd13
test dl, 0x10
jne 0x40bd11
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40bd13
cmp cl, 0x7d
je 0x40bd13
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040ecb0
mov ecx, esi
call fcn.0040efd0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40be6c
mov ecx, esi
call fcn.0040e940
test bl, bl
je 0x40be4f
jmp 0x40be48
cmp eax, 0x5e
jne 0x40bd4d
push 2
jmp 0x40bd54
cmp eax, 0x24
jne 0x40bda9
push 3
lea ecx, [esi + 0x24]
call fcn.0040e8d0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40bd9d
cmp byte [eax], 0x5c
jne 0x40bd9a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40bd98
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40bd87
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40bd9a
cmp bl, 0x29
je 0x40bd9a
test dl, 0x10
jne 0x40bd98
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40bd9a
cmp cl, 0x7d
je 0x40bd9a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040ecb0
jmp 0x40be4f
cmp eax, 0x2a
je 0x40be63
cmp eax, 0x2b
je 0x40be63
cmp eax, 0x3f
je 0x40be63
cmp eax, 0x7b
je 0x40be63
cmp eax, 0x7d
jne 0x40bde1
test dword [esi + 0x50], 0x10000000
je 0x40be75
jmp 0x40bdf3
cmp eax, 0x5d
jne 0x40bdf3
test dword [esi + 0x50], 0x10000000
je 0x40be7e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040b120
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40be41
cmp byte [eax], 0x5c
jne 0x40be3e
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40be3c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40be2b
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40be3e
cmp bl, 0x29
je 0x40be3e
test dl, 0x10
jne 0x40be3c
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40be3e
cmp cl, 0x7d
je 0x40be3e
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040ecb0
mov ecx, esi
call fcn.0040ea20
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40bb13
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0040d740
push 5
mov ecx, esi
call fcn.0040d740
push 6
mov ecx, esi
call fcn.0040d740
push 4
mov ecx, esi
call fcn.0040d740
int3