Function at 0x4c2790
Capabilities:
Check http status code
Check os version
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c53e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x30d4
call fcn.004ae530
push ebx
push esi
push edi
push str.CHttpHandle::ExecuteTask
push str..HttpTaskMgr.cpp
mov edi, 1
mov ebx, ecx
call fcn.004bc4a0
call fcn.004c2720
push eax
push str.m_nIEVersion_is__d
push str..HttpTaskMgr.cpp
mov dword [ebx + 0x1c], eax
call fcn.004bc4a0
xor esi, esi
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], esi
mov byte [esp + 0x8c], 0
xor eax, eax
mov dword [esp + 0x30ec], esi
push 0x1fff
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov byte [esp + 0x10e4], al
lea eax, [esp + 0x10e5]
push esi
push eax
mov dword [esp + 0x34], esi
call fcn.0049d900
mov edi, dword [ebp + 8]
add edi, 8
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x4c2875
mov eax, dword [edi + 4]
jmp 0x4c2878
lea eax, [edi + 4]
push eax
push ebx
push str.CHttpHandle_begin__this0x_x__pUrl_s
push 1
push str..HttpTaskMgr.cpp
call fcn.004bc3d0
mov ecx, dword [ebx + 0x20]
add esp, 0x14
push ecx
call dword [0x4cf340]
mov edx, dword [ebx + 0x24]
push edx
call dword [0x4cf340]
push 0xffffffffffffffff
push esi
mov eax, edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], esi
mov word [esp + 0x5c], si
call fcn.00402780
push 0x3c
lea eax, [esp + 0xa8]
push esi
push eax
mov byte [esp + 0x30f8], 1
call fcn.0049d900
mov eax, dword [esp + 0x60]
mov edi, 1
add esp, 0xc
cmp dword [esp + 0x68], 8
mov dword [esp + 0xa4], 0x3c
mov dword [esp + 0xb8], edi
mov dword [esp + 0xd4], edi
jae 0x4c2909
lea eax, [esp + 0x54]
lea ecx, [esp + 0xa4]
push ecx
push esi
push esi
push eax
call dword [0x4cf618]
cmp eax, esi
jne 0x4c2927
mov dword [esp + 0x10], edi
jmp 0x4c2a37
mov edi, dword [esp + 0xb8]
cmp edi, 0x400
jae 0x4c2a2f
cmp dword [esp + 0xd4], 0x400
jae 0x4c2a2f
cmp dword [ebx + 0x10], esi
je 0x4c2a2f
push 0x7fe
lea edx, [esp + 0x8e6]
push esi
push edx
mov word [esp + 0x8ec], si
call fcn.0049d900
mov eax, dword [esp + 0xc0]
add esp, 0xc
push edi
push eax
lea ecx, [esp + 0x8e8]
push ecx
call fcn.00494ae4
mov edx, dword [esp + 0xc4]
add esp, 0xc
push 0x7fe
lea eax, [esp + 0xe6]
push esi
push eax
mov word [esp + edx*2 + 0x8ec], si
mov word [esp + 0xec], si
call fcn.0049d900
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
add esp, 0xc
push ecx
push edx
lea eax, [esp + 0xe8]
push eax
call fcn.00494ae4
mov ecx, dword [esp + 0xe0]
add esp, 0xc
push esi
lea edi, [ebx + 0x18]
push edi
mov word [esp + ecx*2 + 0xe8], si
call dword [0x4cf344]
mov eax, dword [ebx + 0x10]
push ebx
push esi
push 3
push esi
push esi
push esi
lea edx, [esp + 0x8f8]
push edx
push eax
call dword [0x4cf61c]
cmp eax, esi
jne 0x4c2adc
call dword [0x4cf348]
cmp eax, 0x3e5
jne 0x4c2a2f
mov esi, ebx
call fcn.004c22b0
test eax, eax
je 0x4c2ae6
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
push eax
push ebx
push str.ERROR_EXIT__this0x_x__dwErrCode_d
push str..HttpTaskMgr.cpp
mov edi, 1
call fcn.004bc4a0
mov ecx, dword [ebx + 0x14]
lea esi, [ebx + 0x14]
add esp, 0x10
test ecx, ecx
je 0x4c2e80
mov edx, dword [esi]
push edx
call dword [0x4cf614]
push 0
push esi
call dword [0x4cf344]
mov eax, dword [ebx + 0x18]
lea edi, [ebx + 0x18]
push eax
call dword [0x4cf614]
push 0
push edi
mov dword [esp + 0x2c], eax
call dword [0x4cf344]
call dword [0x4cf348]
push 0
push esi
mov edi, eax
call dword [0x4cf344]
mov ecx, dword [esp + 0x24]
push edi
push ecx
push ebx
push str.InternetCloseHandle__this0x_x__bRet_d__LastError_d
push str..HttpTaskMgr.cpp
mov edi, 1
call fcn.004bc4a0
mov eax, dword [ebx + 0x1c]
add esp, 0x14
cmp eax, 6
jg 0x4c2e61
test eax, eax
jle 0x4c2e61
mov edx, dword [ebx + 0x24]
push 0x64
push edx
jmp 0x4c2e67
push eax
push edi
call dword [0x4cf344]
jmp 0x4c2ae8
xor esi, esi
mov ecx, dword [ebx + 0x20]
push ecx
call dword [0x4cf340]
mov eax, dword [ebp + 8]
add eax, 0x28
cmp dword [eax + 0x18], 8
mov dword [esp + 0x10], eax
jb 0x4c2b07
mov eax, dword [eax + 4]
jmp 0x4c2b0a
add eax, 4
push ebx
push 0x4000000
push esi
push esi
push str.HTTP_1.0
lea edx, [esp + 0xf4]
push edx
push eax
mov eax, dword [edi]
push eax
call dword [0x4cf5fc]
cmp eax, esi
jne 0x4c2b50
mov edi, dword [0x4cf348]
call edi
cmp eax, 0x3e5
jne 0x4c2a2f
mov esi, ebx
call fcn.004c22b0
test eax, eax
je 0x4c2b61
jmp 0x4c2a2f
push eax
lea ecx, [ebx + 0x14]
push ecx
call dword [0x4cf344]
mov edi, dword [0x4cf348]
mov edx, dword [ebx + 0x20]
push edx
call dword [0x4cf340]
mov ecx, dword [esp + 0x10]
mov esi, str.POST
call fcn.00403870
test al, al
je 0x4c2c66
mov edx, str.Connection:_Close_r_nContent_Type:_application_x_www_form_urlencoded
lea eax, [esp + 0x6c]
call fcn.00402960
mov eax, dword [ebp + 8]
mov byte [esp + 0x30ec], 2
cmp dword [eax + 0x5c], 0x10
mov edx, dword [eax + 0x58]
jb 0x4c2ba8
mov eax, dword [eax + 0x48]
jmp 0x4c2bab
add eax, 0x48
cmp dword [esp + 0x84], 8
mov ecx, dword [esp + 0x70]
jae 0x4c2bbd
lea ecx, [esp + 0x70]
push edx
push eax
mov eax, dword [esp + 0x88]
push eax
push ecx
mov ecx, dword [ebx + 0x14]
push ecx
call dword [0x4cf600]
test eax, eax
jne 0x4c2c08
call edi
cmp eax, 0x3e5
jne 0x4c2bea
mov esi, ebx
call fcn.004c22b0
test eax, eax
je 0x4c2c08
lea esi, [esp + 0x6c]
mov dword [esp + 0x10], 1
mov byte [esp + 0x30ec], 1
call fcn.00451d80
jmp 0x4c2a37
lea esi, [esp + 0x6c]
mov byte [esp + 0x30ec], 1
call fcn.00451d80
mov edx, dword [ebx + 0x14]
mov esi, dword [0x4cf604]
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x20000013
push edx
mov dword [esp + 0x30], 4
call esi
test eax, eax
mov edi, 1
jne 0x4c2ccd
push str.CHttpHandle_error3
push str..HttpTaskMgr.cpp
call fcn.004bc4a0
add esp, 8
mov dword [esp + 0x10], edi
jmp 0x4c2a37
mov ecx, dword [esp + 0x10]
mov esi, 0x4d34c8
call fcn.00403870
test al, al
je 0x4c2c19
mov edx, dword [ebx + 0x14]
push 0
push 0
push 0
push 0
push edx
call dword [0x4cf600]
test eax, eax
jne 0x4c2c19
call edi
cmp eax, 0x3e5
jne 0x4c2a2f
mov esi, ebx
call fcn.004c22b0
test eax, eax
je 0x4c2c19
call edi
push eax
push str.CHttpHandle_error_GET__dwLastError_d
push str..HttpTaskMgr.cpp
mov edi, 1
call fcn.004bc4a0
add esp, 0xc
mov dword [esp + 0x10], edi
jmp 0x4c2a37
mov eax, dword [esp + 0x18]
push eax
push str.HttpQueryInfo__return_StatusCode_d
push str..HttpTaskMgr.cpp
call fcn.004bc4a0
add esp, 0xc
cmp dword [esp + 0x18], 0xc8
je 0x4c2cf8
push str.CHttpHandle_error4
jmp 0x4c2c50
mov eax, dword [ebx + 0x14]
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x20000005
push eax
mov dword [esp + 0x34], 4
call esi
test eax, eax
jne 0x4c2d2c
cmp dword [ebx + 0x2c], eax
je 0x4c2dc0
mov dword [esp + 0x14], 0x2000
mov ecx, dword [esp + 0x14]
push ecx
push str.HttpQueryInfo__return_ContentLength_d
push str..HttpTaskMgr.cpp
call fcn.004bc4a0
mov esi, dword [esp + 0x20]
add esp, 0xc
test esi, esi
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x10], esi
jbe 0x4c2e1a
cmp esi, 0x2000
lea edx, [esp + 0x10e0]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
jb 0x4c2d7a
mov dword [esp + 0x40], 0x2000
mov eax, dword [ebx + 0x20]
push eax
call dword [0x4cf340]
mov edx, dword [ebx + 0x14]
push ebx
push edi
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [0x4cf608]
test eax, eax
jne 0x4c2dca
call dword [0x4cf348]
cmp eax, 0x3e5
jne 0x4c2e31
mov esi, ebx
call fcn.004c22b0
test eax, eax
mov edi, 1
jne 0x4c2e27
mov esi, dword [esp + 0x10]
jmp 0x4c2dda
push str.CHttpHandle_error5
jmp 0x4c2c50
mov eax, dword [ebx + 0x28]
push 0
push eax
call dword [0x4cf2ec]
test eax, eax
je 0x4c2e4d
mov ecx, dword [esp + 0x40]
push esi
push ecx
push str.InternetReadFileEx__recvlen_d__leftlen_d
push str..HttpTaskMgr.cpp
call fcn.004bc4a0
mov eax, dword [esp + 0x50]
add esp, 0x10
test eax, eax
jbe 0x4c2e57
mov edx, dword [esp + 0x3c]
push eax
push edx
lea eax, [esp + 0x90]
call fcn.0041ed80
sub esi, dword [esp + 0x40]
mov dword [esp + 0x10], esi
jne 0x4c2d5b
mov dword [esp + 0x10], 0
jmp 0x4c2a37
push str.CHttpHandle_error7
jmp 0x4c2c50
push eax
push str.CHttpHandle_error8__dwLastError_d
push str..HttpTaskMgr.cpp
call fcn.004bc4a0
add esp, 0xc
mov dword [esp + 0x10], edi
jmp 0x4c2a37
push str.CHttpHandle_error9
jmp 0x4c2c50
push str.CHttpHandle_error10
jmp 0x4c2c50
mov eax, dword [ebx + 0x24]
push 0xffffffffffffffff
push eax
call dword [0x4cf2ec]
push ebx
push str.InternetCloseHandle__wait_return__this0x_x
push str..HttpTaskMgr.cpp
call fcn.004bc4a0
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
je 0x4c2ea2
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx]
mov eax, dword [eax]
mov edx, dword [edx]
lea esi, [esp + 0x88]
push esi
mov esi, dword [esp + 0x14]
push esi
push eax
call edx
xor eax, eax
cmp dword [esp + 0x10], eax
sete al
cmp dword [esp + 0x68], 8
mov esi, eax
jb 0x4c2ec1
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00493b60
add esp, 4
xor eax, eax
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
jb 0x4c2eee
mov edx, dword [esp + 0x8c]
push edx
call fcn.00493b60
add esp, 4
mov ecx, dword [esp + 0x30e4]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4