Function at 0x403a70
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d23d
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x476028]
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 - 0x114], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x403ad4
lea ecx, [ebp - 0x18]
call fcn.00403fe0
mov esi, eax
jmp 0x403ad7
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x403fc1
push esi
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
call fcn.00405950
lea eax, [ebp - 0xd0]
push eax
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0xe0]
push esi
push edi
push dword [ebp - 0xd4]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x403ed3
push ecx
lea ecx, [ebp - 0xcc]
call fcn.004014c0
mov dword [ebp - 0xcc], 0x46aaac
mov dword [ebp - 0xbc], 0x46aaa4
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0
or ebx, 1
push 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x64], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x68], 0x50
movlpd qword [ebp - 0xc4], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x201
mov dword [ebp - 0x4c], 6
mov dword [ebp - 0x48], 0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.0040dd70
push 4
call fcn.0043f40d
mov esi, eax
add esp, 4
test esi, esi
je 0x403bed
push 1
mov dword [esi], 0
call fcn.0042b207
add esp, 4
mov dword [esi], eax
jmp 0x403bef
xor esi, esi
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x28], 0
call fcn.0040d900
push eax
mov dword [ebp - 4], 4
call fcn.0040d4c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x403c42
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x403c42
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esi]
push 0x20
mov ecx, esi
call dword [eax + 0x30]
cmp dword [ebp - 0x2c], 0
mov word [ebp - 0x24], ax
jne 0x403c66
mov eax, dword [ebp - 0x58]
or eax, 4
push 0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040dd70
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc0], eax
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xd0], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd0], eax
lea ecx, [ebp - 0xb4]
call fcn.00407110
mov dword [ebp - 0xb4], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
xor edx, edx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 9
call fcn.004212e0
mov esi, eax
mov edx, str.Error_in_WinHttpReadData:
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.0040a670
mov edx, esi
mov ecx, eax
call fcn.0040a400
cmp dword [ebp - 0xe4], 8
jb 0x403d4c
push dword [ebp - 0xf8]
call fcn.0043f2ce
add esp, 4
xor eax, eax
mov dword [ebp - 0xfc], 7
mov dword [ebp - 0x100], 0
mov word [ebp - 0x110], ax
mov byte [ebp - 4], 0xb
cmp dword [0x477564], 8
mov eax, dword [0x477560]
mov esi, 0x477550
cmovae esi, dword [0x477550]
mov edx, 0x477550
cmovae edx, dword [0x477550]
lea eax, [esi + eax*2]
push eax
push edx
lea ecx, [ebp - 0x110]
call fcn.0040adb0
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xc
call fcn.00404d90
lea edx, [ebp - 0x110]
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0041edd0
cmp dword [ebp - 0xe4], 8
jb 0x403ddf
push dword [ebp - 0xf8]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0xfc], 8
mov dword [ebp - 0xe4], 7
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xf8], ax
jb 0x403e13
push dword [ebp - 0x110]
call fcn.0043f2ce
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd0], eax
lea ecx, [ebp - 0xb4]
call fcn.00404e10
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xd0], eax
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc0], eax
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xd0], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], vtable.std::ios_base.0
call fcn.0042af96
jmp 0x403f77
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x110]
push edi
mov dword [ebp - 0xfc], 0xf
mov dword [ebp - 0x100], 0
mov byte [ebp - 0x110], 0
call fcn.0040e320
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xe
call fcn.0041c3f0
mov ecx, dword [ebp - 0x114]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ecx + 0xc0]
mov byte [ebp - 4], 0xf
call fcn.004071a0
cmp dword [ebp - 0xe4], 8
jb 0x403f46
push dword [ebp - 0xf8]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0xfc], 0x10
mov dword [ebp - 0xe4], 7
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xf8], ax
jb 0x403f7a
push dword [ebp - 0x110]
call fcn.0043f2ce
add esp, 4
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x403ab2
push edi
call fcn.0043f2ce
mov eax, dword [ebp - 0xd4]
add esp, 4
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
jmp 0x403ab2
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.0043f2bf
mov esp, ebp
pop ebp
ret 4