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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e678d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x521104]
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 0x4540dc
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x34]
call fcn.004191f0
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00453960
lea ecx, [ebp - 0x34]
call fcn.0040a450
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.0040a370
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.00453a20
lea ecx, [ebp - 0x34]
call fcn.0040a450
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a450
push 0xffffffffffffffff
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x45427d
mov eax, dword [edi + 0x40]
xor esi, esi
mov dword [ebp - 0x14], 0
test eax, eax
jne 0x4541d4
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 0x4541d6
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 0x4541f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x454251
push 0xffffffffffffffff
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x45429f
lea eax, [ebp - 0x4c]
push eax
lea ecx, [edi + 0x10]
call fcn.004544d0
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00418f20
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x45424f
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x454245
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4542c1
push ecx
push edx
call fcn.004a38d3
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.004a389b
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.00491170
push 0x51dce8
lea eax, [ebp - 0x30]
push eax
call fcn.004a629b
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
call fcn.00491170
push 0x51dce8
lea eax, [ebp - 0x30]
push eax
call fcn.004a629b
call fcn.004b013f
int3