Function at 0x1001a940
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [eax]
mov ecx, dword [edi + 0x86c8]
mov ebp, dword [edi + 0x128]
mov dword [esp + 0x1c], edi
mov esi, ecx
jmp 0x1001a960
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x1001a972.34
movzx edx, byte [eax + 0x1001ac30]
jmp dword [edx*4 + 0x1001ac28]
inc esi
jmp 0x1001a960
cmp esi, ecx
je 0x1001a9af
mov eax, esi
jbe 0x1001a98d
cmp byte [esi - 1], 0x2f
jne 0x1001a98d
lea eax, [esi - 1]
push 1
xor ebx, ebx
push ebx
lea edx, [ebp + 4]
push edx
sub eax, ecx
push eax
push ecx
push edi
call fcn.1002bd80
add esp, 0x18
cmp eax, ebx
je 0x1001a9b4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor ebx, ebx
mov dword [ebp + 4], ebx
cmp byte [esi], 0x3b
jne 0x1001abc7
mov al, byte [esi + 1]
inc esi
mov ecx, esi
cmp al, bl
je 0x1001abba
jmp 0x1001a9d0
cmp al, 0x3d
je 0x1001a9e9
mov al, byte [esi + 1]
inc esi
cmp al, bl
jne 0x1001a9d0
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp byte [esi], bl
je 0x1001abba
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
mov edx, esi
sub edx, ecx
push edx
push ecx
push edi
call fcn.1002bd80
add esp, 0x18
cmp eax, ebx
jne 0x1001ac20
inc esi
mov ecx, esi
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x1001aa25.34
movzx eax, byte [eax + 0x1001ac98]
jmp dword [eax*4 + 0x1001ac90]
inc esi
jmp 0x1001aa13
push 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
mov edx, esi
sub edx, ecx
push edx
push ecx
push edi
call fcn.1002bd80
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp edi, ebx
jne 0x1001ab7a
push str.UIDVALIDITY
push eax
call fcn.1002b5d0
add esp, 8
test eax, eax
je 0x1001aa92
cmp dword [ebp + 8], ebx
jne 0x1001aa92
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x1001aa86
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x1001aa86
mov byte [ecx + eax - 1], bl
mov ecx, dword [esp + 0x10]
mov dword [ebp + 8], ecx
jmp 0x1001ab41
mov edx, dword [esp + 0x14]
push 0x1006ac10
push edx
call fcn.1002b5d0
add esp, 8
test eax, eax
je 0x1001aacd
cmp dword [ebp + 0xc], ebx
jne 0x1001aacd
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x1001aac4
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x1001aac4
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x10]
mov dword [ebp + 0xc], eax
jmp 0x1001ab41
mov ecx, dword [esp + 0x14]
push str.SECTION
push ecx
call fcn.1002b5d0
add esp, 8
test eax, eax
je 0x1001ab08
cmp dword [ebp + 0x10], ebx
jne 0x1001ab08
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x1001aaff
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x1001aaff
mov byte [ecx + eax - 1], bl
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x10], edx
jmp 0x1001ab41
mov eax, dword [esp + 0x14]
push str.PARTIAL
push eax
call fcn.1002b5d0
add esp, 8
test eax, eax
je 0x1001ab92
cmp dword [ebp + 0x14], ebx
jne 0x1001ab92
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x1001ab3a
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x1001ab3a
mov byte [ecx + eax - 1], bl
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x1001ab71
push eax
call dword [0x10074008]
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x1001ab71
push eax
call dword [0x10074008]
add esp, 4
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x1c]
jmp 0x1001a9b4
cmp eax, ebx
je 0x1001ab88
push eax
call dword [0x10074008]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1001aba8
push eax
call dword [0x10074008]
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1001abba
push eax
call dword [0x10074008]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 4], ebx
je 0x1001ac16
cmp dword [ebp + 0xc], ebx
jne 0x1001ac16
cmp byte [esi], 0x3f
jne 0x1001ac16
inc esi
mov ecx, esi
lea esp, [esp]
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x1001abf2.34
movzx edx, byte [eax + 0x1001ad00]
jmp dword [edx*4 + 0x1001acf8]
inc esi
jmp 0x1001abe0
push 1
push ebx
add ebp, 0x18
push ebp
mov eax, esi
sub eax, ecx
push eax
push ecx
push edi
call fcn.1002bd80
add esp, 0x18
cmp eax, ebx
jne 0x1001ac20
movsx eax, byte [esi]
neg eax
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret