Function at 0x412f70
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x41347e
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x7c
je 0x41347c
cmp eax, 0x29
jne 0x412fb0
cmp dword [esi + 0x10], 0
jne 0x41347c
test dword [esi + 0x50], 0x10000000
je 0x41348b
jmp 0x41340d
cmp eax, 0x2e
jne 0x413022
push 5
lea ecx, [esi + 0x24]
call fcn.0040d060
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x41345d
cmp word [eax], 0x5c
jne 0x413018
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x413016
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x412ff3
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x413009
cmp ecx, 0x29
je 0x413009
mov ecx, eax
test bl, 0x10
jne 0x413016
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x413009
mov edx, ecx
cmp edi, 0x7d
jne 0x413016
lea eax, [edx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x41345d
mov eax, ecx
add eax, 2
mov dword [esi], eax
jmp 0x41345d
cmp eax, 0x5c
jne 0x413187
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x41307c
cmp word [eax], 0x5c
jne 0x413077
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x413075
test byte [esi + 0x50], 8
jne 0x413059
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x413070
cmp ecx, 0x29
je 0x413070
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x413075
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x413070
mov edx, ecx
cmp ebx, 0x7d
jne 0x413075
lea eax, [edx + 2]
jmp 0x413077
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00416050
test byte [esi + 0x50], 0x80
je 0x41317b
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x41310e
push 4
lea ecx, [esi + 0x24]
call fcn.0040d060
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x413102
cmp word [eax], 0x5c
jne 0x4130fd
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x4130fb
test byte [esi + 0x50], 8
jne 0x4130d0
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x4130e7
cmp ecx, 0x29
je 0x4130e7
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x4130fb
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x4130e7
mov edx, ecx
cmp ebx, 0x7d
jne 0x4130fb
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.00416050
jmp 0x41346e
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00416050
jmp 0x41346e
cmp ecx, 0x42
jne 0x41317b
push 4
lea ecx, [esi + 0x24]
call fcn.0040d060
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x41316f
cmp word [eax], 0x5c
jne 0x41316a
lea ebx, [eax + 2]
cmp ebx, ecx
je 0x41316a
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x413153
movzx edx, word [ebx]
mov ecx, eax
cmp edx, 0x28
je 0x413167
cmp edx, 0x29
je 0x413167
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x41316a
movzx edx, word [ebx]
mov ecx, eax
cmp edx, 0x7b
je 0x413167
cmp edx, 0x7d
jne 0x41316a
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00416050
jmp 0x41346e
mov ecx, esi
call fcn.004134b0
jmp 0x413464
cmp eax, 0x5b
jne 0x413282
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4131d8
cmp word [eax], 0x5c
jne 0x4131d3
lea edx, [eax + 2]
cmp edx, ecx
je 0x4131d3
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4131bc
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x4131d0
cmp edi, 0x29
je 0x4131d0
test bl, 0x10
jne 0x4131d3
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x4131d0
cmp edx, 0x7d
jne 0x4131d3
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00416050
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.004127e0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x41324e
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x413244
cmp word [eax], 0x5c
jne 0x41323c
lea edx, [eax + 2]
cmp edx, ecx
je 0x41323c
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x413225
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x413239
cmp edi, 0x29
je 0x413239
test bl, 0x10
jne 0x41323c
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x413239
cmp edx, 0x7d
jne 0x41323c
lea eax, [ecx + 2]
add eax, 2
lea edi, [esi + 0x24]
mov dword [esi], eax
mov ecx, esi
call fcn.00416050
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x41326b
cmp eax, 0x5d
jne 0x41326b
push eax
mov ecx, edi
call fcn.00412760
mov ecx, esi
call fcn.00415610
mov ecx, esi
call fcn.00413c70
push 4
push 0x5d
mov ecx, esi
call fcn.00414b80
jmp 0x413464
cmp eax, 0x28
jne 0x4132fa
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4132d2
cmp word [eax], 0x5c
jne 0x4132cd
lea edx, [eax + 2]
cmp edx, ecx
je 0x4132cd
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4132b6
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x4132ca
cmp ebx, 0x29
je 0x4132ca
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4132cd
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x4132ca
cmp edx, 0x7d
jne 0x4132cd
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00416050
mov ecx, esi
call fcn.00416200
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00414b80
test bl, bl
je 0x41346e
jmp 0x413464
cmp eax, 0x5e
jne 0x413363
push 2
lea ecx, [esi + 0x24]
call fcn.0040d060
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x413357
cmp word [eax], 0x5c
jne 0x413352
lea edx, [eax + 2]
cmp edx, ecx
je 0x413352
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x41333b
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x41334f
cmp ebx, 0x29
je 0x41334f
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x413352
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x41334f
cmp edx, 0x7d
jne 0x413352
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00416050
jmp 0x41346e
cmp eax, 0x24
jne 0x4133c3
push 3
lea ecx, [esi + 0x24]
call fcn.0040d060
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4133b7
cmp word [eax], 0x5c
jne 0x4133b4
add eax, 2
cmp eax, ecx
je 0x4133b4
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x41339f
movzx edx, word [eax]
cmp edx, 0x28
je 0x4133b1
cmp edx, 0x29
je 0x4133b1
test cl, 0x10
jne 0x4133b4
movzx eax, word [eax]
cmp eax, 0x7b
je 0x4133b1
cmp eax, 0x7d
jne 0x4133b4
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.00416050
jmp 0x41346e
cmp eax, 0x2a
je 0x413482
cmp eax, 0x2b
je 0x413482
cmp eax, 0x3f
je 0x413482
cmp eax, 0x7b
je 0x413482
cmp eax, 0x7d
jne 0x4133fb
test dword [esi + 0x50], 0x10000000
je 0x413494
jmp 0x41340d
cmp eax, 0x5d
jne 0x41340d
test dword [esi + 0x50], 0x10000000
je 0x41349d
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00412590
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x41345d
cmp word [eax], 0x5c
jne 0x41345a
add eax, 2
cmp eax, ecx
je 0x41345a
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x413445
movzx edx, word [eax]
cmp edx, 0x28
je 0x413457
cmp edx, 0x29
je 0x413457
test cl, 0x10
jne 0x41345a
movzx eax, word [eax]
cmp eax, 0x7b
je 0x413457
cmp eax, 0x7d
jne 0x41345a
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.00416050
mov ecx, esi
call fcn.00415a10
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x412f86
pop ebx
pop edi
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0040c550
push 5
mov ecx, esi
call fcn.0040c550
push 6
mov ecx, esi
call fcn.0040c550
push 4
mov ecx, esi
call fcn.0040c550
int3