Function at 0x45db40
Capabilities:
Parse url
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d5478
push eax
mov dword fs:[0], esp
sub esp, 0x88c
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x28]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebp
push edi
je 0x45db90
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45db90
mov eax, dword [ebx + 0x28]
cmp eax, ebp
je 0x45db90
push eax
call esi
mov dword [ebx + 0x28], ebp
mov eax, dword [ebx + 0x28]
cmp eax, ebp
je 0x45db9d
push eax
call esi
mov dword [ebx + 0x28], ebp
cmp dword [ebx + 4], ebp
je 0x45dd80
mov esi, dword [esp + 0x8ac]
cmp esi, ebp
je 0x45dd80
cmp byte [esi], 0
je 0x45dd80
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], 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 + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x3c], 0x3c
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x8b0]
cmp eax, ebp
mov dword [esp + 0x50], 0x824
je 0x45dc3a
push SysReAllocString
push ebp
lea ecx, [esp + 0x80]
push 0x824
push ecx
call fcn.0045df00
cmp eax, ebp
jl 0x45dc5b
push SysReAllocString
push esi
push ebp
lea edx, [esp + 0x84]
push 0x824
push edx
call fcn.0045df70
jmp 0x45dc5b
lea eax, [esp + 0x3c]
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 0x45dd80
mov al, byte [esp + 0x78]
test al, al
je 0x45dd80
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call fcn.0045d950
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x45dd80
jmp 0x45dc8c
mov eax, dword [esp + 0x10]
xor ebp, ebp
mov dl, byte [eax + 8]
lea esi, [eax + 8]
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
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 [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push ebp
push esi
lea ecx, [esp + 0x38]
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 + 0x30]
mov dword [esp + 0x8a4], ebp
cmp esi, ebp
jne 0x45dcca
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 dl, byte [esp + 0x17]
push ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], dl
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
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x45dd1b
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [ebx + 8]
mov byte [esp + 0x8ac], 1
call fcn.0045e220
mov esi, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x8a8], 0
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 + 0xc]
mov dword [esp + 0x8a4], 0xffffffff
cmp esi, eax
push 1
lea ecx, [esp + 0x30]
jne 0x45dd9d
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 [esp + 0x10]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [eax]
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x45dc86
xor eax, eax
mov ecx, dword [esp + 0x89c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x898
ret 8
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 [esi + 0x1c]
lea edx, [esp + 0x78]
push ecx
push 0
push edx
call dword [sym.imp.SHLWAPI.dll_StrRStrIA]
test eax, eax
je 0x45dd80
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + 0x100]
cmp byte [edx + eax], 0
jne 0x45dd80
lea edx, [esp + 0x78]
cmp edx, eax
je 0x45ddd5
cmp byte [eax - 1], 0x2e
jne 0x45dd80
mov eax, dword [ecx + 0x108]
test eax, eax
je 0x45de21
mov edx, dword [ecx + 0x10c]
sub edx, eax
sar edx, 2
je 0x45de21
mov edi, eax
mov eax, dword [ecx + 0x10c]
cmp edi, eax
je 0x45de21
mov ebx, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov eax, dword [edi]
push eax
mov eax, dword [esp + 0x8b0]
push eax
call ebx
test eax, eax
jne 0x45dd80
mov ecx, dword [esi + 0x1c]
add edi, 4
cmp edi, dword [ecx + 0x10c]
jne 0x45ddfe
mov eax, 1
jmp 0x45dd82