Function at 0x1002a310
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1002a570
push ebx
push edi
cmp eax, 0x7c
je 0x1002a56e
cmp eax, 0x29
jne 0x1002a351
cmp dword [esi + 0x10], 0
jne 0x1002a56e
cmp eax, eax
jne 0x1002a351
test dword [esi + 0x50], 0x10000000
je 0x1002a57d
jmp 0x1002a527
cmp eax, 0x2e
jne 0x1002a3b0
push 5
lea ecx, [esi + 0x24]
call fcn.10013750
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x1002a3a4
cmp word [eax], 0x5c
jne 0x1002a39f
lea ecx, [eax + 2]
cmp ecx, edx
je 0x1002a39f
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x1002a38b
movzx edi, word [ecx]
cmp edi, 0x28
je 0x1002a39d
cmp edi, 0x29
je 0x1002a39d
test dl, 0x10
jne 0x1002a39f
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x1002a39d
cmp edx, 0x7d
jne 0x1002a39f
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002ee70
jmp 0x1002a559
cmp eax, 0x5c
jne 0x1002a40f
mov ecx, esi
call fcn.1002ea60
test byte [esi + 0x50], 0x80
je 0x1002a403
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1002a3e1
push 4
lea ecx, [esi + 0x24]
call fcn.10013750
mov ecx, esi
call fcn.1002ea60
jmp 0x1002a560
cmp eax, 0x42
jne 0x1002a403
push 4
lea ecx, [esi + 0x24]
call fcn.10013750
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.1002ea60
jmp 0x1002a560
mov ecx, esi
call fcn.1002a5a0
jmp 0x1002a559
cmp eax, 0x5b
jne 0x1002a4b9
mov ecx, esi
call fcn.1002ea60
lea ecx, [esi + 0x24]
call fcn.100298c0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x1002a484
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x1002a47a
cmp word [eax], 0x5c
jne 0x1002a475
lea ecx, [eax + 2]
cmp ecx, edx
je 0x1002a475
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x1002a461
movzx edi, word [ecx]
cmp edi, 0x28
je 0x1002a473
cmp edi, 0x29
je 0x1002a473
test dl, 0x10
jne 0x1002a475
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x1002a473
cmp edx, 0x7d
jne 0x1002a475
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002ee70
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1002a4a2
cmp eax, 0x5d
jne 0x1002a4a2
push eax
lea ecx, [esi + 0x24]
call fcn.10029840
mov ecx, esi
call fcn.1002ea60
mov ecx, esi
call fcn.1002ae40
push 4
push 0x5d
mov ecx, esi
call fcn.1002dc10
jmp 0x1002a559
cmp eax, 0x28
jne 0x1002a4e3
mov ecx, esi
call fcn.1002ea60
mov ecx, esi
call fcn.1002f020
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.1002dc10
test bl, bl
je 0x1002a560
jmp 0x1002a559
cmp eax, 0x5e
jne 0x1002a4fb
push 2
lea ecx, [esi + 0x24]
call fcn.10013750
mov ecx, esi
call fcn.1002ea60
jmp 0x1002a560
cmp eax, 0x24
jne 0x1002a513
push 3
lea ecx, [esi + 0x24]
call fcn.10013750
mov ecx, esi
call fcn.1002ea60
jmp 0x1002a560
cmp eax, 0x2a
je 0x1002a574
cmp eax, 0x2b
je 0x1002a574
cmp eax, 0x3f
je 0x1002a574
cmp eax, 0x7b
je 0x1002a574
cmp eax, 0x7d
jne 0x1002a537
test dword [esi + 0x50], 0x10000000
je 0x1002a586
jmp 0x1002a545
cmp eax, 0x5d
jne 0x1002a545
test dword [esi + 0x50], 0x10000000
je 0x1002a58f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10029690
mov ecx, esi
call fcn.1002ea60
mov ecx, esi
call fcn.1002eab0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x1002a323
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.10012dc0
push 5
mov ecx, esi
call fcn.10012dc0
push 6
mov ecx, esi
call fcn.10012dc0
push 4
mov ecx, esi
call fcn.10012dc0
int3