Function at 0x446d84
Capabilities:
Check http status code
Read http header
Receive http response
Set http header

Disassembly:
sub esp, 0x20c
push ebp
push edi
mov edi, ecx
mov dword [esp + 0x10], 4
xor ebp, ebp
mov dword [esp + 8], ebp
cmp dword [edi + 0x10], ebp
jne 0x446da8
xor eax, eax
jmp 0x446fe7
push ebx
push esi
push ebp
call fcn.004233e0
mov ebx, dword [esp + 0x224]
pop ecx
mov dword [edi + 0x350], eax
mov ecx, ebx
mov dword [edi + 0x354], edx
lea eax, [esp + 0x14]
mov esi, dword [ebx + 4]
push 2
push eax
shr esi, 1
mov dword [esp + 0x1c], ebp
call fcn.0040b91d
push 0xa0000000
push esi
push dword [ebx]
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x446e34
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
lea eax, [edi + 0x360]
push esi
push str._s:_u_add_header_failed___u_
push eax
call fcn.0040c813
add esp, 0x14
cmp dword [ebx], ebp
je 0x446e2c
cmp dword [ebx + 4], ebp
je 0x446e2c
push dword [ebx + 4]
push ebp
push dword [ebx]
call fcn.004183a0
add esp, 0xc
mov dword [ebx + 4], ebp
jmp 0x446f65
cmp dword [ebx], ebp
je 0x446e4b
cmp dword [ebx + 4], ebp
je 0x446e4b
push dword [ebx + 4]
push ebp
push dword [ebx]
call fcn.004183a0
add esp, 0xc
mov dword [ebx + 4], ebp
mov esi, 0x79e
mov eax, dword [edi + 0x224]
mov ebx, 0x1bb
cmp eax, ebx
je 0x446e66
cmp eax, esi
jne 0x446e9f
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
push 0x1f
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x446e9f
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
push esi
push str._s:_u_set_security_options_failed___u_
jmp 0x446f56
push ebp
push dword [esp + 0x22c]
push dword [esp + 0x230]
push dword [esp + 0x230]
push ebp
push ebp
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x446edc
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
push esi
push str._s:_u_send_request_failed___u_
jmp 0x446f56
cmp byte [edi + 0x359], 0
jne 0x446efa
mov eax, dword [edi + 0x224]
cmp eax, ebx
je 0x446ef3
cmp eax, esi
jne 0x446efa
mov byte [edi + 0x359], 1
push ebp
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x446f20
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
push esi
push str._s:_u_receive_response_failed___u_
jmp 0x446f56
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [esp + 0x18]
push ebp
push eax
lea eax, [esp + 0x18]
push eax
push ebp
push 0x20000013
push dword [edi + 0x10]
call esi
test eax, eax
jne 0x446f69
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
push esi
push str._s:_u_query_status_failed___u_
lea eax, [edi + 0x360]
push eax
call fcn.0040c813
add esp, 0x14
xor eax, eax
jmp 0x446fe5
cmp dword [esp + 0x10], 0xc8
je 0x446fe1
mov ebx, 0x200
lea eax, [esp + 0x1c]
push ebx
push ebp
push eax
call fcn.004183a0
add esp, 0xc
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push ebp
push eax
lea eax, [esp + 0x24]
push eax
push ebp
push 0x14
push dword [edi + 0x10]
call esi
mov edx, dword [edi + 0x224]
lea ecx, [edi + 0x360]
test eax, eax
je 0x446fcb
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
push edx
push dword [edi + 0x18]
push str._s:_u_send_failed___u:__s_
push ecx
call fcn.0040c813
add esp, 0x18
jmp 0x446fe1
push dword [esp + 0x10]
push edx
push dword [edi + 0x18]
push str._s:_u_send_failed___u_
push ecx
call fcn.0040c813
add esp, 0x14
mov eax, dword [esp + 0x10]
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x20c
ret 0xc