Function at 0x100105a0
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 0x100109a9
cmp eax, 0x7c
je 0x100109a9
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x29
jne 0x100105e4
cmp dword [esi + 0x10], 0
jne 0x100109a7
test dword [esi + 0x50], 0x10000000
je 0x100109b9
jmp 0x1001093c
cmp eax, 0x2e
jne 0x10010644
push 5
lea ecx, [esi + 0x24]
call fcn.10012be0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010983
cmp byte [eax], 0x5c
jne 0x1001063c
lea edx, [eax + 1]
cmp edx, ecx
je 0x1001063c
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10010626
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x10010639
cmp byte [ebp - 1], 0x29
je 0x10010639
test bl, 0x10
jne 0x1001063c
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10010639
cmp dl, 0x7d
jne 0x1001063c
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x10010983
cmp eax, 0x5c
jne 0x1001078f
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010695
cmp byte [eax], 0x5c
jne 0x10010692
lea edx, [eax + 1]
cmp edx, ecx
je 0x10010692
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1001067c
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x1001068f
cmp byte [ebp - 1], 0x29
je 0x1001068f
test bl, 0x10
jne 0x10010692
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1001068f
cmp dl, 0x7d
jne 0x10010692
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013100
test byte [esi + 0x50], 0x80
je 0x10010783
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10010709
push 4
lea ecx, [esi + 0x24]
call fcn.10012be0
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100106fd
cmp byte [eax], 0x5c
jne 0x100106fa
lea edx, [eax + 1]
cmp edx, ecx
je 0x100106fa
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100106e4
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x100106f7
cmp bl, 0x29
je 0x100106f7
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100106fa
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100106f7
cmp dl, 0x7d
jne 0x100106fa
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013100
jmp 0x10010994
cmp al, 0x42
jne 0x10010783
push 4
lea ecx, [esi + 0x24]
call fcn.10012be0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov edx, dword [edi]
mov eax, dword [esi]
cmp eax, edx
je 0x10010777
cmp byte [eax], 0x5c
jne 0x10010774
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10010772
test byte [esi + 0x50], 8
jne 0x1001074a
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10010760
cmp cl, 0x29
je 0x10010760
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10010772
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10010760
mov edx, ecx
cmp bl, 0x7d
jne 0x10010772
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.10013100
jmp 0x10010994
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013100
jmp 0x10010994
mov ecx, esi
call fcn.100109e0
jmp 0x1001098a
cmp eax, 0x5b
jne 0x10010848
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100107e5
cmp byte [eax], 0x5c
jne 0x100107e2
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x100107e0
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100107c6
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x100107db
cmp cl, 0x29
je 0x100107db
mov ecx, eax
test bl, 0x10
jne 0x100107e0
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x100107db
mov edx, ecx
cmp bl, 0x7d
jne 0x100107e0
lea eax, [edx + 1]
jmp 0x100107e2
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013100
lea ecx, [esi + 0x24]
call fcn.1000fdf0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x1001080d
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10012c50
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1001082b
cmp eax, 0x5d
jne 0x1001082b
push eax
lea ecx, [esi + 0x24]
call fcn.1000fd80
mov ecx, esi
call fcn.10012c50
mov ecx, esi
call fcn.100113b0
cmp dword [esi + 0x4c], 0x5d
jne 0x100109cb
mov ecx, esi
call fcn.10012c50
jmp 0x1001098a
cmp eax, 0x28
jne 0x100108c7
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10010899
cmp byte [eax], 0x5c
jne 0x10010896
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10010894
test byte [esi + 0x50], 8
jne 0x10010879
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x1001088f
cmp cl, 0x29
je 0x1001088f
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10010894
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x1001088f
mov edx, ecx
cmp bl, 0x7d
jne 0x10010894
lea eax, [edx + 1]
jmp 0x10010896
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10013100
mov ecx, esi
call fcn.10013300
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x100109b9
mov ecx, esi
call fcn.10012c50
test bl, bl
je 0x10010994
jmp 0x1001098a
cmp eax, 0x5e
jne 0x100108db
push 2
lea ecx, [esi + 0x24]
call fcn.10012be0
jmp 0x1001071e
cmp eax, 0x24
jne 0x100108f2
push 3
lea ecx, [esi + 0x24]
call fcn.10012be0
lea edi, [esi + 8]
jmp 0x1001071e
cmp eax, 0x2a
je 0x100109b0
cmp eax, 0x2b
je 0x100109b0
cmp eax, 0x3f
je 0x100109b0
cmp eax, 0x7b
je 0x100109b0
cmp eax, 0x7d
jne 0x1001092a
test dword [esi + 0x50], 0x10000000
je 0x100109c2
jmp 0x1001093c
cmp eax, 0x5d
jne 0x1001093c
test dword [esi + 0x50], 0x10000000
je 0x100109cb
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1000fbd0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10010983
cmp byte [eax], 0x5c
jne 0x10010981
inc eax
cmp eax, ecx
je 0x10010981
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10010970
mov dl, byte [eax]
cmp dl, 0x28
je 0x1001097f
cmp dl, 0x29
je 0x1001097f
test cl, 0x10
jne 0x10010981
mov al, byte [eax]
cmp al, 0x7b
je 0x1001097f
cmp al, 0x7d
jne 0x10010981
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10013100
mov ecx, esi
call fcn.10012cb0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x100109a7
cmp eax, 0x7c
jne 0x100105c3
pop ebx
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.10012110
push 5
mov ecx, esi
call fcn.10012110
push 6
mov ecx, esi
call fcn.10012110
push 4
mov ecx, esi
call fcn.10012110
int3