Function at 0x1002ede0
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 0x1002f2aa
cmp eax, 0x7c
je 0x1002f2aa
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x29
jne 0x1002ee24
cmp dword [esi + 0x10], 0
jne 0x1002f2a8
test dword [esi + 0x50], 0x10000000
je 0x1002f2ba
jmp 0x1002f234
cmp eax, 0x2e
jne 0x1002ee84
push 5
lea ecx, [esi + 0x24]
call fcn.10016d60
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002f284
cmp word [eax], 0x5c
jne 0x1002ee7a
lea edx, [eax + 2]
cmp edx, ecx
je 0x1002ee7a
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1002ee63
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x1002ee77
cmp edi, 0x29
je 0x1002ee77
test bl, 0x10
jne 0x1002ee7a
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x1002ee77
cmp edx, 0x7d
jne 0x1002ee7a
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x1002f284
cmp eax, 0x5c
jne 0x1002efe7
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002eedc
cmp word [eax], 0x5c
jne 0x1002eed7
lea edx, [eax + 2]
cmp edx, ecx
je 0x1002eed7
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1002eec0
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, eax
cmp word [ebp - 4], 0x28
je 0x1002eed4
cmp word [ebp - 4], 0x29
je 0x1002eed4
test bl, 0x10
jne 0x1002eed7
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x1002eed4
cmp edx, 0x7d
jne 0x1002eed7
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10032cb0
test byte [esi + 0x50], 0x80
je 0x1002efdb
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x1002ef59
push 4
lea ecx, [esi + 0x24]
call fcn.10016d60
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002ef4d
cmp word [eax], 0x5c
jne 0x1002ef48
lea edx, [eax + 2]
cmp edx, ecx
je 0x1002ef48
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1002ef31
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x1002ef45
cmp ebx, 0x29
je 0x1002ef45
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1002ef48
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x1002ef45
cmp edx, 0x7d
jne 0x1002ef48
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10032cb0
jmp 0x1002f295
cmp ecx, 0x42
jne 0x1002efdb
push 4
lea ecx, [esi + 0x24]
call fcn.10016d60
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov edx, dword [edi]
mov eax, dword [esi]
cmp eax, edx
je 0x1002efcf
cmp word [eax], 0x5c
jne 0x1002efca
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x1002efc8
test byte [esi + 0x50], 8
jne 0x1002ef9d
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x1002efb4
cmp ecx, 0x29
je 0x1002efb4
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1002efc8
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x1002efb4
mov edx, ecx
cmp ebx, 0x7d
jne 0x1002efc8
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.10032cb0
jmp 0x1002f295
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10032cb0
jmp 0x1002f295
mov ecx, esi
call fcn.1002f2e0
jmp 0x1002f28b
cmp eax, 0x5b
jne 0x1002f0f8
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002f045
cmp word [eax], 0x5c
jne 0x1002f03d
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x1002f03b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1002f020
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x1002f036
cmp ecx, 0x29
je 0x1002f036
mov ecx, eax
test bl, 0x10
jne 0x1002f03b
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x1002f036
mov edx, ecx
cmp edi, 0x7d
jne 0x1002f03b
lea eax, [edx + 2]
jmp 0x1002f03d
mov eax, ecx
add eax, 2
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.10032cb0
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.1002e600
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x1002f0c4
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002f0ba
cmp word [eax], 0x5c
jne 0x1002f0b2
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x1002f0b0
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1002f095
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x1002f0ab
cmp ecx, 0x29
je 0x1002f0ab
mov ecx, eax
test bl, 0x10
jne 0x1002f0b0
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x1002f0ab
mov edx, ecx
cmp edi, 0x7d
jne 0x1002f0b0
lea eax, [edx + 2]
jmp 0x1002f0b2
mov eax, ecx
add eax, 2
lea ebx, [esi + 0x24]
mov dword [esi], eax
mov ecx, esi
call fcn.10032cb0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1002f0e1
cmp eax, 0x5d
jne 0x1002f0e1
push eax
mov ecx, ebx
call fcn.1002e580
mov ecx, esi
call fcn.10032870
mov ecx, esi
call fcn.1002fab0
push 4
push 0x5d
mov ecx, esi
call fcn.10031670
jmp 0x1002f28b
cmp eax, 0x28
jne 0x1002f176
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002f14e
cmp word [eax], 0x5c
jne 0x1002f149
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x1002f147
test byte [esi + 0x50], 8
jne 0x1002f12b
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x1002f142
cmp ecx, 0x29
je 0x1002f142
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1002f147
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x1002f142
mov edx, ecx
cmp ebx, 0x7d
jne 0x1002f147
lea eax, [edx + 2]
jmp 0x1002f149
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10032cb0
mov ecx, esi
call fcn.10032e60
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.10031670
test bl, bl
je 0x1002f295
jmp 0x1002f28b
cmp eax, 0x5e
jne 0x1002f18a
push 2
lea ecx, [esi + 0x24]
call fcn.10016d60
jmp 0x1002ef6f
cmp eax, 0x24
jne 0x1002f1ea
push 3
lea ecx, [esi + 0x24]
call fcn.10016d60
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002f1de
cmp word [eax], 0x5c
jne 0x1002f1db
add eax, 2
cmp eax, ecx
je 0x1002f1db
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1002f1c6
movzx edx, word [eax]
cmp edx, 0x28
je 0x1002f1d8
cmp edx, 0x29
je 0x1002f1d8
test cl, 0x10
jne 0x1002f1db
movzx eax, word [eax]
cmp eax, 0x7b
je 0x1002f1d8
cmp eax, 0x7d
jne 0x1002f1db
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.10032cb0
jmp 0x1002f295
cmp eax, 0x2a
je 0x1002f2b1
cmp eax, 0x2b
je 0x1002f2b1
cmp eax, 0x3f
je 0x1002f2b1
cmp eax, 0x7b
je 0x1002f2b1
cmp eax, 0x7d
jne 0x1002f222
test dword [esi + 0x50], 0x10000000
je 0x1002f2c3
jmp 0x1002f234
cmp eax, 0x5d
jne 0x1002f234
test dword [esi + 0x50], 0x10000000
je 0x1002f2cc
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1002e3b0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1002f284
cmp word [eax], 0x5c
jne 0x1002f281
add eax, 2
cmp eax, ecx
je 0x1002f281
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1002f26c
movzx edx, word [eax]
cmp edx, 0x28
je 0x1002f27e
cmp edx, 0x29
je 0x1002f27e
test cl, 0x10
jne 0x1002f281
movzx eax, word [eax]
cmp eax, 0x7b
je 0x1002f27e
cmp eax, 0x7d
jne 0x1002f281
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.10032cb0
mov ecx, esi
call fcn.100328c0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x1002f2a8
cmp eax, 0x7c
jne 0x1002ee03
pop ebx
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.10016290
push 5
mov ecx, esi
call fcn.10016290
push 6
mov ecx, esi
call fcn.10016290
push 4
mov ecx, esi
call fcn.10016290
int3