Function at 0x4598a8
Capabilities:
Connect to http server
Create http request
Get number of processors
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff984
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x67c], ecx
mov dword [ebp - 0x678], ecx
mov dword [ebp - 0x674], ecx
mov dword [ebp - 0x670], ecx
mov dword [ebp - 0x66c], ecx
mov dword [ebp - 0x668], ecx
mov dword [ebp - 0x664], ecx
mov dword [ebp - 0x660], ecx
mov dword [ebp - 0x654], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
lea esi, [ebp - 0x50]
xor eax, eax
push ebp
push 0x459de1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x459da9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x150]
mov edx, pe_nt_image_headers32
call fcn.00406ab0
lea eax, [ebp - 0x250]
mov edx, pe_nt_image_headers32
call fcn.00406ab0
lea eax, [ebp - 0x350]
mov edx, pe_nt_image_headers32
call fcn.00406ab0
lea eax, [ebp - 0x450]
mov edx, pe_nt_image_headers32
call fcn.00406ab0
lea eax, [ebp - 0x550]
mov edx, pe_nt_image_headers32
call fcn.00406ab0
lea eax, [ebp - 0x650]
mov edx, pe_nt_image_headers32
call fcn.00406ab0
mov dword [esi], 0x3c
lea eax, [ebp - 0x150]
mov dword [esi + 4], eax
lea eax, [ebp - 0x250]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x350]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x450]
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x550]
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x650]
mov dword [esi + 0x34], eax
mov dword [esi + 8], 0xfa
mov dword [esi + 0x14], 0xfa
mov dword [esi + 0x20], 0xfa
mov dword [esi + 0x28], 0xfa
mov dword [esi + 0x30], 0xfa
mov dword [esi + 0x38], 0xfa
xor eax, eax
push ebp
push 0x459d66
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push 0
mov eax, ebx
call fcn.00404370
push eax
mov eax, ebx
call fcn.00404570
push eax
call sub.wininet.dll_InternetCrackUrlA
test eax, eax
jne 0x459a22
mov ecx, 0x459dfc
mov dl, 1
mov eax, dword [0x40709c]
call fcn.0040bae0
call fcn.00403a68
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x65c], eax
mov byte [ebp - 0x658], 6
lea edx, [ebp - 0x65c]
xor ecx, ecx
mov eax, 0x459e18
call fcn.004090b0
mov edx, dword [ebp - 0x654]
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.00404104
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x350]
mov dword [ebp - 0x65c], eax
mov byte [ebp - 0x658], 6
lea edx, [ebp - 0x65c]
xor ecx, ecx
mov eax, 0x459e18
call fcn.004090b0
mov edx, dword [ebp - 0x660]
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00404104
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x450]
mov dword [ebp - 0x65c], eax
mov byte [ebp - 0x658], 6
lea edx, [ebp - 0x65c]
xor ecx, ecx
mov eax, 0x459e18
call fcn.004090b0
mov edx, dword [ebp - 0x664]
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.00404104
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x550]
mov dword [ebp - 0x65c], eax
mov byte [ebp - 0x658], 6
lea edx, [ebp - 0x65c]
xor ecx, ecx
mov eax, 0x459e18
call fcn.004090b0
mov edx, dword [ebp - 0x668]
mov eax, dword [ebp - 4]
add eax, 0x64
call fcn.00404104
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x650]
mov dword [ebp - 0x65c], eax
mov byte [ebp - 0x658], 6
lea edx, [ebp - 0x65c]
xor ecx, ecx
mov eax, 0x459e18
call fcn.004090b0
mov edx, dword [ebp - 0x66c]
mov eax, dword [ebp - 4]
add eax, 0x68
call fcn.00404104
push 0x459e24
push ebx
push 0x459e38
mov eax, dword [ebp - 4]
push dword [eax + 0x58]
push 0x459e48
mov eax, dword [ebp - 4]
push dword [eax + 0x64]
push 0x459e5c
mov eax, dword [ebp - 4]
push dword [eax + 0x68]
push 0x459e74
lea eax, [ebp - 0x670]
mov edx, 9
call fcn.00404430
mov edx, dword [ebp - 0x670]
mov eax, dword [ebp - 4]
call fcn.0045b00c
push 0
push 0
push 0
push 0
push 0x459e78
call sub.wininet.dll_InternetOpenA
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], edi
test edi, edi
jne 0x459bd1
mov ecx, 0x459e88
mov dl, 1
mov eax, dword [0x40709c]
call fcn.0040bae0
call fcn.00403a68
mov dword [ebp - 0x14], 0xea60
push 4
lea eax, [ebp - 0x14]
push eax
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x14]
push eax
push 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wininet.dll_InternetSetOptionA
lea eax, [ebp - 0x674]
mov ecx, ebx
mov edx, 0x459ea0
call fcn.004043bc
mov edx, dword [ebp - 0x674]
mov eax, dword [ebp - 4]
call fcn.0045b00c
push 0x459400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wininet.dll_InternetSetStatusCallback
push 0
push 0
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.00404570
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00404570
push eax
mov ax, word [esi + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00404570
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wininet.dll_InternetConnectA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
test ebx, ebx
jne 0x459c8e
mov ecx, 0x459eb8
mov dl, 1
mov eax, dword [0x40709c]
call fcn.0040bae0
call fcn.00403a68
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x58]
lea eax, [ebp - 0x678]
mov edx, 0x459ed0
call fcn.004043bc
mov edx, dword [ebp - 0x678]
mov eax, dword [ebp - 4]
call fcn.0045b00c
push 0
push 0x80000000
push 0
push 0
push 0x459ee8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x64]
lea eax, [ebp - 0x67c]
call fcn.004043bc
mov eax, dword [ebp - 0x67c]
call fcn.00404570
push eax
push 0x459ef4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
test ebx, ebx
jne 0x459d18
mov ecx, 0x459f00
mov dl, 1
mov eax, dword [0x40709c]
call fcn.0040bae0
call fcn.00403a68
lea eax, [ebp - 0x10]
mov edx, 0x459f18
call fcn.00404148
push 0x10000000
mov eax, dword [ebp - 0x10]
call fcn.00404370
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404570
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
cmp dword [ebp - 0xc], 0
je 0x459d5c
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459d9b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459db0
ret