Function at 0x4623d0
Capabilities:
Parse url

Disassembly:
mov eax, 0x125c
call fcn.004999f0
push esi
mov esi, dword [esp + 0x1264]
push edi
push esi
push esi
call fcn.00462170
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0xec]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x16c]
mov dword [esp + 0x14], eax
mov eax, 0x80
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov eax, 0x800
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
add esp, 8
lea edx, [esp + 0x264]
lea ecx, [esp + 0xa64]
test esi, esi
mov dword [esp + 8], 0x3c
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x1c], 0x100
mov word [esp + 0x20], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
jne 0x46247f
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]
lea edx, [esp + 8]
push edx
push 0x10000000
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x46249e
pop edi
pop esi
add esp, 0x125c
ret
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov esi, edi
repne scasb al, byte es:[edi]
not ecx
push ebx
dec ecx
push ebp
mov ebp, dword [esp + 0x1274]
mov ebx, ecx
push 1
push ebx
mov ecx, 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 0x4624e5
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [ecx + ebx], 0
mov edi, dword [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov esi, edi
repne scasb al, byte es:[edi]
mov ebx, dword [esp + 0x1278]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::max_size_void_const]
cmp eax, ebp
jae 0x462510
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x462536
mov al, byte [ecx - 1]
test al, al
je 0x462536
cmp al, 0xff
je 0x462536
test ebp, ebp
jne 0x46255c
dec al
push ebp
mov byte [ecx - 1], al
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x462582
test ebp, ebp
jne 0x462546
push 1
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x462582
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x462552
cmp eax, ebp
jae 0x462565
push 1
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebp
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov edi, dword [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
mov esi, edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
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]
mov ecx, dword [ebx + 8]
sub edx, ecx
cmp edx, edi
ja 0x4625ab
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test edi, edi
jbe 0x462635
mov edx, dword [ebx + 8]
mov ebp, edi
mov ecx, ebx
add ebp, edx
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::max_size_void_const]
cmp eax, ebp
jae 0x4625cc
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4625f2
mov al, byte [ecx - 1]
test al, al
je 0x4625f2
cmp al, 0xff
je 0x4625f2
test ebp, ebp
jne 0x46260a
dec al
push ebp
mov byte [ecx - 1], al
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x462635
test ebp, ebp
jne 0x462605
test ecx, ecx
je 0x462635
push ebp
mov ecx, ebx
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_]
jmp 0x462635
cmp dword [ebx + 0xc], ebp
jae 0x462613
push ebp
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov eax, dword [ebx + 8]
mov ecx, edi
mov edi, dword [ebx + 4]
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [ecx + ebp], 0
push ebx
push ebx
call fcn.004622c0
mov edx, dword [esp + 0x1284]
mov ax, word [esp + 0x30]
add esp, 8
mov word [edx], ax
mov eax, 1
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x125c
ret