Function at 0x4f4339
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 + 0x8740]
mov ebp, dword [edi + 0x128]
mov dword [esp + 0x1c], edi
mov esi, ecx
jmp 0x4f4320
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x4f4332.34
movzx edx, byte [eax + 0x4f45f0]
jmp dword [edx*4 + 0x4f45e8]
inc esi
jmp 0x4f4320
cmp esi, ecx
je 0x4f436f
mov eax, esi
jbe 0x4f434d
cmp byte [esi - 1], 0x2f
jne 0x4f434d
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.00504fa0
add esp, 0x18
cmp eax, ebx
je 0x4f4374
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 0x4f4587
mov al, byte [esi + 1]
inc esi
mov ecx, esi
cmp al, bl
je 0x4f457a
jmp 0x4f4390
cmp al, 0x3d
je 0x4f43a9
mov al, byte [esi + 1]
inc esi
cmp al, bl
jne 0x4f4390
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp byte [esi], bl
je 0x4f457a
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
mov edx, esi
sub edx, ecx
push edx
push ecx
push edi
call fcn.00504fa0
add esp, 0x18
cmp eax, ebx
jne 0x4f45e0
inc esi
mov ecx, esi
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x4f43e5.34
movzx eax, byte [eax + 0x4f4658]
jmp dword [eax*4 + 0x4f4650]
inc esi
jmp 0x4f43d3
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.00504fa0
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp edi, ebx
jne 0x4f453a
push str.UIDVALIDITY
push eax
call fcn.004ea660
add esp, 8
test eax, eax
je 0x4f4452
cmp dword [ebp + 8], ebx
jne 0x4f4452
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x4f4446
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4f4446
mov byte [ecx + eax - 1], bl
mov ecx, dword [esp + 0x10]
mov dword [ebp + 8], ecx
jmp 0x4f4501
mov edx, dword [esp + 0x14]
push 0x580e30
push edx
call fcn.004ea660
add esp, 8
test eax, eax
je 0x4f448d
cmp dword [ebp + 0xc], ebx
jne 0x4f448d
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x4f4484
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4f4484
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x10]
mov dword [ebp + 0xc], eax
jmp 0x4f4501
mov ecx, dword [esp + 0x14]
push str.SECTION
push ecx
call fcn.004ea660
add esp, 8
test eax, eax
je 0x4f44c8
cmp dword [ebp + 0x10], ebx
jne 0x4f44c8
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x4f44bf
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4f44bf
mov byte [ecx + eax - 1], bl
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x10], edx
jmp 0x4f4501
mov eax, dword [esp + 0x14]
push str.PARTIAL
push eax
call fcn.004ea660
add esp, 8
test eax, eax
je 0x4f4552
cmp dword [ebp + 0x14], ebx
jne 0x4f4552
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x4f44fa
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4f44fa
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 0x4f4531
push eax
call dword [0x5ba020]
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x4f4531
push eax
call dword [0x5ba020]
add esp, 4
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x1c]
jmp 0x4f4374
cmp eax, ebx
je 0x4f4548
push eax
call dword [0x5ba020]
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 0x4f4568
push eax
call dword [0x5ba020]
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4f457a
push eax
call dword [0x5ba020]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 4], ebx
je 0x4f45d6
cmp dword [ebp + 0xc], ebx
jne 0x4f45d6
cmp byte [esi], 0x3f
jne 0x4f45d6
inc esi
mov ecx, esi
lea esp, [esp]
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x4f45b2.34
movzx edx, byte [eax + 0x4f46c0]
jmp dword [edx*4 + 0x4f46b8]
inc esi
jmp 0x4f45a0
push 1
push ebx
add ebp, 0x18
push ebp
mov eax, esi
sub eax, ecx
push eax
push ecx
push edi
call fcn.00504fa0
add esp, 0x18
cmp eax, ebx
jne 0x4f45e0
movsx eax, byte [esi]
neg eax
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret