Function at 0x10005346
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x4b4]
sub esp, 0x534
mov eax, dword [0x100141e0]
xor eax, ebp
mov dword [ebp + 0x4b0], eax
mov eax, dword [ebp + 0x4bc]
and dword [ebp + 0x18], 0
and dword [ebp + 0x20], 0
push ebx
push esi
mov esi, dword [sym.imp.MSVCR80.dll_strrchr]
push edi
mov edi, ecx
push 0x23
mov dword [ebp + 0xc], edi
mov dword [ebp + 4], eax
push eax
jmp 0x1000577d
inc dword [ebp + 0x20]
cmp dword [ebp + 0x20], 1
jg 0x1000578b
push 0x40f
lea eax, [ebp + 0x30]
push ebx
push eax
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
lea eax, [ebp + 0x30]
push 1
push eax
mov byte [ebp + 0x43f], 0
call sub.MSVCR80.dll_strlen
pop ecx
inc eax
push eax
lea eax, [ebp + 0x30]
push eax
push str.setAuxURL
push dword [edi + 8]
call fcn.1000b205
add esp, 0x14
and dword [ebp + 0x2c], 0
cmp word [ebp + 0x18], 0
jne 0x10005412
push 0x26
push ebx
call esi
test eax, eax
pop ecx
pop ecx
jne 0x100053f2
push 0x23
push ebx
call esi
test eax, eax
pop ecx
pop ecx
je 0x10005412
cmp byte [eax], 0x23
jne 0x100053fe
mov dword [ebp + 0x18], 1
mov ecx, dword [ebp + 0x2c]
mov byte [eax], 0
inc eax
inc dword [ebp + 0x2c]
cmp dword [ebp + 0x2c], 0x10
mov dword [ebp + ecx*4 - 0x80], eax
jl 0x100053d5
cmp dword [ebp + 0x2c], 0
jle 0x10005778
dec dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [ebp + eax*4 - 0x80]
push 0x3d
push ebx
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x1000574c
sub eax, ebx
cmp eax, 0x2f
jge 0x1000574c
and dword [ebp + 0x24], 0
mov byte [esi], 0
inc esi
mov dword [ebp + 0x28], esi
sub dword [ebp + 0x28], ebx
cmp dword [ebp + 0x28], 0
jle 0x1000548f
mov dword [ebp + 0x1c], ebx
lea eax, [ebp + 0x480]
sub dword [ebp + 0x1c], eax
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x1c]
lea edi, [ebp + edi + 0x480]
movsx eax, byte [eax + edi]
push eax
call dword [sym.imp.MSVCR80.dll_tolower]
inc dword [ebp + 0x24]
mov byte [edi], al
mov eax, dword [ebp + 0x24]
cmp eax, dword [ebp + 0x28]
pop ecx
jl 0x10005466
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0x480]
push str.nameddest
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x10005768
lea eax, [ebp + 0x480]
push str.zoom
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x10005768
lea eax, [ebp + 0x480]
push str.view
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x10005514
push esi
lea eax, [ebp + 0x440]
push str.null__.50s
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
lea eax, [ebp + 0x440]
push 1
push eax
call sub.MSVCR80.dll_strlen
pop ecx
inc eax
push eax
lea eax, [ebp + 0x440]
push eax
push str.osview
jmp 0x1000575d
lea eax, [ebp + 0x480]
push str.viewrect
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x100055b2
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x14]
push eax
push str._f__f__f__f
push esi
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0x18
cmp eax, 4
jne 0x10005768
fld dword [ebp + 0x10]
sub esp, 0x20
fstp qword [esp + 0x18]
lea eax, [ebp + 0x440]
fld dword [ebp + 0x14]
fadd dword [ebp + 8]
fstp qword [esp + 0x10]
fld dword [ebp + 0x10]
fadd dword [ebp - 4]
fstp qword [esp + 8]
fld dword [ebp + 0x14]
fstp qword [esp]
push str.null_FitR__03.1f__03.1f__03.1f__03.1f
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x28
lea eax, [ebp + 0x440]
push 1
push eax
call sub.MSVCR80.dll_strlen
pop ecx
inc eax
push eax
lea eax, [ebp + 0x440]
push eax
push str.osviewrect
jmp 0x1000575d
lea eax, [ebp + 0x480]
push str.pagemode
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x10005768
lea eax, [ebp + 0x480]
push str.page
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x10005768
lea eax, [ebp + 0x480]
push str.scrollbar
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x10005768
lea eax, [ebp + 0x480]
push str.toolbar
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x10005768
lea eax, [ebp + 0x480]
push str.statusbar
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x10005768
lea eax, [ebp + 0x480]
push str.messages
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x10005768
lea eax, [ebp + 0x480]
push str.navpanes
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x10005768
lea eax, [ebp + 0x480]
push str.search
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x1000569c
push 1
push esi
call sub.MSVCR80.dll_strlen
pop ecx
inc eax
push eax
push esi
push str.ossearch
jmp 0x1000575d
lea eax, [ebp + 0x480]
push str.highlight
push eax
call sub.MSVCR80.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x100056c9
push 1
push esi
call sub.MSVCR80.dll_strlen
pop ecx
inc eax
push eax
push esi
push str.oshighlight
jmp 0x1000575d
lea eax, [ebp + 0x30]
push 0x3d
push eax
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x100056e1
mov byte [esi], 0
inc esi
and dword [ebp + 0x2c], 0
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call sub.MSVCR80.dll_memset
xor eax, eax
inc eax
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push esi
mov dword [ebp - 0x40], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
lea eax, [ebp]
push eax
push 0
push 3
push esi
call sub.MSVCR80.dll_strlen
pop ecx
inc eax
push eax
push esi
push ebx
mov ecx, edi
call fcn.10004854
mov edx, dword [ebp]
add esp, 0x18
test edx, edx
je 0x10005772
test eax, eax
jne 0x10005772
lea ecx, [edi + 0x28]
mov word [edx + 0x14], 1
call fcn.1000a2a5
jmp 0x10005768
push 1
push ebx
call sub.MSVCR80.dll_strlen
pop ecx
inc eax
push eax
push ebx
push str.osnameddest
push dword [edi + 8]
call fcn.1000b205
add esp, 0x14
cmp dword [ebp + 0x2c], 0
jg 0x1000541c
mov esi, dword [sym.imp.MSVCR80.dll_strrchr]
push 0x23
push dword [ebp + 4]
call esi
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x10005388
mov ecx, dword [ebp + 0x4b0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e3d8
add ebp, 0x4b4
leave
ret