Function at 0x10051400
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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 0x10051435
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x7c
je 0x10051435
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x29
jne 0x10051442
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
je 0x10051442
mov al, byte [ebp - 2]
jmp 0x10051675
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x29
jne 0x10051468
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
and eax, 0x10000000
jne 0x10051468
push 5
mov ecx, dword [ebp - 8]
call fcn.1004f090
nop
jmp 0x1005165b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x2e
jne 0x1005148a
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10053ea0
mov ecx, dword [ebp - 8]
call fcn.100513a0
nop
jmp 0x1005165b
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x5c
jne 0x1005151f
mov ecx, dword [ebp - 8]
call fcn.100513a0
nop
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x50]
and ecx, 0x80
je 0x100514d3
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 0x48]
cmp eax, 0x62
jne 0x100514d3
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10053e80
mov ecx, dword [ebp - 8]
call fcn.100513a0
mov byte [ebp - 1], 0
jmp 0x1005151a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
and edx, 0x80
je 0x10051511
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0x48]
cmp ecx, 0x42
jne 0x10051511
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10053e80
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10053f80
mov ecx, dword [ebp - 8]
call fcn.100513a0
mov byte [ebp - 1], 0
jmp 0x1005151a
mov ecx, dword [ebp - 8]
call fcn.10053a10
nop
jmp 0x1005165b
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x5b
jne 0x1005154a
mov ecx, dword [ebp - 8]
call fcn.100513a0
mov ecx, dword [ebp - 8]
call fcn.10053990
push 4
push 0x5d
mov ecx, dword [ebp - 8]
call fcn.10053960
nop
jmp 0x1005165b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x28
jne 0x10051578
mov ecx, dword [ebp - 8]
call fcn.100513a0
mov ecx, dword [ebp - 8]
call fcn.10053b70
mov byte [ebp - 1], al
push 5
push 0x29
mov ecx, dword [ebp - 8]
call fcn.10053960
nop
jmp 0x1005165b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x5e
jne 0x1005159d
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10053e40
mov ecx, dword [ebp - 8]
call fcn.100513a0
mov byte [ebp - 1], 0
jmp 0x1005165b
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x24
jne 0x100515c2
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10053e60
mov ecx, dword [ebp - 8]
call fcn.100513a0
mov byte [ebp - 1], 0
jmp 0x1005165b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x2a
je 0x100515e6
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x2b
je 0x100515e6
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x3f
je 0x100515e6
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x7b
jne 0x100515f3
push 0xa
mov ecx, dword [ebp - 8]
call fcn.1004f090
nop
jmp 0x1005165b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x7d
jne 0x10051616
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
and eax, 0x10000000
jne 0x10051616
push 6
mov ecx, dword [ebp - 8]
call fcn.1004f090
nop
jmp 0x1005165b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x5d
jne 0x10051639
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
and eax, 0x10000000
jne 0x10051639
push 4
mov ecx, dword [ebp - 8]
call fcn.1004f090
nop
jmp 0x1005165b
mov ecx, dword [ebp - 8]
add ecx, 0x24
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x48]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.10053ec0
mov ecx, dword [ebp - 8]
call fcn.100513a0
nop
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x1005166c
mov ecx, dword [ebp - 8]
call fcn.10053c90
nop
mov byte [ebp - 2], 1
jmp 0x1005140d
mov esp, ebp
pop ebp
ret