Function at 0x433df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48855b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4a9a08]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebp
push esi
push edi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
xor eax, eax
cmp dword [esi + 0xc], 4
lea ecx, [esp + 0x30]
setne al
sub eax, 1
and eax, 0x800000
or eax, 0x80400a00
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x38]
lea eax, [ecx + edx + 1]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::reserve_unsigned_int_]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x433ea7
mov ecx, dword [esi + 0x30]
test ecx, ecx
jbe 0x433ea7
push ecx
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 1
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x433ee0
mov esi, dword [esi + 0x38]
test esi, esi
jbe 0x433ee0
push esi
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esp + 0x44], 0
jbe 0x433efa
cmp dword [esp + 0x48], 0x10
jb 0x433ef4
mov eax, dword [esp + 0x34]
jmp 0x433efc
lea eax, [esp + 0x34]
jmp 0x433efc
xor eax, eax
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0
push 0
push 0
push eax
push ebp
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
lea ecx, [esp + 0x30]
mov esi, eax
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004801ca
add esp, 0x4c
ret