Function at 0x1000ffb0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1001044e
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x7c
je 0x1001044c
cmp eax, 0x29
jne 0x1000fff0
cmp dword [esi + 0x10], 0
jne 0x1001044c
test dword [esi + 0x50], 0x10000000
je 0x1001045b
jmp 0x100103e6
cmp eax, 0x2e
jne 0x1001005a
push 5
lea ecx, [esi + 0x24]
call fcn.10012690
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1001042d
cmp byte [eax], 0x5c
jne 0x10010052
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10010050
test byte [esi + 0x50], 8
jne 0x1001002f
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10010045
cmp cl, 0x29
je 0x10010045
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10010050
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10010045
mov edx, ecx
cmp bl, 0x7d
jne 0x10010050
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x1001042d
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x1001042d
cmp eax, 0x5c
jne 0x100101a9
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100100af
cmp byte [eax], 0x5c
jne 0x100100ac
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x100100aa
test byte [esi + 0x50], 8
jne 0x1001008f
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x100100a5
cmp cl, 0x29
je 0x100100a5
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x100100aa
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x100100a5
mov edx, ecx
cmp bl, 0x7d
jne 0x100100aa
lea eax, [edx + 1]
jmp 0x100100ac
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bb0
test byte [esi + 0x50], 0x80
je 0x1001019d
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10010136
push 4
lea ecx, [esi + 0x24]
call fcn.10012690
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1001012a
cmp byte [eax], 0x5c
jne 0x10010127
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10010125
test byte [esi + 0x50], 8
jne 0x100100fd
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10010113
cmp cl, 0x29
je 0x10010113
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10010125
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10010113
mov edx, ecx
cmp bl, 0x7d
jne 0x10010125
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.10012bb0
jmp 0x1001043e
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bb0
jmp 0x1001043e
cmp al, 0x42
jne 0x1001019d
push 4
lea ecx, [esi + 0x24]
call fcn.10012690
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010191
cmp byte [eax], 0x5c
jne 0x1001018e
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x1001018e
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10010178
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x1001018b
cmp dl, 0x29
je 0x1001018b
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1001018e
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x1001018b
cmp dl, 0x7d
jne 0x1001018e
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bb0
jmp 0x1001043e
mov ecx, esi
call fcn.10010480
jmp 0x10010434
cmp eax, 0x5b
jne 0x1001025b
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100101f8
cmp byte [eax], 0x5c
jne 0x100101f5
lea edx, [eax + 1]
cmp edx, ecx
je 0x100101f5
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x100101df
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x100101f2
cmp bl, 0x29
je 0x100101f2
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100101f5
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100101f2
cmp dl, 0x7d
jne 0x100101f5
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bb0
lea ecx, [esi + 0x24]
call fcn.1000f810
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x10010220
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10012700
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1001023e
cmp eax, 0x5d
jne 0x1001023e
push eax
lea ecx, [esi + 0x24]
call fcn.1000f7a0
mov ecx, esi
call fcn.10012700
mov ecx, esi
call fcn.10010e80
cmp dword [esi + 0x4c], 0x5d
jne 0x1001046d
mov ecx, esi
call fcn.10012700
jmp 0x10010434
cmp eax, 0x28
jne 0x100102d4
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100102a6
cmp byte [eax], 0x5c
jne 0x100102a3
lea edx, [eax + 1]
cmp edx, ecx
je 0x100102a3
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1001028d
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x100102a0
cmp bl, 0x29
je 0x100102a0
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100102a3
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100102a0
cmp dl, 0x7d
jne 0x100102a3
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bb0
mov ecx, esi
call fcn.10012db0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1001045b
mov ecx, esi
call fcn.10012700
test bl, bl
je 0x1001043e
jmp 0x10010434
cmp eax, 0x5e
jne 0x10010338
push 2
lea ecx, [esi + 0x24]
call fcn.10012690
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1001032c
cmp byte [eax], 0x5c
jne 0x10010329
lea edx, [eax + 1]
cmp edx, ecx
je 0x10010329
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10010313
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x10010326
cmp bl, 0x29
je 0x10010326
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x10010329
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10010326
cmp dl, 0x7d
jne 0x10010329
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bb0
jmp 0x1001043e
cmp eax, 0x24
jne 0x1001039c
push 3
lea ecx, [esi + 0x24]
call fcn.10012690
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10010390
cmp byte [eax], 0x5c
jne 0x1001038d
lea edx, [eax + 1]
cmp edx, ecx
je 0x1001038d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10010377
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x1001038a
cmp bl, 0x29
je 0x1001038a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1001038d
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1001038a
cmp dl, 0x7d
jne 0x1001038d
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10012bb0
jmp 0x1001043e
cmp eax, 0x2a
je 0x10010452
cmp eax, 0x2b
je 0x10010452
cmp eax, 0x3f
je 0x10010452
cmp eax, 0x7b
je 0x10010452
cmp eax, 0x7d
jne 0x100103d4
test dword [esi + 0x50], 0x10000000
je 0x10010464
jmp 0x100103e6
cmp eax, 0x5d
jne 0x100103e6
test dword [esi + 0x50], 0x10000000
je 0x1001046d
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1000f5f0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1001042d
cmp byte [eax], 0x5c
jne 0x1001042b
inc eax
cmp eax, ecx
je 0x1001042b
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1001041a
mov dl, byte [eax]
cmp dl, 0x28
je 0x10010429
cmp dl, 0x29
je 0x10010429
test cl, 0x10
jne 0x1001042b
mov al, byte [eax]
cmp al, 0x7b
je 0x10010429
cmp al, 0x7d
jne 0x1001042b
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10012bb0
mov ecx, esi
call fcn.10012760
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x1000ffc6
pop ebx
pop edi
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.10011bc0
push 5
mov ecx, esi
call fcn.10011bc0
push 6
mov ecx, esi
call fcn.10011bc0
push 4
mov ecx, esi
call fcn.10011bc0
int3