Function at 0x437b66
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Send data
Send http request

Disassembly:
push 0x4c
mov eax, 0x65fe25
call fcn.005bea6f
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
push 7
pop edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x34], ebx
cmovae eax, dword [ebp - 0x44]
xor ecx, ecx
mov byte [ebp - 4], 0x20
mov word [eax], cx
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x1c], ebx
cmovae eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x3e
mov word [eax], cx
sub esp, 0x18
mov byte [ebp - 4], 0x3f
lea eax, [ebp + 0x28]
mov dword [ebp - 0x58], esp
mov ecx, esp
push eax
call fcn.0041bd4a
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x40
push eax
push ecx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x3f
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00437a69
test eax, eax
je 0x437d59
push ebx
push ebx
push ebx
push ebx
push 0x838528
mov dword [ebp - 0x50], 2
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi], eax
test eax, eax
je 0x437d59
mov byte [ebp - 4], 0x73
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push ebx
cmovae eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0x3f
push dword [ebp - 0x48]
push eax
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esi + 4], eax
test eax, eax
je 0x437d59
lea eax, [ebp + 0x28]
push eax
push esi
call fcn.00437f3e
test al, al
je 0x437d59
mov byte [ebp - 4], 0xa8
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xab
lea ecx, [ebp + 0x10]
cmp dword [ebp + 0x24], 8
mov ebx, 0x1bb
cmovae ecx, dword [ebp + 0x10]
xor eax, eax
mov byte [ebp - 4], 0x3f
cmp word [ebp - 0x48], bx
mov ebx, 0x800000
cmove eax, ebx
xor ebx, ebx
push eax
push ebx
push ebx
push ebx
push edx
push ecx
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 8], eax
test eax, eax
je 0x437d59
push 4
lea ecx, [ebp - 0x50]
push ecx
push 0x3f
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x437d59
mov ecx, esi
call fcn.00437dd1
test eax, eax
je 0x437d59
mov ecx, dword [ebp + 0x68]
push ebx
test ecx, ecx
je 0x437dc9
cmp dword [ebp + 0x6c], 0x10
lea eax, [ebp + 0x58]
push ecx
cmovae eax, dword [ebp + 0x58]
push ecx
push eax
push ebx
push ebx
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x437d59
cmp dword [ebp + 0xc], ebx
je 0x437d22
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], ebx
push eax
push dword [ebp + 0xc]
push edi
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x437d59
push ebx
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x437d59
push ebx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x4c], ebx
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], 4
push eax
push ebx
push 0x20000013
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov esi, dword [ebp - 0x4c]
test eax, eax
jne 0x437d5b
mov esi, ebx
xor edi, edi
mov dword [ebp - 4], 0x176
push ebx
inc edi
lea ecx, [ebp - 0x2c]
push edi
call fcn.0041746a
push ebx
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x17b
call fcn.0041746a
push ebx
push edi
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], pe_nt_image_headers32
call fcn.0041746a
push ebx
push edi
lea ecx, [ebp + 0x28]
mov dword [ebp - 4], 0x185
call fcn.0041746a
push ebx
push edi
lea ecx, [ebp + 0x40]
mov dword [ebp - 4], 0x18a
call fcn.0041746a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.0041bd9d
mov eax, esi
call fcn.005bea19
ret 0x68
push ebx
push ebx
push ebx
jmp 0x437cf6