Function at 0x451b30
Capabilities:
Get process heap force flags
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e31cd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x51c100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0x10
lea edx, [eax + 0x18]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], ecx
movzx ecx, word [eax + 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x14], ecx
jb 0x451b8c
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x34]
call fcn.004193b0
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00451410
lea ecx, [ebp - 0x34]
call fcn.0040a590
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x58], ax
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
mov edi, dword [edi]
push 4
mov esi, dword [esi + 4]
push str.POST
sub esi, edi
mov dword [ebp - 0x24], eax
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], eax
call fcn.0040a4a0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push esi
push edi
push dword [ebp - 0x3c]
mov edi, dword [ebp - 0x18]
mov ecx, edi
push eax
push dword [ebp - 0x40]
call fcn.004514d0
lea ecx, [ebp - 0x34]
call fcn.0040a590
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a590
push 0xffffffffffffffff
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x451d2d
mov eax, dword [edi + 0x40]
xor esi, esi
mov dword [ebp - 0x14], 0
test eax, eax
jne 0x451c84
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x20000013
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x451c86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
cmove eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x451ca6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x451d01
push 0xffffffffffffffff
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x451d4f
lea eax, [ebp - 0x4c]
push eax
lea ecx, [edi + 0x10]
call fcn.00451f70
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.004192a0
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x451cff
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x451cf5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451d71
push ecx
push edx
call fcn.004a05b3
add esp, 8
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
cmove eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a057b
mov esp, ebp
pop ebp
ret 0x10
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048def0
push 0x518f50
lea eax, [ebp - 0x30]
push eax
call fcn.004a2f8b
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048def0
push 0x518f50
lea eax, [ebp - 0x30]
push eax
call fcn.004a2f8b
call fcn.004ace5f
int3