Function at 0x518ece
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x28], eax
mov eax, edx
mov dword [ebp - 0x3c], ecx
call fcn.004de0c2
mov ebx, eax
test byte [ebp - 0x28], 0x40
jne 0x518f01
cmp byte [0x660bc6], 0
je 0x5192eb
cmp ebx, 4
jle 0x5192eb
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], 5
mov dword [esp + 4], str.file:
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x5192eb
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
lea esi, [ebx + 8]
mov edi, esi
or eax, 0x40
sar edi, 0x1f
mov dword [ebp - 0x28], eax
mov eax, edx
add eax, ebx
xor ecx, ecx
cmp byte [edx], 0x26
sete cl
xor ebx, ebx
add esi, ecx
adc edi, ebx
inc edx
cmp eax, edx
jne 0x518f48
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.0051435e
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x518f78
mov eax, 7
jmp 0x51938e
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
add eax, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 5], 0x2f
je 0x518f9c
mov ebx, 5
xor edi, edi
jmp 0x51907d
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 6], 0x2f
jne 0x518f90
mov ebx, 7
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ebx]
test al, al
je 0x518fbb
cmp al, 0x2f
je 0x518fbb
inc ebx
jmp 0x518faa
cmp ebx, 7
je 0x518f95
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 7]
cmp ebx, 0x10
jne 0x518fe7
mov dword [esp + 8], 9
mov dword [esp + 4], esi
mov dword [esp], str.localhost
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x518f95
sub ebx, 7
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.invalid_uri_authority:__.s
call fcn.00517425
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
jmp 0x519361
test al, al
je 0x519159
lea ecx, [ebx + 1]
cmp al, 0x25
jne 0x5190c2
mov esi, dword [ebp - 0x1c]
movzx esi, byte [esi + ebx + 1]
mov edx, esi
mov byte [ebp - 0x34], dl
test byte [esi + 0x670920], 8
je 0x5190c2
mov edx, dword [ebp - 0x1c]
movzx esi, byte [edx + ebx + 2]
mov edx, esi
mov byte [ebp - 0x35], dl
test byte [esi + 0x670920], 8
je 0x5190c2
movsx eax, byte [ebp - 0x34]
lea ecx, [ebx + 3]
call fcn.004ae90e
movzx esi, al
movsx eax, byte [ebp - 0x35]
shl esi, 4
call fcn.004ae90e
movzx eax, al
add eax, esi
jne 0x519141
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
cmp al, 0x23
jne 0x51908c
mov ebx, ecx
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ebx]
cmp al, 0x23
jne 0x519008
jmp 0x519159
test al, al
je 0x51907b
cmp dword [ebp - 0x20], 0
jne 0x51909e
cmp al, 0x3f
je 0x51914d
cmp dword [ebp - 0x20], 1
jne 0x5190af
cmp al, 0x3d
je 0x51907b
cmp al, 0x26
je 0x51907b
inc ecx
jmp 0x519071
cmp dword [ebp - 0x20], 2
jne 0x5190ac
cmp al, 0x26
jne 0x5190ac
mov dword [ebp - 0x20], 2
jmp 0x51907b
cmp dword [ebp - 0x20], 1
jne 0x519105
cmp al, 0x26
je 0x5190d0
cmp al, 0x3d
jne 0x519141
mov esi, dword [ebp - 0x24]
mov edx, edi
cmp byte [esi + edi - 1], 0
jne 0x5190f7
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ecx]
test al, al
je 0x51907b
cmp al, 0x23
je 0x51907b
mov eax, dword [ebp - 0x1c]
cmp byte [eax + ecx - 1], 0x26
je 0x51907b
inc ecx
jmp 0x5190dc
cmp al, 0x26
jne 0x51912f
mov eax, dword [ebp - 0x24]
inc edi
mov byte [eax + edx], 0
jmp 0x51913f
cmp dword [ebp - 0x20], 0
jne 0x51910f
cmp al, 0x3f
je 0x519138
cmp dword [ebp - 0x20], 2
jne 0x519141
cmp al, 0x26
sete dl
test dl, dl
mov edx, 1
cmove edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov dl, 0
cmovne eax, edx
jmp 0x519141
mov dword [ebp - 0x20], 2
jmp 0x51913f
mov dword [ebp - 0x20], 1
xor eax, eax
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], al
inc edi
jmp 0x51907b
mov dword [ebp - 0x20], 0
jmp 0x51907b
cmp dword [ebp - 0x20], 1
jne 0x519168
mov eax, dword [ebp - 0x2c]
mov byte [eax + edi + 4], 0
inc edi
mov eax, dword [ebp - 0x24]
mov dword [eax + edi], 0
call fcn.004de0c2
mov edi, dword [ebp - 0x24]
lea ebx, [edi + eax + 1]
cmp byte [ebx], 0
je 0x519331
mov eax, ebx
call fcn.004de0c2
lea esi, [ebx + eax + 1]
mov edi, eax
mov eax, esi
call fcn.004de0c2
mov dword [ebp - 0x1c], eax
cmp edi, 3
jne 0x5191cb
mov dword [esp + 8], 3
mov dword [esp + 4], ebx
mov dword [esp], 0x665b35
call sub.msvcrt.dll_memcmp
test eax, eax
mov eax, dword [ebp - 0x30]
cmove eax, esi
mov dword [ebp - 0x30], eax
jmp 0x5192df
cmp edi, 5
jne 0x51920a
mov dword [esp + 8], 5
mov dword [esp + 4], ebx
mov dword [esp], str.cache
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x5192df
mov dword [ebp - 0x2c], 0x60000
mov edi, str.cache
mov ebx, 0x660388
mov dword [ebp - 0x20], 0x60000
jmp 0x51924f
cmp edi, 4
jne 0x5192df
mov dword [esp + 8], 4
mov dword [esp + 4], ebx
mov dword [esp], str.mode
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x5192df
mov eax, dword [ebp - 0x28]
mov edi, str.access
mov ebx, 0x660360
mov dword [ebp - 0x20], 0x87
and eax, 0x87
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x51928c
mov eax, ecx
mov dword [ebp - 0x34], ecx
call fcn.004de0c2
cmp eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
jne 0x519287
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x519287
mov eax, dword [ebx + 4]
test eax, eax
jne 0x5192a5
jmp 0x51928c
add ebx, 8
jmp 0x51924f
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], str.no_such__s_mode:__s
call fcn.00517425
jmp 0x51935c
mov ecx, eax
and cl, 0x7f
cmp ecx, dword [ebp - 0x2c]
jle 0x5192d2
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], str._s_mode_not_allowed:__s
call fcn.00517425
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, 3
jmp 0x519366
mov edi, dword [ebp - 0x20]
not edi
and edi, dword [ebp - 0x28]
or eax, edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
lea ebx, [esi + eax + 1]
jmp 0x51917e
lea eax, [ebx + 8]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0051435e
test eax, eax
je 0x518f6e
mov dword [eax], 0
add eax, 4
mov dword [ebp - 0x24], eax
test ebx, ebx
je 0x51931e
mov esi, dword [ebp - 0x1c]
mov edi, eax
mov ecx, ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
mov dword [eax + ebx], 0
mov eax, dword [ebp - 0x28]
and eax, 0xffffffbf
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00513711
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor eax, eax
test edx, edx
jne 0x51937e
mov eax, dword [ebp - 0x30]
mov dword [esp], str.no_such_vfs:__s
mov dword [esp + 4], eax
call fcn.00517425
mov edi, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.004eb093
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov dword [ecx], edi
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret