Function at 0x1004923e
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [eax]
push esi
mov edx, dword [ebp + 0x4ac0]
push edi
movzx eax, byte [edx]
mov edi, dword [ebp + 0x164]
push eax
mov dword [esp + 0x1c], ebp
mov esi, edx
call fcn.1004906c
add esp, 4
test eax, eax
je 0x100492b6
inc esi
movzx eax, byte [esi]
push eax
call fcn.1004906c
add esp, 4
test eax, eax
jne 0x1004926d
cmp esi, edx
je 0x100492b6
mov ecx, esi
jbe 0x1004928f
lea eax, [esi - 1]
cmp byte [eax], 0x2f
cmove ecx, eax
push 1
xor ebx, ebx
push ebx
lea ebp, [edi + 4]
push ebp
mov ebp, dword [esp + 0x24]
sub ecx, edx
push ecx
push edx
push ebp
call fcn.10050948
add esp, 0x18
test eax, eax
je 0x1004943e
jmp 0x100494bd
xor ebx, ebx
mov dword [edi + 4], ebx
jmp 0x1004943e
inc esi
mov ecx, esi
mov al, byte [esi]
test al, al
je 0x10049471
cmp al, 0x3d
je 0x100492d8
inc esi
mov al, byte [esi]
test al, al
jne 0x100492cd
cmp byte [esi], 0
je 0x10049471
push 1
push ebx
lea eax, [esp + 0x18]
push eax
mov eax, esi
sub eax, ecx
push eax
push ecx
push ebp
call fcn.10050948
add esp, 0x18
test eax, eax
jne 0x100494bd
inc esi
mov ecx, esi
jmp 0x10049306
inc esi
movzx eax, byte [esi]
push eax
call fcn.1004906c
add esp, 4
test eax, eax
jne 0x10049305
push 1
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, esi
sub eax, ecx
push eax
push ecx
push ebp
call fcn.10050948
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x10049476
push str.UIDVALIDITY
push dword [esp + 0x14]
call fcn.1003e3c0
pop ecx
pop ecx
test eax, eax
je 0x10049377
cmp dword [edi + 8], ebx
jne 0x10049377
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1004936b
mov ecx, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 0x2f
jne 0x1004936b
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x20]
mov dword [edi + 8], eax
jmp 0x10049420
push 0x100886a0
push dword [esp + 0x14]
call fcn.1003e3c0
pop ecx
pop ecx
test eax, eax
je 0x100493b0
cmp dword [edi + 0xc], ebx
jne 0x100493b0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100493a7
mov ecx, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 0x2f
jne 0x100493a7
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], eax
jmp 0x10049420
push str.SECTION
push dword [esp + 0x14]
call fcn.1003e3c0
pop ecx
pop ecx
test eax, eax
je 0x100493e9
cmp dword [edi + 0x10], ebx
jne 0x100493e9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100493e0
mov ecx, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 0x2f
jne 0x100493e0
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x20]
mov dword [edi + 0x10], eax
jmp 0x10049420
push str.PARTIAL
push dword [esp + 0x14]
call fcn.1003e3c0
pop ecx
pop ecx
test eax, eax
je 0x1004945b
cmp dword [edi + 0x14], ebx
jne 0x1004945b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10049419
mov ecx, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 0x2f
jne 0x10049419
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x20]
mov dword [edi + 0x14], eax
push dword [esp + 0x10]
mov dword [esp + 0x24], ebx
call dword [0x10098344]
push dword [esp + 0x24]
call dword [0x10098344]
mov ebp, dword [esp + 0x20]
pop ecx
pop ecx
cmp byte [esi], 0x3b
je 0x100492c0
cmp dword [edi + 4], ebx
je 0x100494b3
cmp dword [edi + 0xc], ebx
jne 0x100494b3
cmp byte [esi], 0x3f
jne 0x100494b3
inc esi
mov ecx, esi
jmp 0x10049486
push dword [esp + 0x10]
call dword [0x10098344]
push dword [esp + 0x24]
call dword [0x10098344]
pop ecx
pop ecx
push 3
pop eax
jmp 0x100494bd
push dword [esp + 0x10]
call dword [0x10098344]
pop ecx
mov eax, ebp
jmp 0x100494bd
inc esi
movzx eax, byte [esi]
push eax
call fcn.1004906c
add esp, 4
test eax, eax
jne 0x10049485
push 1
push ebx
lea eax, [edi + 0x18]
push eax
mov eax, esi
sub eax, ecx
push eax
push ecx
push dword [esp + 0x2c]
call fcn.10050948
add esp, 0x18
test eax, eax
jne 0x100494bd
xor eax, eax
cmp byte [esi], al
push 3
pop ecx
cmovne eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret