Function at 0x46fb40
Capabilities:
Parse url

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x520e43
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 0x46fb6f
call fcn.0046f2c0
mov esi, dword [esp + 0x9bc]
cmp esi, ebp
je 0x46feed
cmp byte [esi], 0
je 0x46feed
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 0x46fc27
push SysReAllocString
push ebp
lea ecx, [esp + 0x190]
push 0x824
push ecx
call fcn.00470c00
cmp eax, ebp
jl 0x46fc72
push SysReAllocString
push esi
push ebp
lea edx, [esp + 0x194]
push 0x824
push edx
call fcn.00470c70
jmp 0x46fc72
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 0x46feed
lea ecx, [esp + 0x84]
push ecx
mov ecx, ebx
call fcn.0046f9e0
cmp eax, ebp
je 0x46fc72
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 0x46feed
mov al, byte [esp + 0x13]
push ebp
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00471160
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.0046f7f0
mov eax, dword [esp + 0x18]
mov ebp, dword [eax]
cmp ebp, eax
je 0x46fd8d
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 0x46fd07
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.00470f60
mov esi, dword [eax]
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 0x46fdaf
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 0x46fcc5
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.004710d0
jmp 0x46fee0
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 0x46feb4
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + 0x100]
cmp byte [edx + eax], 0
jne 0x46feb4
lea edx, [esp + 0x188]
cmp edx, eax
je 0x46fdf9
cmp byte [eax - 1], 0x2e
jne 0x46feb4
mov eax, dword [ecx + 0x108]
test eax, eax
je 0x46fe41
mov edx, dword [ecx + 0x10c]
sub edx, eax
sar edx, 2
je 0x46fe41
mov edi, eax
mov eax, dword [ecx + 0x10c]
cmp edi, eax
je 0x46fe41
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 0x46fe81
mov ecx, dword [esi + 0x1c]
add edi, 4
cmp edi, dword [ecx + 0x10c]
jne 0x46fe22
mov edi, dword [esp + 0x18]
mov dword [esp + 0x9b4], 0xffffffff
mov esi, dword [edi]
cmp esi, edi
je 0x46fe6d
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00471db0
cmp esi, edi
jne 0x46fe56
mov edx, dword [esp + 0x18]
push edx
call fcn.0051e1fa
add esp, 4
mov eax, 1
jmp 0x46feef
mov edi, dword [esp + 0x18]
mov dword [esp + 0x9b4], 0xffffffff
mov esi, dword [edi]
cmp esi, edi
je 0x46fead
mov eax, esi
mov esi, dword [esi]
lea edx, [esp + 0x20]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00471db0
cmp esi, edi
jne 0x46fe96
mov eax, dword [esp + 0x18]
push eax
jmp 0x46fee5
mov edi, dword [esp + 0x18]
mov dword [esp + 0x9b4], 0xffffffff
mov esi, dword [edi]
cmp esi, edi
je 0x46fee0
mov eax, esi
mov esi, dword [esi]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
call fcn.00471db0
cmp esi, edi
jne 0x46fec9
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0051e1fa
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