Function at 0x10056e50
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100570b0
push ebx
push edi
cmp eax, 0x7c
je 0x100570ae
cmp eax, 0x29
jne 0x10056e91
cmp dword [esi + 0x10], 0
jne 0x100570ae
cmp eax, eax
jne 0x10056e91
test dword [esi + 0x50], 0x10000000
je 0x100570bd
jmp 0x10057067
cmp eax, 0x2e
jne 0x10056ef0
push 5
lea ecx, [esi + 0x24]
call fcn.10059ae0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10056ee4
cmp word [eax], 0x5c
jne 0x10056edf
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10056edf
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10056ecb
movzx edi, word [ecx]
cmp edi, 0x28
je 0x10056edd
cmp edi, 0x29
je 0x10056edd
test dl, 0x10
jne 0x10056edf
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x10056edd
cmp edx, 0x7d
jne 0x10056edf
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10059cf0
jmp 0x10057099
cmp eax, 0x5c
jne 0x10056f4f
mov ecx, esi
call fcn.10059b50
test byte [esi + 0x50], 0x80
je 0x10056f43
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x10056f21
push 4
lea ecx, [esi + 0x24]
call fcn.10059ae0
mov ecx, esi
call fcn.10059b50
jmp 0x100570a0
cmp eax, 0x42
jne 0x10056f43
push 4
lea ecx, [esi + 0x24]
call fcn.10059ae0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10059b50
jmp 0x100570a0
mov ecx, esi
call fcn.100570e0
jmp 0x10057099
cmp eax, 0x5b
jne 0x10056ff9
mov ecx, esi
call fcn.10059b50
lea ecx, [esi + 0x24]
call fcn.10056430
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x10056fc4
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10056fba
cmp word [eax], 0x5c
jne 0x10056fb5
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10056fb5
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10056fa1
movzx edi, word [ecx]
cmp edi, 0x28
je 0x10056fb3
cmp edi, 0x29
je 0x10056fb3
test dl, 0x10
jne 0x10056fb5
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x10056fb3
cmp edx, 0x7d
jne 0x10056fb5
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10059cf0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x10056fe2
cmp eax, 0x5d
jne 0x10056fe2
push eax
lea ecx, [esi + 0x24]
call fcn.100563b0
mov ecx, esi
call fcn.10059b50
mov ecx, esi
call fcn.10057c60
push 4
push 0x5d
mov ecx, esi
call fcn.10059180
jmp 0x10057099
cmp eax, 0x28
jne 0x10057023
mov ecx, esi
call fcn.10059b50
mov ecx, esi
call fcn.10059f80
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.10059180
test bl, bl
je 0x100570a0
jmp 0x10057099
cmp eax, 0x5e
jne 0x1005703b
push 2
lea ecx, [esi + 0x24]
call fcn.10059ae0
mov ecx, esi
call fcn.10059b50
jmp 0x100570a0
cmp eax, 0x24
jne 0x10057053
push 3
lea ecx, [esi + 0x24]
call fcn.10059ae0
mov ecx, esi
call fcn.10059b50
jmp 0x100570a0
cmp eax, 0x2a
je 0x100570b4
cmp eax, 0x2b
je 0x100570b4
cmp eax, 0x3f
je 0x100570b4
cmp eax, 0x7b
je 0x100570b4
cmp eax, 0x7d
jne 0x10057077
test dword [esi + 0x50], 0x10000000
je 0x100570c6
jmp 0x10057085
cmp eax, 0x5d
jne 0x10057085
test dword [esi + 0x50], 0x10000000
je 0x100570cf
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10056200
mov ecx, esi
call fcn.10059b50
mov ecx, esi
call fcn.10059ba0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10056e63
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.10059170
push 5
mov ecx, esi
call fcn.10059170
push 6
mov ecx, esi
call fcn.10059170
push 4
mov ecx, esi
call fcn.10059170
int3