Function at 0x433a30
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548f3f
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x595978]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x68], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x5c], 1
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x58]
lea edx, [ebp - 0x58]
push edx
push eax
mov dword [ebp - 0x58], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp esi, ebx
jne 0x433c34
mov dword [ebp - 0x138], 0x578bd0
mov dword [ebp - 4], 1
or dword [ebp - 0x5c], 2
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00402320
lea eax, [ebp - 0x134]
push 0x20
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ebx
call fcn.00414150
mov word [ebp - 0xa8], ax
cmp dword [ebp - 0xb0], ebx
jne 0x433b18
mov eax, dword [ebp - 0xdc]
or eax, 4
push ebx
push eax
lea ecx, [ebp - 0xe8]
call fcn.004021e0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x134]
push eax
mov dword [ebp + edx - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.004110f0
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], 4
push edi
push str.._Last_win_error
push 0x158
push str._at_line
push str._http_client.cpp_
push str._at_file
push str.WinHttpQueryDataAvailable_request_.get____size_
push str.._Failed_expression_
lea ecx, [ebp - 0x138]
push str.Failed_to_read_data_size
push ecx
mov dword [ebp - 4], 5
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409560
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409730
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x138]
call fcn.0040a180
mov ecx, eax
lea ebx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.004045b0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x433c07
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
jmp 0x433c0a
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0049ce20
push 0x58c098
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], vtable.std::runtime_error.0
call fcn.004a60bb
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x433c5c
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049cc86
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp - 0x4d]
push edx
mov edi, eax
lea esi, [ebp - 0x78]
mov byte [ebp - 0x4d], bl
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call fcn.0041c2f0
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
mov eax, dword [edi + 0x58]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x78]
push edx
push ecx
push eax
mov dword [ebp - 0x60], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
cmp esi, ebx
jne 0x433d93
lea edx, [ebp - 0x138]
push edx
call fcn.0040a0e0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x64]
push eax
push str.._Last_win_error
push 0x15e
push str._at_line
push str._http_client.cpp_
push str._at_file
push str.WinHttpReadData_request_.get____read_buffer_0___size__downloaded_
push str.._Failed_expression_
lea ecx, [ebp - 0x138]
push str.Failed_to_read_response
push ecx
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409560
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409730
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x138]
call fcn.0040a180
mov ecx, eax
lea ebx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.004045b0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x433d66
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
jmp 0x433d69
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x88]
call fcn.0049ce20
push 0x58c098
lea ecx, [ebp - 0x88]
push ecx
mov dword [ebp - 0x88], vtable.std::runtime_error.0
call fcn.004a60bb
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x60]
sete byte [ebp - 0x4d]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp byte [ebp - 0x4d], bl
jne 0x433e92
lea eax, [ebp - 0x138]
push eax
call fcn.0040a0e0
push esi
push str.._Last_win_error
push 0x15f
push str._at_line
push str._http_client.cpp_
push str._at_file
push str.size__downloaded
push str.._Failed_expression_
lea ecx, [ebp - 0x138]
push str.Failed_to_read_data_from_response
push ecx
mov byte [ebp - 4], 0xc
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409560
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409730
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x138]
call fcn.0040a180
mov ecx, eax
lea ebx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.004045b0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x433e65
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
jmp 0x433e68
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x94]
call fcn.0049ce20
push 0x58c098
lea ecx, [ebp - 0x94]
push ecx
mov dword [ebp - 0x94], vtable.std::runtime_error.0
call fcn.004a60bb
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x68]
mov eax, dword [esi + 4]
push edx
mov edx, dword [ebp - 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004353b0
mov byte [ebp - 4], 0xf
cmp dword [edi + 0x40], ebx
je 0x433eec
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
or eax, ecx
je 0x433eec
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov edx, 0x64
mul edx
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
push edx
push eax
call fcn.004a6f80
cmp dword [edi + 0x40], ebx
jne 0x433ee1
call fcn.004972f4
mov ecx, dword [edi + 0x40]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 8
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x78]
cmp eax, ebx
je 0x433f06
push eax
call fcn.0049cf83
add esp, 4
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
jmp 0x433a84