Function at 0x1002bc20
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1002c0ea
cmp eax, 0x7c
je 0x1002c0ea
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x29
jne 0x1002bc64
cmp dword [esi + 0x10], 0
jne 0x1002c0e8
test dword [esi + 0x50], 0x10000000
je 0x1002c0fa
jmp 0x1002c074
cmp eax, 0x2e
jne 0x1002bcc4
push 5
lea ecx, [esi + 0x24]
call fcn.10013ab0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002c0c4
cmp word [eax], 0x5c
jne 0x1002bcba
lea edx, [eax + 2]
cmp edx, ecx
je 0x1002bcba
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1002bca3
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x1002bcb7
cmp edi, 0x29
je 0x1002bcb7
test bl, 0x10
jne 0x1002bcba
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x1002bcb7
cmp edx, 0x7d
jne 0x1002bcba
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x1002c0c4
cmp eax, 0x5c
jne 0x1002be27
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002bd1c
cmp word [eax], 0x5c
jne 0x1002bd17
lea edx, [eax + 2]
cmp edx, ecx
je 0x1002bd17
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1002bd00
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, eax
cmp word [ebp - 4], 0x28
je 0x1002bd14
cmp word [ebp - 4], 0x29
je 0x1002bd14
test bl, 0x10
jne 0x1002bd17
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x1002bd14
cmp edx, 0x7d
jne 0x1002bd17
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002faf0
test byte [esi + 0x50], 0x80
je 0x1002be1b
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x1002bd99
push 4
lea ecx, [esi + 0x24]
call fcn.10013ab0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002bd8d
cmp word [eax], 0x5c
jne 0x1002bd88
lea edx, [eax + 2]
cmp edx, ecx
je 0x1002bd88
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1002bd71
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x1002bd85
cmp ebx, 0x29
je 0x1002bd85
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1002bd88
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x1002bd85
cmp edx, 0x7d
jne 0x1002bd88
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002faf0
jmp 0x1002c0d5
cmp ecx, 0x42
jne 0x1002be1b
push 4
lea ecx, [esi + 0x24]
call fcn.10013ab0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov edx, dword [edi]
mov eax, dword [esi]
cmp eax, edx
je 0x1002be0f
cmp word [eax], 0x5c
jne 0x1002be0a
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x1002be08
test byte [esi + 0x50], 8
jne 0x1002bddd
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x1002bdf4
cmp ecx, 0x29
je 0x1002bdf4
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1002be08
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x1002bdf4
mov edx, ecx
cmp ebx, 0x7d
jne 0x1002be08
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.1002faf0
jmp 0x1002c0d5
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002faf0
jmp 0x1002c0d5
mov ecx, esi
call fcn.1002c120
jmp 0x1002c0cb
cmp eax, 0x5b
jne 0x1002bf38
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002be85
cmp word [eax], 0x5c
jne 0x1002be7d
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x1002be7b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1002be60
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x1002be76
cmp ecx, 0x29
je 0x1002be76
mov ecx, eax
test bl, 0x10
jne 0x1002be7b
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x1002be76
mov edx, ecx
cmp edi, 0x7d
jne 0x1002be7b
lea eax, [edx + 2]
jmp 0x1002be7d
mov eax, ecx
add eax, 2
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.1002faf0
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.1002b440
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x1002bf04
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002befa
cmp word [eax], 0x5c
jne 0x1002bef2
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x1002bef0
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1002bed5
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x1002beeb
cmp ecx, 0x29
je 0x1002beeb
mov ecx, eax
test bl, 0x10
jne 0x1002bef0
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x1002beeb
mov edx, ecx
cmp edi, 0x7d
jne 0x1002bef0
lea eax, [edx + 2]
jmp 0x1002bef2
mov eax, ecx
add eax, 2
lea ebx, [esi + 0x24]
mov dword [esi], eax
mov ecx, esi
call fcn.1002faf0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1002bf21
cmp eax, 0x5d
jne 0x1002bf21
push eax
mov ecx, ebx
call fcn.1002b3c0
mov ecx, esi
call fcn.1002f6b0
mov ecx, esi
call fcn.1002c8f0
push 4
push 0x5d
mov ecx, esi
call fcn.1002e4b0
jmp 0x1002c0cb
cmp eax, 0x28
jne 0x1002bfb6
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002bf8e
cmp word [eax], 0x5c
jne 0x1002bf89
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x1002bf87
test byte [esi + 0x50], 8
jne 0x1002bf6b
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x1002bf82
cmp ecx, 0x29
je 0x1002bf82
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1002bf87
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x1002bf82
mov edx, ecx
cmp ebx, 0x7d
jne 0x1002bf87
lea eax, [edx + 2]
jmp 0x1002bf89
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002faf0
mov ecx, esi
call fcn.1002fca0
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.1002e4b0
test bl, bl
je 0x1002c0d5
jmp 0x1002c0cb
cmp eax, 0x5e
jne 0x1002bfca
push 2
lea ecx, [esi + 0x24]
call fcn.10013ab0
jmp 0x1002bdaf
cmp eax, 0x24
jne 0x1002c02a
push 3
lea ecx, [esi + 0x24]
call fcn.10013ab0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002c01e
cmp word [eax], 0x5c
jne 0x1002c01b
add eax, 2
cmp eax, ecx
je 0x1002c01b
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1002c006
movzx edx, word [eax]
cmp edx, 0x28
je 0x1002c018
cmp edx, 0x29
je 0x1002c018
test cl, 0x10
jne 0x1002c01b
movzx eax, word [eax]
cmp eax, 0x7b
je 0x1002c018
cmp eax, 0x7d
jne 0x1002c01b
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.1002faf0
jmp 0x1002c0d5
cmp eax, 0x2a
je 0x1002c0f1
cmp eax, 0x2b
je 0x1002c0f1
cmp eax, 0x3f
je 0x1002c0f1
cmp eax, 0x7b
je 0x1002c0f1
cmp eax, 0x7d
jne 0x1002c062
test dword [esi + 0x50], 0x10000000
je 0x1002c103
jmp 0x1002c074
cmp eax, 0x5d
jne 0x1002c074
test dword [esi + 0x50], 0x10000000
je 0x1002c10c
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1002b1f0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1002c0c4
cmp word [eax], 0x5c
jne 0x1002c0c1
add eax, 2
cmp eax, ecx
je 0x1002c0c1
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1002c0ac
movzx edx, word [eax]
cmp edx, 0x28
je 0x1002c0be
cmp edx, 0x29
je 0x1002c0be
test cl, 0x10
jne 0x1002c0c1
movzx eax, word [eax]
cmp eax, 0x7b
je 0x1002c0be
cmp eax, 0x7d
jne 0x1002c0c1
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.1002faf0
mov ecx, esi
call fcn.1002f700
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x1002c0e8
cmp eax, 0x7c
jne 0x1002bc43
pop ebx
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.10012fe0
push 5
mov ecx, esi
call fcn.10012fe0
push 6
mov ecx, esi
call fcn.10012fe0
push 4
mov ecx, esi
call fcn.10012fe0
int3