Function at 0x42c5ab
Capabilities:
Read http header
Receive http response
Set http header

Disassembly:
push 0x360
mov eax, 0x64d060
call fcn.005b47af
mov ebx, ecx
call fcn.0042ca66
test al, al
jne 0x42c5cc
xor al, al
jmp 0x42c9a4
lea edi, [ebx + 0x68]
cmp dword [edi], 2
jne 0x42c61f
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea eax, [ebp - 0xa4]
push 4
push eax
push 0x2d
push dword [ebx + 0x14]
mov dword [ebp - 0xa4], ebx
call esi
push 0
push 0x10000
push 0x42b5d0
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
push 4
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0xa8
push eax
push 0x54
push dword [ebx + 0x14]
call esi
mov eax, dword [ebx + 0x28]
mov esi, str.Http::makeRequest
cmp eax, dword [ebx + 0x2c]
je 0x42c7b1
and dword [ebp - 0x18], 0
xor eax, eax
mov esi, 0x684590
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [0x684590], ax
je 0x42c656
push esi
call fcn.005ff18e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a315
and dword [ebp - 4], 0
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x2c]
jmp 0x42c706
push esi
lea ecx, [ebp - 0xa0]
call fcn.0042b023
push 0x6871dc
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004290f9
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042ab45
push 0x6871e0
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
call fcn.0040bca5
add esp, 0x24
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040c677
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00409de7
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00409de7
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00409de7
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call fcn.0042b292
add esi, 0x30
cmp esi, edi
jne 0x42c66f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x21000000
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x42c799
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 1
push 3
lea ecx, [ebp - 0x15c]
mov dword [ebx + 0x60], eax
call fcn.004078ff
push dword [ebx + 0x60]
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 5
push str.WinHttpAddRequestHeaders_failed__last_error_:
push eax
call fcn.0040710b
pop ecx
pop ecx
mov ecx, eax
call fcn.004129b9
lea eax, [ebp - 0x15c]
mov esi, str.Http::makeRequest
push eax
push esi
push 0x92
push str.D:_build6c589d3ff8507062_srccommonNetworkHttp.cpp
push 0
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x15c]
call fcn.0040843a
jmp 0x42c79e
mov esi, str.Http::makeRequest
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00409de7
lea edi, [ebx + 0x68]
mov ecx, dword [ebx + 0x20]
xor edx, edx
sub ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
push edx
push ecx
push eax
push dword [ebx + 0x1c]
push edx
push edx
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x42c85a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 1
push 3
lea ecx, [ebp - 0x20c]
mov dword [ebx + 0x60], eax
call fcn.004078ff
push edi
push str.__url:
push dword [ebx + 0x60]
lea eax, [ebp - 0x1fc]
mov dword [ebp - 4], 6
push str.WinHttpSendRequest_error:
push eax
call fcn.0040710b
pop ecx
pop ecx
mov ecx, eax
call fcn.004129b9
push eax
call fcn.0040710b
pop ecx
pop ecx
push eax
call fcn.0042e4f7
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
push esi
push 0x99
push str.D:_build6c589d3ff8507062_srccommonNetworkHttp.cpp
push 0
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x20c]
call fcn.0040843a
jmp 0x42c5c5
push 0
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x42c8e6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 1
push 3
lea ecx, [ebp - 0x2bc]
mov dword [ebx + 0x60], eax
call fcn.004078ff
push edi
push str.__url:
push dword [ebx + 0x60]
lea eax, [ebp - 0x2ac]
mov dword [ebp - 4], 7
push str.WinHttpReceiveResponse_error:
push eax
call fcn.0040710b
pop ecx
pop ecx
mov ecx, eax
call fcn.004129b9
push eax
call fcn.0040710b
pop ecx
pop ecx
push eax
call fcn.0042e4f7
pop ecx
pop ecx
lea eax, [ebp - 0x2bc]
push eax
push esi
push 0xa0
push str.D:_build6c589d3ff8507062_srccommonNetworkHttp.cpp
push 0
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x2bc]
jmp 0x42c850
xor ecx, ecx
mov dword [ebp - 0xac], 4
push ecx
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa8], ecx
push eax
lea eax, [ebp - 0xa8]
push eax
push ecx
push 0x20000013
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x42c997
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 1
push 3
lea ecx, [ebp - 0x36c]
mov dword [ebx + 0x60], eax
call fcn.004078ff
push edi
push str.__url:
push dword [ebx + 0x60]
lea eax, [ebp - 0x35c]
mov dword [ebp - 4], 8
push str.WinHttpQueryHeaders_error:
push eax
call fcn.0040710b
pop ecx
pop ecx
mov ecx, eax
call fcn.004129b9
push eax
call fcn.0040710b
pop ecx
pop ecx
push eax
call fcn.0042e4f7
pop ecx
pop ecx
lea eax, [ebp - 0x36c]
push eax
push esi
push 0xab
push str.D:_build6c589d3ff8507062_srccommonNetworkHttp.cpp
push 0
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x36c]
jmp 0x42c850
mov cx, word [ebp - 0xa8]
mov al, 1
mov word [ebx + 0x18], cx
call fcn.005b4759
ret