Function at 0x10009600
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x1000a77b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44c
mov al, byte [esp + 0x464]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0
push 0
test al, al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x20
mov byte [esp + 0x1b], 1
push 0
je 0x10009647
push 1
jmp 0x10009649
push 0
push str.Browser1.0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x46c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1000966a
mov eax, 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 ecx, dword [ebx + 4]
push 0
push 0x84000000
push 0
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
mov dword [esp + 0x24], edi
je 0x100098ba
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea edx, [esp + 0x28]
push 0
lea eax, [esp + 0x1c]
push edx
push eax
push 0x20000013
push edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 4
call esi
test eax, eax
je 0x100096de
mov eax, 0x51eb851f
mul dword [esp + 0x18]
shr edx, 5
cmp edx, 2
je 0x100096de
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x100098d1
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x40]
push edx
push eax
push 5
push edi
call esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 1
jne 0x100097cb
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
mov dl, byte [esp + 0x17]
mov ebx, eax
add esp, 4
mov byte [esp + 0x2c], dl
lea esi, [ebx + 1]
test esi, esi
mov eax, esi
jge 0x10009723
xor eax, eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
test esi, esi
mov dword [esp + 0x30], ebp
jbe 0x10009743
mov ecx, esi
test eax, eax
je 0x1000973f
mov byte [eax], 0
inc eax
dec ecx
jne 0x10009738
lea eax, [esi + ebp]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x464], 0
push eax
push ebx
push ebp
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10009776
cmp dword [esp + 0x14], ebx
jne 0x10009776
mov byte [esp + 0x13], 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [esp + 0x470]
push 1
push ebx
mov ecx, edi
mov byte [ebx + ebp], 0
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 0x100097bd
mov edi, dword [edi + 4]
mov ecx, ebx
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x470]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
mov byte [eax + ebx], 0
push ebp
call fcn.100098f0
add esp, 4
jmp 0x100098bf
mov ebx, dword [esp + 0x470]
xor ecx, ecx
test ecx, ecx
mov dword [esp + 0x14], ecx
jbe 0x10009882
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ebp, dword [ebx + 8]
mov esi, ecx
mov eax, dword [edx]
sub eax, ebp
cmp eax, ecx
ja 0x100097f9
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x10009882
mov ebp, dword [ebx + 8]
add ebp, esi
cmp ebp, 0xfffffffd
jbe 0x10009811
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10009837
mov al, byte [ecx - 1]
test al, al
je 0x10009837
cmp al, 0xff
je 0x10009837
test ebp, ebp
jne 0x1000984f
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 0x10009882
test ebp, ebp
jne 0x1000984a
test ecx, ecx
je 0x10009882
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 0x10009882
cmp dword [ebx + 0xc], ebp
jae 0x10009858
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 edx, dword [ebx + 8]
mov ecx, esi
add edi, edx
mov edx, ecx
lea esi, [esp + 0x5c]
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 edi, dword [esp + 0x24]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x5c]
push ecx
push 0x400
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100098b1
mov ecx, dword [esp + 0x14]
test ecx, ecx
ja 0x100097e0
test eax, eax
je 0x100098b1
mov byte [esp + 0x13], 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x100098bf
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x458
ret 0xc