Function at 0x100188a9
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 0x10018890
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x100188a2.34
movzx edx, byte [eax + 0x10018b60]
jmp dword [edx*4 + 0x10018b58]
inc esi
jmp 0x10018890
cmp esi, ecx
je 0x100188df
mov eax, esi
jbe 0x100188bd
cmp byte [esi - 1], 0x2f
jne 0x100188bd
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.10029cf0
add esp, 0x18
cmp eax, ebx
je 0x100188e4
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 0x10018af7
mov al, byte [esi + 1]
inc esi
mov ecx, esi
cmp al, bl
je 0x10018aea
jmp 0x10018900
cmp al, 0x3d
je 0x10018919
mov al, byte [esi + 1]
inc esi
cmp al, bl
jne 0x10018900
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp byte [esi], bl
je 0x10018aea
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
mov edx, esi
sub edx, ecx
push edx
push ecx
push edi
call fcn.10029cf0
add esp, 0x18
cmp eax, ebx
jne 0x10018b50
inc esi
mov ecx, esi
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x10018955.34
movzx eax, byte [eax + 0x10018bc8]
jmp dword [eax*4 + 0x10018bc0]
inc esi
jmp 0x10018943
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.10029cf0
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp edi, ebx
jne 0x10018aaa
push str.UIDVALIDITY
push eax
call fcn.10029540
add esp, 8
test eax, eax
je 0x100189c2
cmp dword [ebp + 8], ebx
jne 0x100189c2
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x100189b6
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x100189b6
mov byte [ecx + eax - 1], bl
mov ecx, dword [esp + 0x10]
mov dword [ebp + 8], ecx
jmp 0x10018a71
mov edx, dword [esp + 0x14]
push 0x10066c88
push edx
call fcn.10029540
add esp, 8
test eax, eax
je 0x100189fd
cmp dword [ebp + 0xc], ebx
jne 0x100189fd
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x100189f4
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x100189f4
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x10]
mov dword [ebp + 0xc], eax
jmp 0x10018a71
mov ecx, dword [esp + 0x14]
push str.SECTION
push ecx
call fcn.10029540
add esp, 8
test eax, eax
je 0x10018a38
cmp dword [ebp + 0x10], ebx
jne 0x10018a38
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x10018a2f
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x10018a2f
mov byte [ecx + eax - 1], bl
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x10], edx
jmp 0x10018a71
mov eax, dword [esp + 0x14]
push str.PARTIAL
push eax
call fcn.10029540
add esp, 8
test eax, eax
je 0x10018ac2
cmp dword [ebp + 0x14], ebx
jne 0x10018ac2
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x10018a6a
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x10018a6a
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 0x10018aa1
push eax
call dword [0x10072be4]
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x10018aa1
push eax
call dword [0x10072be4]
add esp, 4
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x1c]
jmp 0x100188e4
cmp eax, ebx
je 0x10018ab8
push eax
call dword [0x10072be4]
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 0x10018ad8
push eax
call dword [0x10072be4]
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10018aea
push eax
call dword [0x10072be4]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 4], ebx
je 0x10018b46
cmp dword [ebp + 0xc], ebx
jne 0x10018b46
cmp byte [esi], 0x3f
jne 0x10018b46
inc esi
mov ecx, esi
lea esp, [esp]
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x10018b22.34
movzx edx, byte [eax + 0x10018c30]
jmp dword [edx*4 + 0x10018c28]
inc esi
jmp 0x10018b10
push 1
push ebx
add ebp, 0x18
push ebp
mov eax, esi
sub eax, ecx
push eax
push ecx
push edi
call fcn.10029cf0
add esp, 0x18
cmp eax, ebx
jne 0x10018b50
movsx eax, byte [esi]
neg eax
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret