Function at 0x46f450
Capabilities:
Parse url

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51f7e3
push eax
mov dword fs:[0], esp
sub esp, 0x99c
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 8]
push esi
cmp eax, ebp
push edi
jne 0x46f47f
call fcn.0046ebd0
mov esi, dword [esp + 0x9bc]
cmp esi, ebp
je 0x46f7ff
cmp byte [esi], 0
je 0x46f7ff
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x189]
mov byte [esp + 0x188], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x48], 0x3c
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x9c0]
cmp eax, ebp
mov dword [esp + 0x5c], 0x104
je 0x46f537
push SysReAllocString
push ebp
lea ecx, [esp + 0x190]
push 0x824
push ecx
call fcn.004704d0
cmp eax, ebp
jl 0x46f582
push SysReAllocString
push esi
push ebp
lea edx, [esp + 0x194]
push 0x824
push edx
call fcn.00470540
jmp 0x46f582
lea eax, [esp + 0x48]
push eax
push 0x10000000
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x46f7ff
lea ecx, [esp + 0x84]
push ecx
mov ecx, ebx
call fcn.0046f2f0
cmp eax, ebp
je 0x46f582
push eax
lea edx, [esp + 0x18c]
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0xc
mov al, byte [esp + 0x188]
test al, al
je 0x46f7ff
mov al, byte [esp + 0x13]
push ebp
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.004709c0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x188]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x9bc], ebp
call fcn.0046f100
mov eax, dword [esp + 0x18]
mov ebp, dword [eax]
cmp ebp, eax
je 0x46f69f
mov al, byte [ebp + 8]
lea esi, [ebp + 8]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push edx
push 0
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov esi, dword [esp + 0x28]
mov byte [esp + 0x9b4], 1
test esi, esi
jne 0x46f617
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [ebx + 0xc]
mov byte [esp + 0x9bc], 2
call fcn.004707f0
mov esi, dword [esp + 0x20]
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x9b8], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [ebx + 0x10]
mov byte [esp + 0x9b4], 0
cmp esi, eax
push 1
lea ecx, [esp + 0x28]
jne 0x46f6c1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ebp, dword [ebp]
mov eax, dword [esp + 0x18]
cmp ebp, eax
jne 0x46f5d5
mov ecx, dword [eax]
push eax
lea eax, [esp + 0x24]
push ecx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x9c0], 0xffffffff
call fcn.00470930
jmp 0x46f7f2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [esi + 0x1c]
lea eax, [esp + 0x188]
push edx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrRStrIA]
test eax, eax
je 0x46f7c6
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + 0x100]
cmp byte [edx + eax], 0
jne 0x46f7c6
lea edx, [esp + 0x188]
cmp edx, eax
je 0x46f70b
cmp byte [eax - 1], 0x2e
jne 0x46f7c6
mov eax, dword [ecx + 0x108]
test eax, eax
je 0x46f753
mov edx, dword [ecx + 0x10c]
sub edx, eax
sar edx, 2
je 0x46f753
mov edi, eax
mov eax, dword [ecx + 0x10c]
cmp edi, eax
je 0x46f753
mov ebx, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov eax, dword [edi]
push eax
lea eax, [esp + 0x18c]
push eax
call ebx
test eax, eax
jne 0x46f793
mov ecx, dword [esi + 0x1c]
add edi, 4
cmp edi, dword [ecx + 0x10c]
jne 0x46f734
mov edi, dword [esp + 0x18]
mov dword [esp + 0x9b4], 0xffffffff
mov esi, dword [edi]
cmp esi, edi
je 0x46f77f
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004713f0
cmp esi, edi
jne 0x46f768
mov edx, dword [esp + 0x18]
push edx
call fcn.0051d19a
add esp, 4
mov eax, 1
jmp 0x46f801
mov edi, dword [esp + 0x18]
mov dword [esp + 0x9b4], 0xffffffff
mov esi, dword [edi]
cmp esi, edi
je 0x46f7bf
mov eax, esi
mov esi, dword [esi]
lea edx, [esp + 0x20]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004713f0
cmp esi, edi
jne 0x46f7a8
mov eax, dword [esp + 0x18]
push eax
jmp 0x46f7f7
mov edi, dword [esp + 0x18]
mov dword [esp + 0x9b4], 0xffffffff
mov esi, dword [edi]
cmp esi, edi
je 0x46f7f2
mov eax, esi
mov esi, dword [esi]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
call fcn.004713f0
cmp esi, edi
jne 0x46f7db
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0051d19a
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x9ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9a8
ret 8