Function at 0x4537d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f230d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x54d104]
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 0x45382c
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x34]
call fcn.00418760
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004530b0
lea ecx, [ebp - 0x34]
call fcn.0040aa40
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.0040a960
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.00453170
lea ecx, [ebp - 0x34]
call fcn.0040aa40
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0040aa40
push 0xffffffffffffffff
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4539cd
mov eax, dword [edi + 0x40]
xor esi, esi
mov dword [ebp - 0x14], 0
test eax, eax
jne 0x453924
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 0x453926
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 0x453946
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4539a1
push 0xffffffffffffffff
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4539ef
lea eax, [ebp - 0x4c]
push eax
lea ecx, [edi + 0x10]
call fcn.00453c20
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00418460
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x45399f
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x453995
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453a11
push ecx
push edx
call fcn.004af3e3
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.004af3ab
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.00495870
push 0x549cdc
lea eax, [ebp - 0x30]
push eax
call fcn.004b1dab
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
call fcn.00495870
push 0x549cdc
lea eax, [ebp - 0x30]
push eax
call fcn.004b1dab
call fcn.004bbc4f
int3