Function at 0x402c90
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d16e
mov eax, dword fs:[0]
push eax
sub esp, 0x534
mov eax, dword [0x476028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x534], eax
lea eax, [esi + 0xc0]
mov dword [ebp - 0x514], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x402ceb
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0xec], 8
lea eax, [esi + 0xd8]
mov dword [eax + 0x10], ecx
jb 0x402d04
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x18]
mov dword [esi + 0xf0], ecx
cmp dword [eax + 0x14], 8
jb 0x402d1a
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
test ebx, ebx
jne 0x4030b6
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004014c0
mov dword [ebp - 0xc0], 0x46aaac
mov dword [ebp - 0xb0], 0x46aaa4
mov dword [ebp - 4], ebx
xorps xmm0, xmm0
push ebx
push ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x514], 1
mov dword [ebp - 0x58], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x5c], 0x50
movlpd qword [ebp - 0xb8], xmm0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0x201
mov dword [ebp - 0x40], 6
mov dword [ebp - 0x3c], ebx
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0040dd70
push 4
call fcn.0043f40d
mov esi, eax
add esp, 4
test esi, esi
je 0x402dc8
push 1
mov dword [esi], ebx
call fcn.0042b207
add esp, 4
mov dword [esi], eax
jmp 0x402dca
xor esi, esi
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], 0
call fcn.0040d900
push eax
mov dword [ebp - 4], 3
call fcn.0040d4c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x518]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x402e1d
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x402e1d
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 - 0x20], 0
mov word [ebp - 0x18], ax
jne 0x402e41
mov eax, dword [ebp - 0x4c]
or eax, 4
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.0040dd70
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xb4], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xc4], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.00407110
mov dword [ebp - 0xa8], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
xor edx, edx
lea ecx, [ebp - 0x510]
mov dword [ebp - 4], 8
call fcn.004212e0
mov esi, eax
mov edx, str.Error_WinHttpOpen:
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 9
call fcn.0040a140
mov edx, esi
mov ecx, eax
call fcn.0040a400
cmp dword [ebp - 0x4fc], 8
jb 0x402f2a
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
mov dword [ebp - 0x51c], 7
mov dword [ebp - 0x520], 0
mov word [ebp - 0x530], ax
mov byte [ebp - 4], 0xa
cmp dword [0x477564], 8
mov eax, dword [0x477560]
mov esi, 0x477550
mov edx, esi
cmovae edx, dword [0x477550]
cmovae esi, dword [0x477550]
lea eax, [edx + eax*2]
push eax
push esi
lea ecx, [ebp - 0x530]
call fcn.0040adb0
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
call fcn.00404d90
lea edx, [ebp - 0x530]
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0041edd0
cmp dword [ebp - 0x4fc], 8
jb 0x402fba
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0x51c], 8
mov dword [ebp - 0x4fc], 7
mov dword [ebp - 0x500], 0
mov word [ebp - 0x510], ax
jb 0x402fee
push dword [ebp - 0x530]
call fcn.0043f2ce
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.00404e10
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xc4], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xb4], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xc4], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.0042af96
add esp, 4
xor al, al
jmp 0x403a52
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x4033a9
push ecx
lea ecx, [ebp - 0x188]
call fcn.004014c0
mov dword [ebp - 0x188], 0x46aaac
mov dword [ebp - 0x178], 0x46aaa4
mov dword [ebp - 4], 0xd
xorps xmm0, xmm0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x514], 0x10
mov dword [ebp - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x124], 0x50
movlpd qword [ebp - 0x180], xmm0
call fcn.0040bf70
lea eax, [ebp - 0x170]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0xe4], 0
call fcn.0040d900
push eax
mov dword [ebp - 4], 0x10
call fcn.0040d4c0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x518]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x40318d
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x40318d
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 - 0xe8], 0
mov word [ebp - 0xe0], ax
jne 0x4031bd
mov eax, dword [ebp - 0x114]
or eax, 4
push 0
push eax
lea ecx, [ebp - 0x120]
call fcn.0040dd70
mov eax, dword [ebp - 0x178]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x17c], eax
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x18c], eax
mov dword [ebp - 4], 0x13
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x18c], eax
lea ecx, [ebp - 0x170]
call fcn.00407110
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 - 0x138], 0
mov dword [ebp - 0x134], 0
xor edx, edx
lea ecx, [ebp - 0x510]
mov dword [ebp - 4], 0x15
call fcn.004212e0
mov esi, eax
mov edx, str.Error_WinHttpSetTimeouts:
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x16
call fcn.0040a140
mov edx, esi
mov ecx, eax
call fcn.0040a400
cmp dword [ebp - 0x4fc], 8
jb 0x4032ac
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
mov dword [ebp - 0x51c], 7
mov dword [ebp - 0x520], 0
mov word [ebp - 0x530], ax
mov byte [ebp - 4], 0x17
cmp dword [0x477564], 8
mov eax, dword [0x477560]
mov esi, 0x477550
mov edx, esi
cmovae edx, dword [0x477550]
cmovae esi, dword [0x477550]
lea eax, [edx + eax*2]
push eax
push esi
lea ecx, [ebp - 0x530]
call fcn.0040adb0
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x18
call fcn.00404d90
lea edx, [ebp - 0x530]
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.0041edd0
cmp dword [ebp - 0x4fc], 8
jb 0x40333c
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0x51c], 8
mov dword [ebp - 0x4fc], 7
mov dword [ebp - 0x500], 0
mov word [ebp - 0x510], ax
jb 0x403370
push dword [ebp - 0x530]
call fcn.0043f2ce
add esp, 4
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
call fcn.00404d10
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::ios_base.0
lea eax, [ebp - 0x120]
push eax
call fcn.0042af96
add esp, 4
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x403a52
cmp dword [esi + 0x5c], 8
lea eax, [esi + 0x48]
jb 0x4033b4
mov eax, dword [eax]
push 0
push 0x50
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x514], eax
test eax, eax
jne 0x40351d
push ecx
lea ecx, [ebp - 0x238]
call fcn.004014c0
sub esp, 8
lea ecx, [ebp - 0x238]
call fcn.00404c60
xor edx, edx
lea ecx, [ebp - 0x510]
mov dword [ebp - 4], 0x1a
call fcn.004212e0
mov esi, eax
mov edx, str.Error_WinHttpConnect:
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0x1b
call fcn.0040a140
mov edx, esi
mov ecx, eax
call fcn.0040a400
cmp dword [ebp - 0x4fc], 8
jb 0x403432
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
mov dword [ebp - 0x51c], 7
mov dword [ebp - 0x520], 0
mov word [ebp - 0x530], ax
mov byte [ebp - 4], 0x1c
cmp dword [0x477564], 8
mov eax, dword [0x477560]
mov esi, 0x477550
mov edx, esi
cmovae edx, dword [0x477550]
cmovae esi, dword [0x477550]
lea eax, [edx + eax*2]
push eax
push esi
lea ecx, [ebp - 0x530]
call fcn.0040adb0
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x1d
call fcn.00404d90
lea edx, [ebp - 0x530]
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.0041edd0
cmp dword [ebp - 0x4fc], 8
jb 0x4034c2
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0x51c], 8
mov dword [ebp - 0x4fc], 7
mov dword [ebp - 0x500], 0
mov word [ebp - 0x510], ax
jb 0x4034f6
push dword [ebp - 0x530]
call fcn.0043f2ce
add esp, 4
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 4], 0xffffffff
call fcn.00404d10
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::ios_base.0
lea eax, [ebp - 0x1d0]
jmp 0x403392
cmp dword [esi + 0xa4], 8
lea ecx, [esi + 0x90]
jb 0x40352e
mov ecx, dword [ecx]
cmp dword [edi + 0x14], 8
jb 0x403536
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push ecx
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
jne 0x4036bc
push ecx
lea ecx, [ebp - 0x2e8]
call fcn.004014c0
sub esp, 8
lea ecx, [ebp - 0x2e8]
call fcn.00404c60
xor edx, edx
lea ecx, [ebp - 0x510]
mov dword [ebp - 4], 0x1f
call fcn.004212e0
mov esi, eax
mov edx, str.Error_WinHttpOpenRequest:
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0x20
call fcn.0040a140
mov edx, esi
mov ecx, eax
call fcn.0040a400
cmp dword [ebp - 0x4fc], 8
jb 0x4035b5
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
mov dword [ebp - 0x51c], 7
mov dword [ebp - 0x520], 0
mov word [ebp - 0x530], ax
mov byte [ebp - 4], 0x21
cmp dword [0x477564], 8
mov eax, dword [0x477560]
mov esi, 0x477550
mov edx, esi
cmovae edx, dword [0x477550]
cmovae esi, dword [0x477550]
lea eax, [edx + eax*2]
push eax
push esi
lea ecx, [ebp - 0x530]
call fcn.0040adb0
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x22
call fcn.00404d90
lea edx, [ebp - 0x530]
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.0041edd0
cmp dword [ebp - 0x4fc], 8
jb 0x403645
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0x51c], 8
mov dword [ebp - 0x4fc], 7
mov dword [ebp - 0x500], 0
mov word [ebp - 0x510], ax
jb 0x403679
push dword [ebp - 0x530]
call fcn.0043f2ce
add esp, 4
lea ecx, [ebp - 0x280]
mov dword [ebp - 4], 0xffffffff
call fcn.00404d10
lea eax, [ebp - 0x280]
push eax
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::ios_base.0
call fcn.0042af96
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 4
push dword [ebp - 0x514]
call esi
push ebx
call esi
xor al, al
jmp 0x403a52
mov ecx, dword [ebp - 0x534]
push ecx
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x518], eax
call fcn.004014c0
sub esp, 8
lea ecx, [ebp - 0x4f8]
call fcn.00404c60
mov dword [ebp - 4], 0x24
push dword [ebp - 0x518]
mov edx, str.Content_Length:
push ecx
lea ecx, [ebp - 0x4e8]
call fcn.0040a140
add esp, 4
mov ecx, eax
call fcn.004047d0
mov edx, 0x46a798
mov ecx, eax
call fcn.0040a670
mov edx, str.Content_Type:_multipart_encrypted_r_n
mov ecx, eax
call fcn.0040a140
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.00404d90
mov eax, dword [ebp - 0x534]
mov byte [ebp - 4], 0x25
mov edx, dword [eax]
push 0
cmp edx, dword [eax + 4]
jne 0x403758
push 0
push 0
push 0
push 0
push 0
jmp 0x40377c
mov ecx, dword [ebp - 0x518]
cmp dword [ebp - 0xc4], 8
push ecx
push ecx
push edx
push dword [ebp - 0xc8]
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x4038d4
push ecx
lea ecx, [ebp - 0x448]
call fcn.004014c0
sub esp, 8
lea ecx, [ebp - 0x448]
call fcn.00404c60
xor edx, edx
lea ecx, [ebp - 0x510]
mov byte [ebp - 4], 0x26
call fcn.004212e0
mov esi, eax
mov edx, str.Error_WinHttpSendRequest:
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x27
call fcn.0040a140
mov edx, esi
mov ecx, eax
call fcn.0040a400
cmp dword [ebp - 0x4fc], 8
jb 0x4037ec
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
mov dword [ebp - 0x51c], 7
mov dword [ebp - 0x520], 0
mov word [ebp - 0x530], ax
mov byte [ebp - 4], 0x28
cmp dword [0x477564], 8
mov eax, dword [0x477560]
mov esi, 0x477550
mov edx, esi
cmovae edx, dword [0x477550]
cmovae esi, dword [0x477550]
lea eax, [edx + eax*2]
push eax
push esi
lea ecx, [ebp - 0x530]
call fcn.0040adb0
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0x29
call fcn.00404d90
lea edx, [ebp - 0x530]
mov ecx, eax
mov byte [ebp - 4], 0x2a
call fcn.0041edd0
cmp dword [ebp - 0x4fc], 8
jb 0x40387c
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0x51c], 8
mov dword [ebp - 0x4fc], 7
mov dword [ebp - 0x500], 0
mov word [ebp - 0x510], ax
jb 0x4038b0
push dword [ebp - 0x530]
call fcn.0043f2ce
add esp, 4
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 0x25
call fcn.00404d10
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::ios_base.0
lea eax, [ebp - 0x3e0]
jmp 0x4039eb
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x403a0c
push ecx
lea ecx, [ebp - 0x398]
call fcn.004014c0
sub esp, 8
lea ecx, [ebp - 0x398]
call fcn.00404c60
xor edx, edx
lea ecx, [ebp - 0x510]
mov byte [ebp - 4], 0x2b
call fcn.004212e0
mov esi, eax
mov edx, str.Error_WinHttpReceiveResponse:
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0x2c
call fcn.0040a140
mov edx, esi
mov ecx, eax
call fcn.0040a400
mov byte [ebp - 4], 0x2b
cmp dword [ebp - 0x4fc], 8
jb 0x40394a
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
push 0x477550
lea ecx, [ebp - 0x530]
call fcn.00404bb0
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0x2d
call fcn.00404d90
lea edx, [ebp - 0x530]
mov ecx, eax
mov byte [ebp - 4], 0x2e
call fcn.0041edd0
cmp dword [ebp - 0x4fc], 8
jb 0x403998
push dword [ebp - 0x510]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0x51c], 8
mov dword [ebp - 0x4fc], 7
mov dword [ebp - 0x500], 0
mov word [ebp - 0x510], ax
jb 0x4039cc
push dword [ebp - 0x530]
call fcn.0043f2ce
add esp, 4
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 0x25
call fcn.00404d10
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::ios_base.0
lea eax, [ebp - 0x330]
push eax
call fcn.0042af96
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 4
push edi
call esi
push dword [ebp - 0x514]
call esi
push ebx
call esi
xor bl, bl
jmp 0x403a3a
push edi
mov ecx, esi
call fcn.00404400
push edi
mov ecx, esi
call fcn.00404610
push edi
mov ecx, esi
call fcn.00403a70
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
push dword [ebp - 0x514]
call esi
push ebx
call esi
mov bl, 1
lea ecx, [ebp - 0xd8]
call fcn.00404c30
lea ecx, [ebp - 0x4f8]
call fcn.004014a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f2bf
mov esp, ebp
pop ebp
ret 8