Function at 0x40bdd0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40c14d
push ebx
push edi
cmp eax, 0x7c
je 0x40c14b
cmp eax, 0x29
jne 0x40be0d
cmp dword [esi + 0x10], 0
jne 0x40c14b
test dword [esi + 0x50], 0x10000000
je 0x40c15a
jmp 0x40c0dc
cmp eax, 0x2e
jne 0x40be21
push 5
lea ecx, [esi + 0x24]
call fcn.0040e7d0
jmp 0x40c0e9
cmp eax, 0x5c
jne 0x40befd
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40be70
cmp word [eax], 0x5c
jne 0x40be6b
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x40be69
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40be57
movzx edi, word [ecx]
cmp edi, 0x28
je 0x40be6b
cmp edi, 0x29
je 0x40be6b
test dl, 0x10
jne 0x40be69
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x40be6b
cmp ecx, 0x7d
je 0x40be6b
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040eab0
test byte [esi + 0x50], 0x80
je 0x40bef1
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x40bed9
push 4
lea ecx, [esi + 0x24]
call fcn.0040e7d0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c086
cmp word [eax], 0x5c
jne 0x40c081
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x40c07f
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40bed1
movzx edx, word [ecx]
cmp edx, 0x28
je 0x40c081
cmp edx, 0x29
je 0x40c081
test bl, 0x10
jmp 0x40c070
cmp eax, 0x42
jne 0x40bef1
push 4
lea ecx, [esi + 0x24]
call fcn.0040e7d0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40be90
mov ecx, esi
call fcn.0040c180
jmp 0x40c136
cmp eax, 0x5b
jne 0x40bfaf
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40bf4c
cmp word [eax], 0x5c
jne 0x40bf47
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x40bf45
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40bf33
movzx edi, word [ecx]
cmp edi, 0x28
je 0x40bf47
cmp edi, 0x29
je 0x40bf47
test dl, 0x10
jne 0x40bf45
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x40bf47
cmp ecx, 0x7d
je 0x40bf47
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040eab0
lea ecx, [esi + 0x24]
call fcn.0040b600
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40bf74
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040e840
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40bf92
cmp eax, 0x5d
jne 0x40bf92
push eax
lea ecx, [esi + 0x24]
call fcn.0040b580
mov ecx, esi
call fcn.0040e840
mov ecx, esi
call fcn.0040c9b0
cmp dword [esi + 0x4c], 0x5d
jne 0x40c16c
mov ecx, esi
call fcn.0040e840
jmp 0x40c136
cmp eax, 0x28
jne 0x40c028
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40bffa
cmp word [eax], 0x5c
jne 0x40bff5
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x40bff3
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40bfe1
movzx edi, word [ecx]
cmp edi, 0x28
je 0x40bff5
cmp edi, 0x29
je 0x40bff5
test dl, 0x10
jne 0x40bff3
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x40bff5
cmp ecx, 0x7d
je 0x40bff5
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040eab0
mov ecx, esi
call fcn.0040eda0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40c15a
mov ecx, esi
call fcn.0040e840
test bl, bl
je 0x40c13d
jmp 0x40c136
cmp eax, 0x5e
jne 0x40c031
push 2
jmp 0x40c038
cmp eax, 0x24
jne 0x40c092
push 3
lea ecx, [esi + 0x24]
call fcn.0040e7d0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40c086
cmp word [eax], 0x5c
jne 0x40c081
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x40c07f
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c06d
movzx edi, word [ecx]
cmp edi, 0x28
je 0x40c081
cmp edi, 0x29
je 0x40c081
test dl, 0x10
jne 0x40c07f
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x40c081
cmp ecx, 0x7d
je 0x40c081
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040eab0
jmp 0x40c13d
cmp eax, 0x2a
je 0x40c151
cmp eax, 0x2b
je 0x40c151
cmp eax, 0x3f
je 0x40c151
cmp eax, 0x7b
je 0x40c151
cmp eax, 0x7d
jne 0x40c0ca
test dword [esi + 0x50], 0x10000000
je 0x40c163
jmp 0x40c0dc
cmp eax, 0x5d
jne 0x40c0dc
test dword [esi + 0x50], 0x10000000
je 0x40c16c
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040b3b0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40c12f
cmp word [eax], 0x5c
jne 0x40c12a
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x40c128
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c116
movzx edi, word [ecx]
cmp edi, 0x28
je 0x40c12a
cmp edi, 0x29
je 0x40c12a
test dl, 0x10
jne 0x40c128
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x40c12a
cmp ecx, 0x7d
je 0x40c12a
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040eab0
mov ecx, esi
call fcn.0040e890
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40bde3
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0040df40
push 5
mov ecx, esi
call fcn.0040df40
push 6
mov ecx, esi
call fcn.0040df40
push 4
mov ecx, esi
call fcn.0040df40
int3