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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd878
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x505034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0x10
lea edx, [eax + 0x18]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
movzx edi, word [eax + 0x30]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x34], ecx
jb 0x4550e7
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x30]
call fcn.00422630
add esp, 8
push edi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00454920
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x45514c
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455142
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4553b2
push edx
push ecx
call fcn.00479e95
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x18]
push 4
push str.POST
mov dword [ebp - 0x20], 0
mov edi, dword [eax]
mov esi, dword [eax + 4]
xor eax, eax
sub esi, edi
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00415170
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
push ebx
push esi
push edi
push dword [ebp - 0x34]
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
mov ecx, edi
call fcn.004549c0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4551f1
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4551e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4553b7
push edx
push ecx
call fcn.00479e95
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp edx, 8
jb 0x455246
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45523c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4553b7
push edx
push ecx
call fcn.00479e95
add esp, 8
push 0xffffffffffffffff
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4553bc
mov ecx, dword [edi + 0x40]
xor esi, esi
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x45526e
mov esi, ecx
jmp 0x45529b
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x20000013
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x45529b
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 - 0x18]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4552be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x455385
push 0xffffffffffffffff
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4553de
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 0x10]
call fcn.00455670
mov esi, eax
cmp ebx, esi
je 0x45534f
mov ecx, dword [ebx]
test ecx, ecx
je 0x45532b
mov edx, dword [ebx + 8]
sub edx, ecx
cmp edx, 0x1000
jb 0x45530d
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x455400
mov ecx, edi
push edx
push ecx
call fcn.00479e95
mov dword [ebx], 0
add esp, 8
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x455383
mov edx, dword [ebp - 0x3c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x455379
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455400
push edx
push ecx
call fcn.00479e95
add esp, 8
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
cmove eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00479e61
mov esp, ebp
pop ebp
ret 0x10
call fcn.0049b19a
call fcn.0049b19a
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046c6b0
push 0x50271c
lea eax, [ebp - 0x2c]
push eax
call fcn.00491d27
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046c6b0
push 0x50271c
lea eax, [ebp - 0x2c]
push eax
call fcn.00491d27
call fcn.0049b19a
int3