Function at 0x10058990
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov byte [ebp - 2], 0
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0xffffffff
je 0x100589c5
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x7c
je 0x100589c5
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x29
jne 0x100589d2
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
je 0x100589d2
mov al, byte [ebp - 2]
jmp 0x10058bf4
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x29
jne 0x100589f7
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
and eax, 0x10000000
jne 0x100589f7
push 5
mov ecx, dword [ebp - 8]
call fcn.100566c0
jmp 0x10058bdb
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x2e
jne 0x10058a18
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.1005a5f0
mov ecx, dword [ebp - 8]
call fcn.10058930
jmp 0x10058bdb
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x5c
jne 0x10058aab
mov ecx, dword [ebp - 8]
call fcn.10058930
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x50]
and ecx, 0x80
je 0x10058a60
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 0x48]
cmp eax, 0x62
jne 0x10058a60
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.1005a5d0
mov ecx, dword [ebp - 8]
call fcn.10058930
mov byte [ebp - 1], 0
jmp 0x10058aa6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
and edx, 0x80
je 0x10058a9e
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0x48]
cmp ecx, 0x42
jne 0x10058a9e
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.1005a5d0
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.1005a6c0
mov ecx, dword [ebp - 8]
call fcn.10058930
mov byte [ebp - 1], 0
jmp 0x10058aa6
mov ecx, dword [ebp - 8]
call fcn.1005a1b0
jmp 0x10058bdb
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x5b
jne 0x10058ad5
mov ecx, dword [ebp - 8]
call fcn.10058930
mov ecx, dword [ebp - 8]
call fcn.1005a140
push 4
push 0x5d
mov ecx, dword [ebp - 8]
call fcn.1005a110
jmp 0x10058bdb
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x28
jne 0x10058b02
mov ecx, dword [ebp - 8]
call fcn.10058930
mov ecx, dword [ebp - 8]
call fcn.1005a2d0
mov byte [ebp - 1], al
push 5
push 0x29
mov ecx, dword [ebp - 8]
call fcn.1005a110
jmp 0x10058bdb
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x5e
jne 0x10058b27
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.1005a590
mov ecx, dword [ebp - 8]
call fcn.10058930
mov byte [ebp - 1], 0
jmp 0x10058bdb
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x24
jne 0x10058b4c
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.1005a5b0
mov ecx, dword [ebp - 8]
call fcn.10058930
mov byte [ebp - 1], 0
jmp 0x10058bdb
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x2a
je 0x10058b70
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x2b
je 0x10058b70
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x3f
je 0x10058b70
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x7b
jne 0x10058b7c
push 0xa
mov ecx, dword [ebp - 8]
call fcn.100566c0
jmp 0x10058bdb
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x7d
jne 0x10058b9e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
and eax, 0x10000000
jne 0x10058b9e
push 6
mov ecx, dword [ebp - 8]
call fcn.100566c0
jmp 0x10058bdb
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x5d
jne 0x10058bc0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
and eax, 0x10000000
jne 0x10058bc0
push 4
mov ecx, dword [ebp - 8]
call fcn.100566c0
jmp 0x10058bdb
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x48]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.1005a610
mov ecx, dword [ebp - 8]
call fcn.10058930
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10058beb
mov ecx, dword [ebp - 8]
call fcn.1005a3f0
mov byte [ebp - 2], 1
jmp 0x1005899d
mov esp, ebp
pop ebp
ret