Function at 0x440af2
Capabilities:
Access peb ldr_data
Connect to http server
Create http request
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x445764
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x4602c0]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push esi
mov eax, dword [0x4602c0]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
lea eax, [edi + 0xd8]
mov esi, 0x44df68
push esi
xor ebx, ebx
mov dword [esp + 0x28], ebx
push eax
mov dword [esp + 0x2c], eax
call fcn.00401f7a
push esi
push edi
call fcn.00401f7a
push esi
lea eax, [edi + 0x1c]
push eax
call fcn.00401f7a
push ebx
push ebx
push ebx
push ebx
push 0x450c28
mov dword [edi + 0xd0], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x440bfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x44]
call fcn.0043139f
push eax
lea eax, [esp + 0x64]
push str.Error_initializing_inet_
push eax
mov dword [esp + 0x124], ebx
call fcn.004032fc
add esp, 0xc
push dword [esp + 0x24]
mov byte [esp + 0x11c], 1
call fcn.00401918
push ebx
push 1
lea esi, [esp + 0x68]
call fcn.0040115a
or dword [esp + 0x118], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x4c]
call fcn.0040115a
mov ecx, dword [esp + 0x10]
push 0x44e5a0
call fcn.0040189b
jmp 0x441105
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp + 0x14]
push ecx
push 2
push eax
call esi
push 4
lea eax, [ebp + 0x14]
push eax
push 5
push dword [esp + 0x18]
call esi
push 4
lea eax, [ebp + 0x14]
push eax
push 6
push dword [esp + 0x18]
call esi
push 4
lea eax, [ebp + 0x14]
push eax
push 7
push dword [esp + 0x18]
call esi
push 4
lea eax, [ebp + 0x14]
push eax
push 8
push dword [esp + 0x18]
call esi
push 8
pop esi
cmp dword [edi + 0x8c], esi
jb 0x440c56
mov edx, dword [edi + 0x78]
jmp 0x440c59
lea edx, [edi + 0x78]
cmp dword [edi + 0x70], esi
jb 0x440c63
mov ecx, dword [edi + 0x5c]
jmp 0x440c66
lea ecx, [edi + 0x5c]
lea eax, [edi + 0x90]
cmp dword [eax + 0x18], esi
jb 0x440c76
mov eax, dword [eax + 4]
jmp 0x440c79
add eax, 4
push ebx
push ebx
push 3
push edx
push ecx
movzx ecx, word [edi + 0xc8]
push ecx
push eax
push dword [esp + 0x28]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x440d07
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x60]
call fcn.0043139f
push eax
lea eax, [esp + 0x48]
push str.Error_connecting_
push eax
mov dword [esp + 0x124], 2
call fcn.004032fc
add esp, 0xc
push dword [esp + 0x24]
mov byte [esp + 0x11c], 3
call fcn.00401918
push ebx
push 1
lea esi, [esp + 0x4c]
call fcn.0040115a
or dword [esp + 0x118], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x68]
call fcn.0040115a
push dword [esp + 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x440bea
push ebx
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], 0xf
call fcn.004017e9
or dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x118], 4
cmp dword [edi + 0x108], ebx
je 0x440df1
lea eax, [edi + 0xf4]
cmp dword [eax + 0x18], esi
jb 0x440d4b
mov eax, dword [eax + 4]
jmp 0x440d4e
add eax, 4
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x440df1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x60]
call fcn.0043139f
push eax
lea eax, [esp + 0x48]
push str.Error_writing_file_
push eax
mov byte [esp + 0x124], 5
call fcn.004032fc
add esp, 0xc
push dword [esp + 0x24]
mov byte [esp + 0x11c], 6
call fcn.00401918
push ebx
push 1
lea esi, [esp + 0x4c]
call fcn.0040115a
push ebx
push 1
lea esi, [esp + 0x68]
mov byte [esp + 0x120], 4
call fcn.0040115a
push dword [esp + 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [esp + 0xc]
call esi
mov ecx, dword [esp + 0x10]
push 0x44e5a0
call fcn.0040189b
jmp 0x4410f6
mov eax, dword [edi + 0x144]
cmp eax, ebx
je 0x440ee0
push ebx
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.00431351
add esp, 0xc
mov esi, eax
push 0x450cd4
push dword [esp + 0x30]
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x124], 7
call fcn.0040326b
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x124], 8
call fcn.004032b1
add esp, 0xc
push 0x450cd0
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x124], 9
call fcn.0040326b
add esp, 0xc
push 1
push dword [esp + 0x20]
lea ecx, [esp + 0xf4]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push dword [esp + 0x30]
mov edx, edi
mov byte [esp + 0x12c], 0xa
call fcn.004401cf
mov ecx, dword [edi + 0x144]
xor esi, esi
add eax, ecx
adc edx, esi
push ebx
push 1
lea esi, [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call fcn.0040115a
push ebx
push 1
lea esi, [esp + 0x68]
call fcn.0040115a
push ebx
push 1
lea esi, [esp + 0x84]
call fcn.0040115a
push ebx
push 1
lea esi, [esp + 0xa0]
mov byte [esp + 0x120], 4
call fcn.0040115a
jmp 0x440f09
mov ecx, dword [esp + 0x30]
push 1
push dword [esp + 0x20]
lea eax, [esp + 0xf4]
push eax
push dword [esp + 0x38]
mov edx, edi
push dword [esp + 0x30]
call fcn.004401cf
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov ecx, edi
call fcn.00440a48
mov ecx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
cmp byte [edi + 0x111], bl
jne 0x4410c2
cmp ecx, ebx
jl 0x4410c2
jg 0x440f38
cmp eax, ebx
jbe 0x4410c2
mov eax, dword [edi + 0xd0]
push 0x64
cdq
pop esi
idiv esi
cmp eax, 2
jne 0x4410c2
cmp dword [esp + 0x18], ecx
mov dword [esp + 0x28], ebx
jg 0x4410a0
jge 0x441092
push dword [esp + 0x18]
lea eax, [esp + 0xd4]
push dword [esp + 0x18]
push eax
call fcn.00431351
add esp, 0xc
mov esi, eax
push 0x450cd4
push dword [esp + 0x30]
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x124], 0xb
call fcn.0040326b
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x124], 0xc
call fcn.004032b1
add esp, 0xc
push 0x450cd0
push eax
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0x124], 0xd
call fcn.0040326b
add esp, 0xc
push ebx
push dword [esp + 0x20]
lea ecx, [esp + 0xf4]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push dword [esp + 0x30]
mov edx, edi
mov byte [esp + 0x12c], 0xe
call fcn.004401cf
push ebx
push 1
lea esi, [esp + 0xa0]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call fcn.0040115a
push ebx
push 1
lea esi, [esp + 0x84]
call fcn.0040115a
push ebx
push 1
lea esi, [esp + 0xbc]
call fcn.0040115a
push ebx
push 1
lea esi, [esp + 0xd8]
mov byte [esp + 0x120], 4
call fcn.0040115a
mov eax, dword [esp + 0x40]
cmp eax, ebx
jg 0x441072
jl 0x441055
cmp dword [esp + 0x3c], ebx
ja 0x441072
mov eax, dword [esp + 0x28]
inc dword [esp + 0x28]
cmp eax, dword [edi + 0x118]
jg 0x4410a0
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x441082
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x14], ecx
mov dword [esp + 0x28], ebx
adc dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x38]
jl 0x440f61
jg 0x4410a0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
jb 0x440f61
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
jne 0x4410c2
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x18], eax
jne 0x4410c2
push 0x44df68
push dword [esp + 0x28]
call fcn.00401f7a
cmp dword [esp + 0x1c], 0xffffffff
je 0x4410d3
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [esp + 0xc]
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xec]
push eax
call fcn.0040141a
push ebx
push 1
lea ecx, [esp + 0xf4]
call fcn.00401722
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.0041b811
mov esp, ebp
pop ebp
ret 0x10