Function at 0x44fe20
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0625
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x3c]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push 0
push ecx
lea edx, [eax + 0x108]
mov dword [ebp - 0x3c], 4
push edx
push 0
push 0x20000013
push dword [eax + 0x168]
call esi
test eax, eax
jne 0x44febb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 4]
cmp dword [ecx + 0xec], 0
jne 0x44fea9
mov dword [ecx + 0xec], eax
mov ecx, dword [edi + 4]
push 0x13
push 0x4af3dc
add ecx, 0xf0
call fcn.00437aa0
mov eax, dword [edi + 4]
mov dword [eax + 0x108], 0
jmp 0x4501e4
mov eax, dword [edi + 4]
lea edx, [ebp - 0x3c]
push 0
push edx
mov dword [ebp - 0x3c], 4
lea ecx, [eax + 0x110]
push ecx
push 0
push 0x20000005
push dword [eax + 0x168]
call esi
test eax, eax
jne 0x44fef2
mov eax, dword [edi + 4]
mov dword [eax + 0x110], 0xffffffff
mov eax, dword [edi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x3c], 0x10
push 0
mov dword [eax + 0x114], 0
mov dword [eax + 0x118], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [edi + 4]
push 0
push 0x4000000b
push dword [eax + 0x168]
call esi
test eax, eax
je 0x44ff4a
mov eax, dword [edi + 4]
add eax, 0x114
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
mov eax, dword [edi + 4]
push 0
push 0
push 0x15
push dword [eax + 0x168]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4501b7
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x40], esi
test esi, esi
je 0x4501b7
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
cmp esi, 0x7fffffff
ja 0x450201
cmp esi, 0xf
ja 0x44ffcb
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push 0
push eax
mov dword [ebp - 0x14], 0xf
call fcn.00477ac0
add esp, 0xc
mov byte [ebp + esi - 0x28], 0
jmp 0x45001b
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x44ffdd
mov esi, SysReAllocString
jmp 0x44ffe7
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004017b0
mov ecx, dword [ebp - 0x44]
mov esi, eax
mov eax, dword [ebp - 0x40]
push eax
push 0
push esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call fcn.00477ac0
mov eax, dword [ebp - 0x40]
add esp, 0x14
mov byte [esi + eax], 0
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x3c]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
push 0
push edx
push ecx
push 0
push 0x15
push dword [eax + 0x168]
mov dword [ebp - 4], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4501a8
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
shr ecx, 1
cmp dword [ebp - 0x14], 0xf
push ecx
cmova eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00459c60
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
call fcn.0044ed20
mov esi, dword [edi + 4]
add esp, 0x14
add esi, 0x128
mov dword [ebp - 0x40], eax
mov edi, eax
cmp esi, edi
je 0x4500ec
mov ecx, esi
call fcn.00451070
mov ecx, dword [edi]
mov dword [esi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x14], ecx
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x18], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x1c], eax
mov dword [edi + 0x1c], ecx
lea ecx, [ebp - 0x70]
call fcn.0044cf30
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x45019c
mov edi, dword [ebp - 0x4c]
cmp esi, edi
je 0x45015c
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x45013f
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x450135
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450206
mov eax, edx
push ecx
push eax
call fcn.004759b5
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x450106
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x450192
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450206
push ecx
push esi
call fcn.004759b5
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004033c0
mov al, 1
jmp 0x4501e6
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004033c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 4]
cmp dword [ecx + 0xec], 0
jne 0x4501e4
mov dword [ecx + 0xec], eax
mov ecx, dword [edi + 4]
push 0x13
push 0x4af3dc
add ecx, 0xf0
call fcn.00437aa0
xor al, al
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.004759c3
mov esp, ebp
pop ebp
ret
call fcn.004015a0
call fcn.0047abff
int3