Function at 0x436a86
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 0x43e790
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x455534]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push esi
mov eax, dword [0x455534]
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, 0x44668c
push esi
xor ebx, ebx
mov dword [esp + 0x28], ebx
push eax
mov dword [esp + 0x2c], eax
call fcn.004020fc
push esi
push edi
call fcn.004020fc
push esi
lea eax, [edi + 0x1c]
push eax
call fcn.004020fc
push ebx
push ebx
push ebx
push ebx
push 0x449198
mov dword [edi + 0xd0], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x436b91
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x44]
call fcn.00423a1f
push eax
lea eax, [esp + 0x64]
push str.Error_initializing_inet_
push eax
mov dword [esp + 0x124], ebx
call fcn.00403c93
add esp, 0xc
push dword [esp + 0x24]
mov byte [esp + 0x11c], 1
call fcn.00401938
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 0x446bf0
call fcn.004018b3
jmp 0x437099
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 0x436bea
mov edx, dword [edi + 0x78]
jmp 0x436bed
lea edx, [edi + 0x78]
cmp dword [edi + 0x70], esi
jb 0x436bf7
mov ecx, dword [edi + 0x5c]
jmp 0x436bfa
lea ecx, [edi + 0x5c]
lea eax, [edi + 0x90]
cmp dword [eax + 0x18], esi
jb 0x436c0a
mov eax, dword [eax + 4]
jmp 0x436c0d
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 0x436c9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x60]
call fcn.00423a1f
push eax
lea eax, [esp + 0x48]
push str.Error_connecting_
push eax
mov dword [esp + 0x124], 2
call fcn.00403c93
add esp, 0xc
push dword [esp + 0x24]
mov byte [esp + 0x11c], 3
call fcn.00401938
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 0x436b7e
push ebx
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], 0xf
call fcn.00401801
or dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x118], 4
cmp dword [edi + 0x108], ebx
je 0x436d85
lea eax, [edi + 0xf4]
cmp dword [eax + 0x18], esi
jb 0x436cdf
mov eax, dword [eax + 4]
jmp 0x436ce2
add eax, 4
push 0x80
push 2
push ebx
push 0x40000000
push eax
call fcn.00422d23
add esp, 0x14
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x436d85
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x60]
call fcn.00423a1f
push eax
lea eax, [esp + 0x48]
push str.Error_creating_file_
push eax
mov byte [esp + 0x124], 5
call fcn.00403c93
add esp, 0xc
push dword [esp + 0x24]
mov byte [esp + 0x11c], 6
call fcn.00401938
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 0x446bf0
call fcn.004018b3
jmp 0x43708a
mov eax, dword [edi + 0x144]
cmp eax, ebx
je 0x436e74
push ebx
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.004239d1
add esp, 0xc
mov esi, eax
push 0x449244
push dword [esp + 0x30]
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x124], 7
call fcn.00403c02
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x124], 8
call fcn.00403c48
add esp, 0xc
push 0x449240
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x124], 9
call fcn.00403c02
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.00436131
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 0x436e9d
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.00436131
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov ecx, edi
call fcn.004369d9
mov ecx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
cmp byte [edi + 0x111], bl
jne 0x437056
cmp ecx, ebx
jl 0x437056
jg 0x436ecc
cmp eax, ebx
jbe 0x437056
mov eax, dword [edi + 0xd0]
push 0x64
cdq
pop esi
idiv esi
cmp eax, 2
jne 0x437056
cmp dword [esp + 0x18], ecx
mov dword [esp + 0x28], ebx
jg 0x437034
jge 0x437026
push dword [esp + 0x18]
lea eax, [esp + 0xd4]
push dword [esp + 0x18]
push eax
call fcn.004239d1
add esp, 0xc
mov esi, eax
push 0x449244
push dword [esp + 0x30]
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x124], 0xb
call fcn.00403c02
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x124], 0xc
call fcn.00403c48
add esp, 0xc
push 0x449240
push eax
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0x124], 0xd
call fcn.00403c02
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.00436131
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 0x437006
jl 0x436fe9
cmp dword [esp + 0x3c], ebx
ja 0x437006
mov eax, dword [esp + 0x28]
inc dword [esp + 0x28]
cmp eax, dword [edi + 0x118]
jg 0x437034
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x437016
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 0x436ef5
jg 0x437034
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
jb 0x436ef5
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
jne 0x437056
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x18], eax
jne 0x437056
push 0x44668c
push dword [esp + 0x28]
call fcn.004020fc
cmp dword [esp + 0x1c], 0xffffffff
je 0x437067
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.00401424
push ebx
push 1
lea ecx, [esp + 0xf4]
call fcn.0040173a
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.00410f21
mov esp, ebp
pop ebp
ret 0x10