Function at 0x10009840
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 0x10009d0a
cmp eax, 0x7c
je 0x10009d0a
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x29
jne 0x10009884
cmp dword [esi + 0x10], 0
jne 0x10009d08
test dword [esi + 0x50], 0x10000000
je 0x10009d1a
jmp 0x10009c94
cmp eax, 0x2e
jne 0x100098e4
push 5
lea ecx, [esi + 0x24]
call fcn.1000c190
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10009ce4
cmp word [eax], 0x5c
jne 0x100098da
lea edx, [eax + 2]
cmp edx, ecx
je 0x100098da
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100098c3
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x100098d7
cmp edi, 0x29
je 0x100098d7
test bl, 0x10
jne 0x100098da
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x100098d7
cmp edx, 0x7d
jne 0x100098da
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x10009ce4
cmp eax, 0x5c
jne 0x10009a47
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1000993c
cmp word [eax], 0x5c
jne 0x10009937
lea edx, [eax + 2]
cmp edx, ecx
je 0x10009937
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10009920
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, eax
cmp word [ebp - 4], 0x28
je 0x10009934
cmp word [ebp - 4], 0x29
je 0x10009934
test bl, 0x10
jne 0x10009937
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x10009934
cmp edx, 0x7d
jne 0x10009937
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1000c790
test byte [esi + 0x50], 0x80
je 0x10009a3b
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x100099b9
push 4
lea ecx, [esi + 0x24]
call fcn.1000c190
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100099ad
cmp word [eax], 0x5c
jne 0x100099a8
lea edx, [eax + 2]
cmp edx, ecx
je 0x100099a8
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10009991
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x100099a5
cmp ebx, 0x29
je 0x100099a5
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100099a8
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x100099a5
cmp edx, 0x7d
jne 0x100099a8
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1000c790
jmp 0x10009cf5
cmp ecx, 0x42
jne 0x10009a3b
push 4
lea ecx, [esi + 0x24]
call fcn.1000c190
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov edx, dword [edi]
mov eax, dword [esi]
cmp eax, edx
je 0x10009a2f
cmp word [eax], 0x5c
jne 0x10009a2a
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x10009a28
test byte [esi + 0x50], 8
jne 0x100099fd
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x10009a14
cmp ecx, 0x29
je 0x10009a14
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10009a28
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x10009a14
mov edx, ecx
cmp ebx, 0x7d
jne 0x10009a28
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.1000c790
jmp 0x10009cf5
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1000c790
jmp 0x10009cf5
mov ecx, esi
call fcn.10009d40
jmp 0x10009ceb
cmp eax, 0x5b
jne 0x10009b58
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10009aa5
cmp word [eax], 0x5c
jne 0x10009a9d
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x10009a9b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10009a80
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x10009a96
cmp ecx, 0x29
je 0x10009a96
mov ecx, eax
test bl, 0x10
jne 0x10009a9b
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x10009a96
mov edx, ecx
cmp edi, 0x7d
jne 0x10009a9b
lea eax, [edx + 2]
jmp 0x10009a9d
mov eax, ecx
add eax, 2
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.1000c790
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.10009070
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x10009b24
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10009b1a
cmp word [eax], 0x5c
jne 0x10009b12
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x10009b10
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10009af5
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x10009b0b
cmp ecx, 0x29
je 0x10009b0b
mov ecx, eax
test bl, 0x10
jne 0x10009b10
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x10009b0b
mov edx, ecx
cmp edi, 0x7d
jne 0x10009b10
lea eax, [edx + 2]
jmp 0x10009b12
mov eax, ecx
add eax, 2
lea ebx, [esi + 0x24]
mov dword [esi], eax
mov ecx, esi
call fcn.1000c790
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x10009b41
cmp eax, 0x5d
jne 0x10009b41
push eax
mov ecx, ebx
call fcn.10008ff0
mov ecx, esi
call fcn.1000c200
mov ecx, esi
call fcn.1000a7c0
push 4
push 0x5d
mov ecx, esi
call fcn.1000b6c0
jmp 0x10009ceb
cmp eax, 0x28
jne 0x10009bd6
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10009bae
cmp word [eax], 0x5c
jne 0x10009ba9
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x10009ba7
test byte [esi + 0x50], 8
jne 0x10009b8b
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x10009ba2
cmp ecx, 0x29
je 0x10009ba2
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10009ba7
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x10009ba2
mov edx, ecx
cmp ebx, 0x7d
jne 0x10009ba7
lea eax, [edx + 2]
jmp 0x10009ba9
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.1000c790
mov ecx, esi
call fcn.1000c9a0
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.1000b6c0
test bl, bl
je 0x10009cf5
jmp 0x10009ceb
cmp eax, 0x5e
jne 0x10009bea
push 2
lea ecx, [esi + 0x24]
call fcn.1000c190
jmp 0x100099cf
cmp eax, 0x24
jne 0x10009c4a
push 3
lea ecx, [esi + 0x24]
call fcn.1000c190
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10009c3e
cmp word [eax], 0x5c
jne 0x10009c3b
add eax, 2
cmp eax, ecx
je 0x10009c3b
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10009c26
movzx edx, word [eax]
cmp edx, 0x28
je 0x10009c38
cmp edx, 0x29
je 0x10009c38
test cl, 0x10
jne 0x10009c3b
movzx eax, word [eax]
cmp eax, 0x7b
je 0x10009c38
cmp eax, 0x7d
jne 0x10009c3b
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.1000c790
jmp 0x10009cf5
cmp eax, 0x2a
je 0x10009d11
cmp eax, 0x2b
je 0x10009d11
cmp eax, 0x3f
je 0x10009d11
cmp eax, 0x7b
je 0x10009d11
cmp eax, 0x7d
jne 0x10009c82
test dword [esi + 0x50], 0x10000000
je 0x10009d23
jmp 0x10009c94
cmp eax, 0x5d
jne 0x10009c94
test dword [esi + 0x50], 0x10000000
je 0x10009d2c
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10008e20
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10009ce4
cmp word [eax], 0x5c
jne 0x10009ce1
add eax, 2
cmp eax, ecx
je 0x10009ce1
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10009ccc
movzx edx, word [eax]
cmp edx, 0x28
je 0x10009cde
cmp edx, 0x29
je 0x10009cde
test cl, 0x10
jne 0x10009ce1
movzx eax, word [eax]
cmp eax, 0x7b
je 0x10009cde
cmp eax, 0x7d
jne 0x10009ce1
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.1000c790
mov ecx, esi
call fcn.1000c250
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x10009d08
cmp eax, 0x7c
jne 0x10009863
pop ebx
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.1000b6b0
push 5
mov ecx, esi
call fcn.1000b6b0
push 6
mov ecx, esi
call fcn.1000b6b0
push 4
mov ecx, esi
call fcn.1000b6b0
int3