Function at 0x10010010
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 0x10010419
cmp eax, 0x7c
je 0x10010419
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x29
jne 0x10010054
cmp dword [esi + 0x10], 0
jne 0x10010417
test dword [esi + 0x50], 0x10000000
je 0x10010429
jmp 0x100103ac
cmp eax, 0x2e
jne 0x100100b4
push 5
lea ecx, [esi + 0x24]
call fcn.10012640
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100103f3
cmp byte [eax], 0x5c
jne 0x100100ac
lea edx, [eax + 1]
cmp edx, ecx
je 0x100100ac
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10010096
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x100100a9
cmp byte [ebp - 1], 0x29
je 0x100100a9
test bl, 0x10
jne 0x100100ac
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100100a9
cmp dl, 0x7d
jne 0x100100ac
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x100103f3
cmp eax, 0x5c
jne 0x100101ff
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010105
cmp byte [eax], 0x5c
jne 0x10010102
lea edx, [eax + 1]
cmp edx, ecx
je 0x10010102
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100100ec
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x100100ff
cmp byte [ebp - 1], 0x29
je 0x100100ff
test bl, 0x10
jne 0x10010102
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100100ff
cmp dl, 0x7d
jne 0x10010102
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012b60
test byte [esi + 0x50], 0x80
je 0x100101f3
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10010179
push 4
lea ecx, [esi + 0x24]
call fcn.10012640
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1001016d
cmp byte [eax], 0x5c
jne 0x1001016a
lea edx, [eax + 1]
cmp edx, ecx
je 0x1001016a
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10010154
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x10010167
cmp bl, 0x29
je 0x10010167
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1001016a
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10010167
cmp dl, 0x7d
jne 0x1001016a
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012b60
jmp 0x10010404
cmp al, 0x42
jne 0x100101f3
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 0x100101e7
cmp byte [eax], 0x5c
jne 0x100101e4
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x100101e2
test byte [esi + 0x50], 8
jne 0x100101ba
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x100101d0
cmp cl, 0x29
je 0x100101d0
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x100101e2
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x100101d0
mov edx, ecx
cmp bl, 0x7d
jne 0x100101e2
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.10012b60
jmp 0x10010404
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012b60
jmp 0x10010404
mov ecx, esi
call fcn.10010450
jmp 0x100103fa
cmp eax, 0x5b
jne 0x100102b8
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10010255
cmp byte [eax], 0x5c
jne 0x10010252
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10010250
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10010236
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x1001024b
cmp cl, 0x29
je 0x1001024b
mov ecx, eax
test bl, 0x10
jne 0x10010250
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x1001024b
mov edx, ecx
cmp bl, 0x7d
jne 0x10010250
lea eax, [edx + 1]
jmp 0x10010252
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012b60
lea ecx, [esi + 0x24]
call fcn.1000f870
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x1001027d
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.100126b0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1001029b
cmp eax, 0x5d
jne 0x1001029b
push eax
lea ecx, [esi + 0x24]
call fcn.1000f800
mov ecx, esi
call fcn.100126b0
mov ecx, esi
call fcn.10010e20
cmp dword [esi + 0x4c], 0x5d
jne 0x1001043b
mov ecx, esi
call fcn.100126b0
jmp 0x100103fa
cmp eax, 0x28
jne 0x10010337
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10010309
cmp byte [eax], 0x5c
jne 0x10010306
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10010304
test byte [esi + 0x50], 8
jne 0x100102e9
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x100102ff
cmp cl, 0x29
je 0x100102ff
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10010304
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x100102ff
mov edx, ecx
cmp bl, 0x7d
jne 0x10010304
lea eax, [edx + 1]
jmp 0x10010306
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012b60
mov ecx, esi
call fcn.10012d60
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10010429
mov ecx, esi
call fcn.100126b0
test bl, bl
je 0x10010404
jmp 0x100103fa
cmp eax, 0x5e
jne 0x1001034b
push 2
lea ecx, [esi + 0x24]
call fcn.10012640
jmp 0x1001018e
cmp eax, 0x24
jne 0x10010362
push 3
lea ecx, [esi + 0x24]
call fcn.10012640
lea edi, [esi + 8]
jmp 0x1001018e
cmp eax, 0x2a
je 0x10010420
cmp eax, 0x2b
je 0x10010420
cmp eax, 0x3f
je 0x10010420
cmp eax, 0x7b
je 0x10010420
cmp eax, 0x7d
jne 0x1001039a
test dword [esi + 0x50], 0x10000000
je 0x10010432
jmp 0x100103ac
cmp eax, 0x5d
jne 0x100103ac
test dword [esi + 0x50], 0x10000000
je 0x1001043b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1000f650
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x100103f3
cmp byte [eax], 0x5c
jne 0x100103f1
inc eax
cmp eax, ecx
je 0x100103f1
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100103e0
mov dl, byte [eax]
cmp dl, 0x28
je 0x100103ef
cmp dl, 0x29
je 0x100103ef
test cl, 0x10
jne 0x100103f1
mov al, byte [eax]
cmp al, 0x7b
je 0x100103ef
cmp al, 0x7d
jne 0x100103f1
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10012b60
mov ecx, esi
call fcn.10012710
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x10010417
cmp eax, 0x7c
jne 0x10010033
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