Function at 0x101057d0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov eax, dword [eax]
push edi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x4908]
mov ebp, dword [eax + 0x140]
mov esi, edi
mov cl, byte [edi]
push ecx
call fcn.10105ab0
add esp, 4
test eax, eax
je 0x1010584a
mov dl, byte [esi + 1]
inc esi
push edx
call fcn.10105ab0
add esp, 4
test eax, eax
jne 0x101057fe
cmp esi, edi
je 0x1010584a
mov eax, esi
jbe 0x10105824
mov dl, byte [esi - 1]
lea ecx, [esi - 1]
cmp dl, 0x2f
jne 0x10105824
mov eax, ecx
xor ebx, ebx
lea ecx, [ebp + 4]
push 1
push ebx
sub eax, edi
push ecx
push eax
mov eax, dword [esp + 0x28]
push edi
push eax
call fcn.10118500
add esp, 0x18
cmp eax, ebx
je 0x1010584f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor ebx, ebx
mov dword [ebp + 4], ebx
cmp byte [esi], 0x3b
jne 0x10105a02
mov al, byte [esi + 1]
inc esi
cmp al, bl
mov ecx, esi
je 0x1010586e
cmp al, 0x3d
je 0x1010586e
mov al, byte [esi + 1]
inc esi
cmp al, bl
jne 0x10105862
cmp byte [esi], bl
je 0x10105a95
mov eax, esi
push 1
lea edx, [esp + 0x14]
push ebx
sub eax, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.10118500
add esp, 0x18
cmp eax, ebx
jne 0x10105a5c
mov dl, byte [esi + 1]
inc esi
push edx
mov edi, esi
call fcn.10105ab0
add esp, 4
test eax, eax
je 0x101058bd
mov al, byte [esi + 1]
inc esi
push eax
call fcn.10105ab0
add esp, 4
test eax, eax
jne 0x101058ac
lea ecx, [esp + 0x14]
mov eax, esi
push 1
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
sub eax, edi
push edx
push eax
push edi
push ecx
call fcn.10118500
mov edi, eax
add esp, 0x18
cmp edi, ebx
jne 0x10105a64
mov edx, dword [esp + 0x10]
push str.UIDVALIDITY
push edx
call fcn.100f9820
add esp, 8
test eax, eax
je 0x10105924
cmp dword [ebp + 8], ebx
jne 0x10105924
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x10105918
mov ecx, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 0x2f
jne 0x10105918
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x20]
mov dword [ebp + 8], eax
jmp 0x101059db
mov ecx, dword [esp + 0x10]
push 0x102618f8
push ecx
call fcn.100f9820
add esp, 8
test eax, eax
je 0x1010595f
cmp dword [ebp + 0xc], ebx
jne 0x1010595f
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x10105956
mov ecx, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 0x2f
jne 0x10105956
mov byte [ecx + eax - 1], bl
mov edx, dword [esp + 0x20]
mov dword [ebp + 0xc], edx
jmp 0x101059db
mov eax, dword [esp + 0x10]
push str.SECTION
push eax
call fcn.100f9820
add esp, 8
test eax, eax
je 0x1010599a
cmp dword [ebp + 0x10], ebx
jne 0x1010599a
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x10105991
mov ecx, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 0x2f
jne 0x10105991
mov byte [ecx + eax - 1], bl
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x10], ecx
jmp 0x101059db
mov edx, dword [esp + 0x10]
push str.PARTIAL
push edx
call fcn.100f9820
add esp, 8
test eax, eax
je 0x10105a7c
cmp dword [ebp + 0x14], ebx
jne 0x10105a7c
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x101059d4
mov ecx, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 0x2f
jne 0x101059d4
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
push ecx
call dword [0x102cdf28]
mov edx, dword [esp + 0x24]
push edx
call dword [0x102cdf28]
mov al, byte [esi]
add esp, 8
cmp al, 0x3b
je 0x10105858
cmp dword [ebp + 4], ebx
je 0x10105a53
cmp dword [ebp + 0xc], ebx
jne 0x10105a53
cmp byte [esi], 0x3f
jne 0x10105a53
mov al, byte [esi + 1]
inc esi
push eax
mov edi, esi
call fcn.10105ab0
add esp, 4
test eax, eax
je 0x10105a35
mov cl, byte [esi + 1]
inc esi
push ecx
call fcn.10105ab0
add esp, 4
test eax, eax
jne 0x10105a24
mov eax, dword [esp + 0x18]
mov edx, esi
push 1
add ebp, 0x18
push ebx
sub edx, edi
push ebp
push edx
push edi
push eax
call fcn.10118500
add esp, 0x18
cmp eax, ebx
jne 0x10105a5c
mov al, byte [esi]
neg al
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
push eax
call dword [0x102cdf28]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x102cdf28]
mov edx, dword [esp + 0x24]
push edx
call dword [0x102cdf28]
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0xc
ret