Function at 0x10029e50
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 0x1002a31a
cmp eax, 0x7c
je 0x1002a31a
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x29
jne 0x10029e94
cmp dword [esi + 0x10], 0
jne 0x1002a318
test dword [esi + 0x50], 0x10000000
je 0x1002a32a
jmp 0x1002a2a4
cmp eax, 0x2e
jne 0x10029ef4
push 5
lea ecx, [esi + 0x24]
call fcn.100127c0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002a2f4
cmp word [eax], 0x5c
jne 0x10029eea
lea edx, [eax + 2]
cmp edx, ecx
je 0x10029eea
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10029ed3
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x10029ee7
cmp edi, 0x29
je 0x10029ee7
test bl, 0x10
jne 0x10029eea
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x10029ee7
cmp edx, 0x7d
jne 0x10029eea
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x1002a2f4
cmp eax, 0x5c
jne 0x1002a057
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10029f4c
cmp word [eax], 0x5c
jne 0x10029f47
lea edx, [eax + 2]
cmp edx, ecx
je 0x10029f47
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10029f30
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, eax
cmp word [ebp - 4], 0x28
je 0x10029f44
cmp word [ebp - 4], 0x29
je 0x10029f44
test bl, 0x10
jne 0x10029f47
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x10029f44
cmp edx, 0x7d
jne 0x10029f47
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002dd20
test byte [esi + 0x50], 0x80
je 0x1002a04b
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x10029fc9
push 4
lea ecx, [esi + 0x24]
call fcn.100127c0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10029fbd
cmp word [eax], 0x5c
jne 0x10029fb8
lea edx, [eax + 2]
cmp edx, ecx
je 0x10029fb8
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10029fa1
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x10029fb5
cmp ebx, 0x29
je 0x10029fb5
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x10029fb8
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x10029fb5
cmp edx, 0x7d
jne 0x10029fb8
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002dd20
jmp 0x1002a305
cmp ecx, 0x42
jne 0x1002a04b
push 4
lea ecx, [esi + 0x24]
call fcn.100127c0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov edx, dword [edi]
mov eax, dword [esi]
cmp eax, edx
je 0x1002a03f
cmp word [eax], 0x5c
jne 0x1002a03a
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x1002a038
test byte [esi + 0x50], 8
jne 0x1002a00d
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x1002a024
cmp ecx, 0x29
je 0x1002a024
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1002a038
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x1002a024
mov edx, ecx
cmp ebx, 0x7d
jne 0x1002a038
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.1002dd20
jmp 0x1002a305
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002dd20
jmp 0x1002a305
mov ecx, esi
call fcn.1002a350
jmp 0x1002a2fb
cmp eax, 0x5b
jne 0x1002a168
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002a0b5
cmp word [eax], 0x5c
jne 0x1002a0ad
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x1002a0ab
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1002a090
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x1002a0a6
cmp ecx, 0x29
je 0x1002a0a6
mov ecx, eax
test bl, 0x10
jne 0x1002a0ab
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x1002a0a6
mov edx, ecx
cmp edi, 0x7d
jne 0x1002a0ab
lea eax, [edx + 2]
jmp 0x1002a0ad
mov eax, ecx
add eax, 2
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.1002dd20
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.10029680
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x1002a134
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002a12a
cmp word [eax], 0x5c
jne 0x1002a122
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x1002a120
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1002a105
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x1002a11b
cmp ecx, 0x29
je 0x1002a11b
mov ecx, eax
test bl, 0x10
jne 0x1002a120
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x1002a11b
mov edx, ecx
cmp edi, 0x7d
jne 0x1002a120
lea eax, [edx + 2]
jmp 0x1002a122
mov eax, ecx
add eax, 2
lea ebx, [esi + 0x24]
mov dword [esi], eax
mov ecx, esi
call fcn.1002dd20
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1002a151
cmp eax, 0x5d
jne 0x1002a151
push eax
mov ecx, ebx
call fcn.10029600
mov ecx, esi
call fcn.1002d8e0
mov ecx, esi
call fcn.1002ab20
push 4
push 0x5d
mov ecx, esi
call fcn.1002c6e0
jmp 0x1002a2fb
cmp eax, 0x28
jne 0x1002a1e6
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1002a1be
cmp word [eax], 0x5c
jne 0x1002a1b9
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x1002a1b7
test byte [esi + 0x50], 8
jne 0x1002a19b
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x1002a1b2
cmp ecx, 0x29
je 0x1002a1b2
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1002a1b7
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x1002a1b2
mov edx, ecx
cmp ebx, 0x7d
jne 0x1002a1b7
lea eax, [edx + 2]
jmp 0x1002a1b9
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002dd20
mov ecx, esi
call fcn.1002ded0
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.1002c6e0
test bl, bl
je 0x1002a305
jmp 0x1002a2fb
cmp eax, 0x5e
jne 0x1002a1fa
push 2
lea ecx, [esi + 0x24]
call fcn.100127c0
jmp 0x10029fdf
cmp eax, 0x24
jne 0x1002a25a
push 3
lea ecx, [esi + 0x24]
call fcn.100127c0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1002a24e
cmp word [eax], 0x5c
jne 0x1002a24b
add eax, 2
cmp eax, ecx
je 0x1002a24b
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1002a236
movzx edx, word [eax]
cmp edx, 0x28
je 0x1002a248
cmp edx, 0x29
je 0x1002a248
test cl, 0x10
jne 0x1002a24b
movzx eax, word [eax]
cmp eax, 0x7b
je 0x1002a248
cmp eax, 0x7d
jne 0x1002a24b
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.1002dd20
jmp 0x1002a305
cmp eax, 0x2a
je 0x1002a321
cmp eax, 0x2b
je 0x1002a321
cmp eax, 0x3f
je 0x1002a321
cmp eax, 0x7b
je 0x1002a321
cmp eax, 0x7d
jne 0x1002a292
test dword [esi + 0x50], 0x10000000
je 0x1002a333
jmp 0x1002a2a4
cmp eax, 0x5d
jne 0x1002a2a4
test dword [esi + 0x50], 0x10000000
je 0x1002a33c
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10029430
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1002a2f4
cmp word [eax], 0x5c
jne 0x1002a2f1
add eax, 2
cmp eax, ecx
je 0x1002a2f1
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1002a2dc
movzx edx, word [eax]
cmp edx, 0x28
je 0x1002a2ee
cmp edx, 0x29
je 0x1002a2ee
test cl, 0x10
jne 0x1002a2f1
movzx eax, word [eax]
cmp eax, 0x7b
je 0x1002a2ee
cmp eax, 0x7d
jne 0x1002a2f1
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.1002dd20
mov ecx, esi
call fcn.1002d930
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x1002a318
cmp eax, 0x7c
jne 0x10029e73
pop ebx
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.10011d00
push 5
mov ecx, esi
call fcn.10011d00
push 6
mov ecx, esi
call fcn.10011d00
push 4
mov ecx, esi
call fcn.10011d00
int3