Function at 0x4057d0
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x405a38
cmp eax, 0x7c
je 0x405a38
cmp eax, 0x29
jne 0x405811
cmp dword [esi + 0x10], 0
jne 0x405a38
cmp eax, eax
jne 0x405811
test dword [esi + 0x50], 0x10000000
je 0x405a45
jmp 0x4059f1
cmp eax, 0x2e
jne 0x405825
push 5
lea ecx, [esi + 0x24]
call fcn.00405aa0
jmp 0x4058e9
cmp eax, 0x5c
jne 0x4058cc
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x405872
cmp word [eax], 0x5c
jne 0x40586d
lea ecx, [eax + 2]
cmp ecx, edx
je 0x40586d
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x405859
movzx edi, word [ecx]
cmp edi, 0x28
je 0x40586b
cmp edi, 0x29
je 0x40586b
test dl, 0x10
jne 0x40586d
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x40586b
cmp edx, 0x7d
jne 0x40586d
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00404f80
test byte [esi + 0x50], 0x80
je 0x4058c0
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x40589e
push 4
lea ecx, [esi + 0x24]
call fcn.00405aa0
mov ecx, esi
call fcn.00405780
jmp 0x405a2a
cmp eax, 0x42
jne 0x4058c0
push 4
lea ecx, [esi + 0x24]
call fcn.00405aa0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00405780
jmp 0x405a2a
mov ecx, esi
call fcn.004060e0
jmp 0x405a23
cmp eax, 0x5b
jne 0x405939
mov ecx, esi
call fcn.00405780
mov ecx, esi
call fcn.00405ff0
cmp dword [esi + 0x4c], 0x5d
jne 0x405a53
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40592d
cmp word [eax], 0x5c
jne 0x405928
lea ecx, [eax + 2]
cmp ecx, edx
je 0x405928
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x405914
movzx edi, word [ecx]
cmp edi, 0x28
je 0x405926
cmp edi, 0x29
je 0x405926
test dl, 0x10
jne 0x405928
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x405926
cmp edx, 0x7d
jne 0x405928
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00404f80
jmp 0x405a23
cmp eax, 0x28
jne 0x4059ad
mov ecx, esi
call fcn.00405780
mov ecx, esi
call fcn.00406280
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x405a45
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40599c
cmp word [eax], 0x5c
jne 0x405997
lea ecx, [eax + 2]
cmp ecx, edx
je 0x405997
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x405983
movzx edi, word [ecx]
cmp edi, 0x28
je 0x405995
cmp edi, 0x29
je 0x405995
test dl, 0x10
jne 0x405997
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x405995
cmp edx, 0x7d
jne 0x405997
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00404f80
test bl, bl
je 0x405a2a
jmp 0x405a23
cmp eax, 0x5e
jne 0x4059c5
push 2
lea ecx, [esi + 0x24]
call fcn.00405aa0
mov ecx, esi
call fcn.00405780
jmp 0x405a2a
cmp eax, 0x24
jne 0x4059dd
push 3
lea ecx, [esi + 0x24]
call fcn.00405aa0
mov ecx, esi
call fcn.00405780
jmp 0x405a2a
cmp eax, 0x2a
je 0x405a3e
cmp eax, 0x2b
je 0x405a3e
cmp eax, 0x3f
je 0x405a3e
cmp eax, 0x7b
je 0x405a3e
cmp eax, 0x7d
jne 0x405a01
test dword [esi + 0x50], 0x10000000
je 0x405a4c
jmp 0x405a0f
cmp eax, 0x5d
jne 0x405a0f
test dword [esi + 0x50], 0x10000000
je 0x405a53
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00406540
mov ecx, esi
call fcn.00405780
mov ecx, esi
call fcn.00406390
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4057e3
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.00404f70
push 5
call fcn.00404f70
push 6
call fcn.00404f70
push 4
call fcn.00404f70
int3