Function at 0x10010080
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 0x10010489
cmp eax, 0x7c
je 0x10010489
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x29
jne 0x100100c4
cmp dword [esi + 0x10], 0
jne 0x10010487
test dword [esi + 0x50], 0x10000000
je 0x10010499
jmp 0x1001041c
cmp eax, 0x2e
jne 0x10010124
push 5
lea ecx, [esi + 0x24]
call fcn.100126b0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010463
cmp byte [eax], 0x5c
jne 0x1001011c
lea edx, [eax + 1]
cmp edx, ecx
je 0x1001011c
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10010106
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x10010119
cmp byte [ebp - 1], 0x29
je 0x10010119
test bl, 0x10
jne 0x1001011c
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10010119
cmp dl, 0x7d
jne 0x1001011c
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x10010463
cmp eax, 0x5c
jne 0x1001026f
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010175
cmp byte [eax], 0x5c
jne 0x10010172
lea edx, [eax + 1]
cmp edx, ecx
je 0x10010172
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1001015c
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x1001016f
cmp byte [ebp - 1], 0x29
je 0x1001016f
test bl, 0x10
jne 0x10010172
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1001016f
cmp dl, 0x7d
jne 0x10010172
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bd0
test byte [esi + 0x50], 0x80
je 0x10010263
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x100101e9
push 4
lea ecx, [esi + 0x24]
call fcn.100126b0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100101dd
cmp byte [eax], 0x5c
jne 0x100101da
lea edx, [eax + 1]
cmp edx, ecx
je 0x100101da
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100101c4
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x100101d7
cmp bl, 0x29
je 0x100101d7
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100101da
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100101d7
cmp dl, 0x7d
jne 0x100101da
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bd0
jmp 0x10010474
cmp al, 0x42
jne 0x10010263
push 4
lea ecx, [esi + 0x24]
call fcn.100126b0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov edx, dword [edi]
mov eax, dword [esi]
cmp eax, edx
je 0x10010257
cmp byte [eax], 0x5c
jne 0x10010254
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10010252
test byte [esi + 0x50], 8
jne 0x1001022a
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10010240
cmp cl, 0x29
je 0x10010240
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10010252
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10010240
mov edx, ecx
cmp bl, 0x7d
jne 0x10010252
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.10012bd0
jmp 0x10010474
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bd0
jmp 0x10010474
mov ecx, esi
call fcn.100104c0
jmp 0x1001046a
cmp eax, 0x5b
jne 0x10010328
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100102c5
cmp byte [eax], 0x5c
jne 0x100102c2
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x100102c0
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100102a6
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x100102bb
cmp cl, 0x29
je 0x100102bb
mov ecx, eax
test bl, 0x10
jne 0x100102c0
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x100102bb
mov edx, ecx
cmp bl, 0x7d
jne 0x100102c0
lea eax, [edx + 1]
jmp 0x100102c2
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bd0
lea ecx, [esi + 0x24]
call fcn.1000f8e0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x100102ed
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10012720
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1001030b
cmp eax, 0x5d
jne 0x1001030b
push eax
lea ecx, [esi + 0x24]
call fcn.1000f870
mov ecx, esi
call fcn.10012720
mov ecx, esi
call fcn.10010e90
cmp dword [esi + 0x4c], 0x5d
jne 0x100104ab
mov ecx, esi
call fcn.10012720
jmp 0x1001046a
cmp eax, 0x28
jne 0x100103a7
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10010379
cmp byte [eax], 0x5c
jne 0x10010376
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10010374
test byte [esi + 0x50], 8
jne 0x10010359
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x1001036f
cmp cl, 0x29
je 0x1001036f
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10010374
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x1001036f
mov edx, ecx
cmp bl, 0x7d
jne 0x10010374
lea eax, [edx + 1]
jmp 0x10010376
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bd0
mov ecx, esi
call fcn.10012dd0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10010499
mov ecx, esi
call fcn.10012720
test bl, bl
je 0x10010474
jmp 0x1001046a
cmp eax, 0x5e
jne 0x100103bb
push 2
lea ecx, [esi + 0x24]
call fcn.100126b0
jmp 0x100101fe
cmp eax, 0x24
jne 0x100103d2
push 3
lea ecx, [esi + 0x24]
call fcn.100126b0
lea edi, [esi + 8]
jmp 0x100101fe
cmp eax, 0x2a
je 0x10010490
cmp eax, 0x2b
je 0x10010490
cmp eax, 0x3f
je 0x10010490
cmp eax, 0x7b
je 0x10010490
cmp eax, 0x7d
jne 0x1001040a
test dword [esi + 0x50], 0x10000000
je 0x100104a2
jmp 0x1001041c
cmp eax, 0x5d
jne 0x1001041c
test dword [esi + 0x50], 0x10000000
je 0x100104ab
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1000f6c0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10010463
cmp byte [eax], 0x5c
jne 0x10010461
inc eax
cmp eax, ecx
je 0x10010461
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10010450
mov dl, byte [eax]
cmp dl, 0x28
je 0x1001045f
cmp dl, 0x29
je 0x1001045f
test cl, 0x10
jne 0x10010461
mov al, byte [eax]
cmp al, 0x7b
je 0x1001045f
cmp al, 0x7d
jne 0x10010461
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10012bd0
mov ecx, esi
call fcn.10012780
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x10010487
cmp eax, 0x7c
jne 0x100100a3
pop ebx
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.10011bf0
push 5
mov ecx, esi
call fcn.10011bf0
push 6
mov ecx, esi
call fcn.10011bf0
push 4
mov ecx, esi
call fcn.10011bf0
int3