Function at 0x40b270
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40b7bd
cmp eax, 0x7c
je 0x40b7bd
lea edi, [esi + 8]
cmp eax, 0x29
jne 0x40b2b6
cmp dword [esi + 0x10], 0
jne 0x40b7bd
test dword [esi + 0x50], 0x10000000
je 0x40b7cd
jmp 0x40b749
cmp eax, 0x2e
jne 0x40b326
push 5
lea ecx, [esi + 0x24]
call fcn.0040b7f0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40b799
cmp word [eax], 0x5c
jne 0x40b558
lea edx, [eax + 2]
cmp edx, ecx
je 0x40b558
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40b2fd
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x40b319
cmp edi, 0x29
je 0x40b319
test bl, 0x10
jne 0x40b558
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x40b319
cmp edx, 0x7d
jne 0x40b558
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x40b799
cmp eax, 0x5c
jne 0x40b489
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40b37e
cmp word [eax], 0x5c
jne 0x40b379
lea edx, [eax + 2]
cmp edx, ecx
je 0x40b379
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40b362
movzx ecx, word [edx]
mov dword [ebp - 8], ecx
mov ecx, eax
cmp word [ebp - 8], 0x28
je 0x40b376
cmp word [ebp - 8], 0x29
je 0x40b376
test bl, 0x10
jne 0x40b379
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x40b376
cmp edx, 0x7d
jne 0x40b379
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040aa30
test byte [esi + 0x50], 0x80
je 0x40b47d
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x40b3fb
push 4
lea ecx, [esi + 0x24]
call fcn.0040b7f0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40b3ef
cmp word [eax], 0x5c
jne 0x40b3ea
lea edx, [eax + 2]
cmp edx, ecx
je 0x40b3ea
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40b3d3
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x40b3e7
cmp ebx, 0x29
je 0x40b3e7
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x40b3ea
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x40b3e7
cmp edx, 0x7d
jne 0x40b3ea
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040aa30
jmp 0x40b7aa
cmp ecx, 0x42
jne 0x40b47d
push 4
lea ecx, [esi + 0x24]
call fcn.0040b7f0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40b471
cmp word [eax], 0x5c
jne 0x40b46c
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x40b46a
test byte [esi + 0x50], 8
jne 0x40b43f
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x40b456
cmp ecx, 0x29
je 0x40b456
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x40b46a
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x40b456
mov edx, ecx
cmp ebx, 0x7d
jne 0x40b46a
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.0040aa30
jmp 0x40b7aa
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040aa30
jmp 0x40b7aa
mov ecx, esi
call fcn.0040bed0
jmp 0x40b7a0
cmp eax, 0x5b
jne 0x40b562
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40b4e7
cmp word [eax], 0x5c
jne 0x40b4df
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x40b4dd
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40b4c2
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x40b4d8
cmp ecx, 0x29
je 0x40b4d8
mov ecx, eax
test bl, 0x10
jne 0x40b4dd
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x40b4d8
mov edx, ecx
cmp edi, 0x7d
jne 0x40b4dd
lea eax, [edx + 2]
jmp 0x40b4df
mov eax, ecx
add eax, 2
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.0040aa30
mov ecx, esi
call fcn.0040bd80
cmp dword [esi + 0x4c], 0x5d
jne 0x40b7db
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40b799
cmp word [eax], 0x5c
jne 0x40b558
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x40b556
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40b533
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x40b549
cmp ecx, 0x29
je 0x40b549
mov ecx, eax
test bl, 0x10
jne 0x40b556
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x40b549
mov edx, ecx
cmp edi, 0x7d
jne 0x40b556
lea eax, [edx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x40b799
mov eax, ecx
add eax, 2
mov dword [esi], eax
jmp 0x40b799
cmp eax, 0x28
jne 0x40b642
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40b5bc
cmp word [eax], 0x5c
jne 0x40b5b7
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x40b5b5
test byte [esi + 0x50], 8
jne 0x40b599
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x40b5b0
cmp ecx, 0x29
je 0x40b5b0
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x40b5b5
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x40b5b0
mov edx, ecx
cmp ebx, 0x7d
jne 0x40b5b5
lea eax, [edx + 2]
jmp 0x40b5b7
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040aa30
mov ecx, esi
call fcn.0040c020
cmp dword [esi + 0x4c], 0x29
mov bl, al
mov byte [ebp - 1], bl
jne 0x40b7cd
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40b62e
cmp word [eax], 0x5c
jne 0x40b629
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x40b624
test byte [esi + 0x50], 8
jne 0x40b608
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x40b61f
cmp ecx, 0x29
je 0x40b61f
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x40b624
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x40b61f
mov edx, ecx
cmp ebx, 0x7d
jne 0x40b624
lea eax, [edx + 2]
jmp 0x40b626
mov eax, ecx
mov bl, byte [ebp - 1]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040aa30
test bl, bl
je 0x40b7aa
jmp 0x40b7a0
cmp eax, 0x5e
jne 0x40b69f
push 2
lea ecx, [esi + 0x24]
call fcn.0040b7f0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40b693
cmp word [eax], 0x5c
jne 0x40b690
add eax, 2
cmp eax, ecx
je 0x40b690
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40b67b
movzx edx, word [eax]
cmp edx, 0x28
je 0x40b68d
cmp edx, 0x29
je 0x40b68d
test cl, 0x10
jne 0x40b690
movzx eax, word [eax]
cmp eax, 0x7b
je 0x40b68d
cmp eax, 0x7d
jne 0x40b690
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.0040aa30
jmp 0x40b7aa
cmp eax, 0x24
jne 0x40b6ff
push 3
lea ecx, [esi + 0x24]
call fcn.0040b7f0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40b6f3
cmp word [eax], 0x5c
jne 0x40b6f0
add eax, 2
cmp eax, ecx
je 0x40b6f0
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40b6db
movzx edx, word [eax]
cmp edx, 0x28
je 0x40b6ed
cmp edx, 0x29
je 0x40b6ed
test cl, 0x10
jne 0x40b6f0
movzx eax, word [eax]
cmp eax, 0x7b
je 0x40b6ed
cmp eax, 0x7d
jne 0x40b6f0
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.0040aa30
jmp 0x40b7aa
cmp eax, 0x2a
je 0x40b7c6
cmp eax, 0x2b
je 0x40b7c6
cmp eax, 0x3f
je 0x40b7c6
cmp eax, 0x7b
je 0x40b7c6
cmp eax, 0x7d
jne 0x40b737
test dword [esi + 0x50], 0x10000000
je 0x40b7d4
jmp 0x40b749
cmp eax, 0x5d
jne 0x40b749
test dword [esi + 0x50], 0x10000000
je 0x40b7db
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040c4f0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40b799
cmp word [eax], 0x5c
jne 0x40b796
add eax, 2
cmp eax, ecx
je 0x40b796
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40b781
movzx edx, word [eax]
cmp edx, 0x28
je 0x40b793
cmp edx, 0x29
je 0x40b793
test cl, 0x10
jne 0x40b796
movzx eax, word [eax]
cmp eax, 0x7b
je 0x40b793
cmp eax, 0x7d
jne 0x40b796
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.0040aa30
mov ecx, esi
call fcn.0040c2c0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x40b7bd
cmp eax, 0x7c
jne 0x40b295
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.0040aa20
push 5
call fcn.0040aa20
push 6
call fcn.0040aa20
push 4
call fcn.0040aa20
int3