Function at 0x10029900
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 0x10029dca
cmp eax, 0x7c
je 0x10029dca
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x29
jne 0x10029944
cmp dword [esi + 0x10], 0
jne 0x10029dc8
test dword [esi + 0x50], 0x10000000
je 0x10029dda
jmp 0x10029d54
cmp eax, 0x2e
jne 0x100299a4
push 5
lea ecx, [esi + 0x24]
call fcn.10012640
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10029da4
cmp word [eax], 0x5c
jne 0x1002999a
lea edx, [eax + 2]
cmp edx, ecx
je 0x1002999a
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10029983
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x10029997
cmp edi, 0x29
je 0x10029997
test bl, 0x10
jne 0x1002999a
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x10029997
cmp edx, 0x7d
jne 0x1002999a
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x10029da4
cmp eax, 0x5c
jne 0x10029b07
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100299fc
cmp word [eax], 0x5c
jne 0x100299f7
lea edx, [eax + 2]
cmp edx, ecx
je 0x100299f7
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100299e0
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, eax
cmp word [ebp - 4], 0x28
je 0x100299f4
cmp word [ebp - 4], 0x29
je 0x100299f4
test bl, 0x10
jne 0x100299f7
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x100299f4
cmp edx, 0x7d
jne 0x100299f7
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002d790
test byte [esi + 0x50], 0x80
je 0x10029afb
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x10029a79
push 4
lea ecx, [esi + 0x24]
call fcn.10012640
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10029a6d
cmp word [eax], 0x5c
jne 0x10029a68
lea edx, [eax + 2]
cmp edx, ecx
je 0x10029a68
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10029a51
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x10029a65
cmp ebx, 0x29
je 0x10029a65
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x10029a68
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x10029a65
cmp edx, 0x7d
jne 0x10029a68
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002d790
jmp 0x10029db5
cmp ecx, 0x42
jne 0x10029afb
push 4
lea ecx, [esi + 0x24]
call fcn.10012640
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov edx, dword [edi]
mov eax, dword [esi]
cmp eax, edx
je 0x10029aef
cmp word [eax], 0x5c
jne 0x10029aea
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x10029ae8
test byte [esi + 0x50], 8
jne 0x10029abd
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x10029ad4
cmp ecx, 0x29
je 0x10029ad4
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10029ae8
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x10029ad4
mov edx, ecx
cmp ebx, 0x7d
jne 0x10029ae8
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.1002d790
jmp 0x10029db5
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002d790
jmp 0x10029db5
mov ecx, esi
call fcn.10029e00
jmp 0x10029dab
cmp eax, 0x5b
jne 0x10029c18
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10029b65
cmp word [eax], 0x5c
jne 0x10029b5d
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x10029b5b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10029b40
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x10029b56
cmp ecx, 0x29
je 0x10029b56
mov ecx, eax
test bl, 0x10
jne 0x10029b5b
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x10029b56
mov edx, ecx
cmp edi, 0x7d
jne 0x10029b5b
lea eax, [edx + 2]
jmp 0x10029b5d
mov eax, ecx
add eax, 2
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.1002d790
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.10029130
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x10029be4
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10029bda
cmp word [eax], 0x5c
jne 0x10029bd2
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x10029bd0
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10029bb5
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x10029bcb
cmp ecx, 0x29
je 0x10029bcb
mov ecx, eax
test bl, 0x10
jne 0x10029bd0
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x10029bcb
mov edx, ecx
cmp edi, 0x7d
jne 0x10029bd0
lea eax, [edx + 2]
jmp 0x10029bd2
mov eax, ecx
add eax, 2
lea ebx, [esi + 0x24]
mov dword [esi], eax
mov ecx, esi
call fcn.1002d790
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x10029c01
cmp eax, 0x5d
jne 0x10029c01
push eax
mov ecx, ebx
call fcn.100290b0
mov ecx, esi
call fcn.1002d350
mov ecx, esi
call fcn.1002a5d0
push 4
push 0x5d
mov ecx, esi
call fcn.1002c150
jmp 0x10029dab
cmp eax, 0x28
jne 0x10029c96
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10029c6e
cmp word [eax], 0x5c
jne 0x10029c69
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x10029c67
test byte [esi + 0x50], 8
jne 0x10029c4b
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x10029c62
cmp ecx, 0x29
je 0x10029c62
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10029c67
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x10029c62
mov edx, ecx
cmp ebx, 0x7d
jne 0x10029c67
lea eax, [edx + 2]
jmp 0x10029c69
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1002d790
mov ecx, esi
call fcn.1002d940
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.1002c150
test bl, bl
je 0x10029db5
jmp 0x10029dab
cmp eax, 0x5e
jne 0x10029caa
push 2
lea ecx, [esi + 0x24]
call fcn.10012640
jmp 0x10029a8f
cmp eax, 0x24
jne 0x10029d0a
push 3
lea ecx, [esi + 0x24]
call fcn.10012640
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10029cfe
cmp word [eax], 0x5c
jne 0x10029cfb
add eax, 2
cmp eax, ecx
je 0x10029cfb
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10029ce6
movzx edx, word [eax]
cmp edx, 0x28
je 0x10029cf8
cmp edx, 0x29
je 0x10029cf8
test cl, 0x10
jne 0x10029cfb
movzx eax, word [eax]
cmp eax, 0x7b
je 0x10029cf8
cmp eax, 0x7d
jne 0x10029cfb
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.1002d790
jmp 0x10029db5
cmp eax, 0x2a
je 0x10029dd1
cmp eax, 0x2b
je 0x10029dd1
cmp eax, 0x3f
je 0x10029dd1
cmp eax, 0x7b
je 0x10029dd1
cmp eax, 0x7d
jne 0x10029d42
test dword [esi + 0x50], 0x10000000
je 0x10029de3
jmp 0x10029d54
cmp eax, 0x5d
jne 0x10029d54
test dword [esi + 0x50], 0x10000000
je 0x10029dec
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10028ee0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10029da4
cmp word [eax], 0x5c
jne 0x10029da1
add eax, 2
cmp eax, ecx
je 0x10029da1
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10029d8c
movzx edx, word [eax]
cmp edx, 0x28
je 0x10029d9e
cmp edx, 0x29
je 0x10029d9e
test cl, 0x10
jne 0x10029da1
movzx eax, word [eax]
cmp eax, 0x7b
je 0x10029d9e
cmp eax, 0x7d
jne 0x10029da1
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.1002d790
mov ecx, esi
call fcn.1002d3a0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x10029dc8
cmp eax, 0x7c
jne 0x10029923
pop ebx
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.10011b80
push 5
mov ecx, esi
call fcn.10011b80
push 6
mov ecx, esi
call fcn.10011b80
push 4
mov ecx, esi
call fcn.10011b80
int3