Function at 0x407a40
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x407f4e
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x7c
je 0x407f4c
cmp eax, 0x29
jne 0x407a80
cmp dword [esi + 0x10], 0
jne 0x407f4c
test dword [esi + 0x50], 0x10000000
je 0x407f5b
jmp 0x407edd
cmp eax, 0x2e
jne 0x407af2
push 5
lea ecx, [esi + 0x24]
call fcn.0040a650
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x407f2d
cmp word [eax], 0x5c
jne 0x407ae8
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x407ae6
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x407ac3
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x407ad9
cmp ecx, 0x29
je 0x407ad9
mov ecx, eax
test bl, 0x10
jne 0x407ae6
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x407ad9
mov edx, ecx
cmp edi, 0x7d
jne 0x407ae6
lea eax, [edx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x407f2d
mov eax, ecx
add eax, 2
mov dword [esi], eax
jmp 0x407f2d
cmp eax, 0x5c
jne 0x407c57
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x407b4c
cmp word [eax], 0x5c
jne 0x407b47
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x407b45
test byte [esi + 0x50], 8
jne 0x407b29
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x407b40
cmp ecx, 0x29
je 0x407b40
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x407b45
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x407b40
mov edx, ecx
cmp ebx, 0x7d
jne 0x407b45
lea eax, [edx + 2]
jmp 0x407b47
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040ad50
test byte [esi + 0x50], 0x80
je 0x407c4b
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x407bde
push 4
lea ecx, [esi + 0x24]
call fcn.0040a650
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x407bd2
cmp word [eax], 0x5c
jne 0x407bcd
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x407bcb
test byte [esi + 0x50], 8
jne 0x407ba0
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x407bb7
cmp ecx, 0x29
je 0x407bb7
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x407bcb
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x407bb7
mov edx, ecx
cmp ebx, 0x7d
jne 0x407bcb
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.0040ad50
jmp 0x407f3e
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040ad50
jmp 0x407f3e
cmp ecx, 0x42
jne 0x407c4b
push 4
lea ecx, [esi + 0x24]
call fcn.0040a650
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x407c3f
cmp word [eax], 0x5c
jne 0x407c3a
lea ebx, [eax + 2]
cmp ebx, ecx
je 0x407c3a
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x407c23
movzx edx, word [ebx]
mov ecx, eax
cmp edx, 0x28
je 0x407c37
cmp edx, 0x29
je 0x407c37
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x407c3a
movzx edx, word [ebx]
mov ecx, eax
cmp edx, 0x7b
je 0x407c37
cmp edx, 0x7d
jne 0x407c3a
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040ad50
jmp 0x407f3e
mov ecx, esi
call fcn.00407f80
jmp 0x407f34
cmp eax, 0x5b
jne 0x407d52
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x407ca8
cmp word [eax], 0x5c
jne 0x407ca3
lea edx, [eax + 2]
cmp edx, ecx
je 0x407ca3
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x407c8c
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x407ca0
cmp edi, 0x29
je 0x407ca0
test bl, 0x10
jne 0x407ca3
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x407ca0
cmp edx, 0x7d
jne 0x407ca3
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040ad50
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.00407280
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x407d1e
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x407d14
cmp word [eax], 0x5c
jne 0x407d0c
lea edx, [eax + 2]
cmp edx, ecx
je 0x407d0c
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x407cf5
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x407d09
cmp edi, 0x29
je 0x407d09
test bl, 0x10
jne 0x407d0c
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x407d09
cmp edx, 0x7d
jne 0x407d0c
lea eax, [ecx + 2]
add eax, 2
lea edi, [esi + 0x24]
mov dword [esi], eax
mov ecx, esi
call fcn.0040ad50
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x407d3b
cmp eax, 0x5d
jne 0x407d3b
push eax
mov ecx, edi
call fcn.00407200
mov ecx, esi
call fcn.0040a6c0
mov ecx, esi
call fcn.004089f0
push 4
push 0x5d
mov ecx, esi
call fcn.00409b00
jmp 0x407f34
cmp eax, 0x28
jne 0x407dca
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x407da2
cmp word [eax], 0x5c
jne 0x407d9d
lea edx, [eax + 2]
cmp edx, ecx
je 0x407d9d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x407d86
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x407d9a
cmp ebx, 0x29
je 0x407d9a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x407d9d
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x407d9a
cmp edx, 0x7d
jne 0x407d9d
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040ad50
mov ecx, esi
call fcn.0040af60
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00409b00
test bl, bl
je 0x407f3e
jmp 0x407f34
cmp eax, 0x5e
jne 0x407e33
push 2
lea ecx, [esi + 0x24]
call fcn.0040a650
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x407e27
cmp word [eax], 0x5c
jne 0x407e22
lea edx, [eax + 2]
cmp edx, ecx
je 0x407e22
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x407e0b
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x407e1f
cmp ebx, 0x29
je 0x407e1f
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x407e22
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x407e1f
cmp edx, 0x7d
jne 0x407e22
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040ad50
jmp 0x407f3e
cmp eax, 0x24
jne 0x407e93
push 3
lea ecx, [esi + 0x24]
call fcn.0040a650
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x407e87
cmp word [eax], 0x5c
jne 0x407e84
add eax, 2
cmp eax, ecx
je 0x407e84
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x407e6f
movzx edx, word [eax]
cmp edx, 0x28
je 0x407e81
cmp edx, 0x29
je 0x407e81
test cl, 0x10
jne 0x407e84
movzx eax, word [eax]
cmp eax, 0x7b
je 0x407e81
cmp eax, 0x7d
jne 0x407e84
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.0040ad50
jmp 0x407f3e
cmp eax, 0x2a
je 0x407f52
cmp eax, 0x2b
je 0x407f52
cmp eax, 0x3f
je 0x407f52
cmp eax, 0x7b
je 0x407f52
cmp eax, 0x7d
jne 0x407ecb
test dword [esi + 0x50], 0x10000000
je 0x407f64
jmp 0x407edd
cmp eax, 0x5d
jne 0x407edd
test dword [esi + 0x50], 0x10000000
je 0x407f6d
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00407030
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x407f2d
cmp word [eax], 0x5c
jne 0x407f2a
add eax, 2
cmp eax, ecx
je 0x407f2a
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x407f15
movzx edx, word [eax]
cmp edx, 0x28
je 0x407f27
cmp edx, 0x29
je 0x407f27
test cl, 0x10
jne 0x407f2a
movzx eax, word [eax]
cmp eax, 0x7b
je 0x407f27
cmp eax, 0x7d
jne 0x407f2a
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.0040ad50
mov ecx, esi
call fcn.0040a7f0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x407a56
pop ebx
pop edi
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00409af0
push 5
mov ecx, esi
call fcn.00409af0
push 6
mov ecx, esi
call fcn.00409af0
push 4
mov ecx, esi
call fcn.00409af0
int3