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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7c3d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x522104]
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 0x45532c
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x34]
call fcn.00419980
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00454bb0
lea ecx, [ebp - 0x34]
call fcn.0040ab30
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.0040aa50
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.00454c70
lea ecx, [ebp - 0x34]
call fcn.0040ab30
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ab30
push 0xffffffffffffffff
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4554cd
mov eax, dword [edi + 0x40]
xor esi, esi
mov dword [ebp - 0x14], 0
test eax, eax
jne 0x455424
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 0x455426
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 0x455446
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4554a1
push 0xffffffffffffffff
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4554ef
lea eax, [ebp - 0x4c]
push eax
lea ecx, [edi + 0x10]
call fcn.00455720
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00419680
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x45549f
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x455495
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455511
push ecx
push edx
call fcn.004a4c93
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.004a4c5b
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.00492530
push 0x51f1f8
lea eax, [ebp - 0x30]
push eax
call fcn.004a765b
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
call fcn.00492530
push 0x51f1f8
lea eax, [ebp - 0x30]
push eax
call fcn.004a765b
call fcn.004b14ff
int3