Function at 0x487e30
Capabilities:
Get system information on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx], vtable.CMessageCallbackSink_class_CECHttpDownloader_.0
lea ecx, [ebx + 8]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call fcn.004894f0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebx + 8], eax
push 0
mov dword [ebx + 4], ebx
mov dword [ebx + 0x10], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x487faf
push 0x800
lea eax, [ebp - 0x804]
mov dword [ebp - 0x834], 0
push 0
push eax
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x838], 0x30
mov dword [ebp - 0x824], 0x400000
call fcn.004c4ac0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.Q360SoftMgrMsgDelegateWnd_d
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00483070
add esp, 0x10
mov dword [ebp - 0x830], 0x4898a0
lea eax, [ebp - 0x804]
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x824]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x810]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [ebx + 0x10], eax
call edi
test eax, eax
je 0x487faf
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push 0xffffffffffffffeb
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x487fa4
call esi
push 0
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x14]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push ecx
mov dword [eax + 0x10], ecx
push eax
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x487fe7
call esi
test eax, eax
jle 0x487fe1
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x4881e6
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
call fcn.004894f0
mov dword [ebx + 0x2c], eax
lea edi, [ebx + 0x34]
xor eax, eax
mov dword [edi], vtable.ATL::CThreadPool_class_CECHttpDownloader::CDownloadWorker__class_ATL::CRTThreadTraits__class_ATL::Win32WaitTraits_.0
mov dword [edi + 4], 0
lea esi, [edi + 0x14]
mov dword [edi + 8], 0
lea ecx, [ebx + 8]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x30], 0x8ca0
mov dword [ebx + 0x78], eax
lea eax, [ebp - 0x808]
push eax
mov dword [ebp - 0x808], 0x547
call fcn.004883e0
lea ecx, [ebx + 8]
mov dword [eax], 0x488e60
lea eax, [ebp - 0x808]
push eax
mov dword [ebp - 0x808], 0x548
call fcn.004883e0
mov dword [eax], 0x488e60
xor eax, eax
mov dword [ebp - 0x85c], eax
mov dword [ebp - 0x858], eax
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], eax
lea eax, [ebp - 0x85c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x848]
test eax, eax
jne 0x4880e9
mov eax, 1
mov dword [ebp - 0x848], eax
add eax, 2
cmp dword [edi + 0x40], 0
mov dword [ebp - 0x808], eax
jne 0x4881d3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x488123
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x48811d
movzx eax, ax
or eax, 0x80070000
test eax, eax
jne 0x4881d3
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x488157
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.00486030
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c20c9
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x808]
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x40], eax
test eax, eax
jne 0x488198
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00486030
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c20c9
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x808]
mov eax, dword [edi]
push edi
mov dword [edi + 0x34], ebx
mov dword [edi + 0x2c], 0
call dword [eax + 0xc]
test eax, eax
je 0x4881d3
push dword [edi + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [edi + 0x14]
mov dword [edi + 0x40], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 0x3c]
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c20c9
mov esp, ebp
pop ebp
ret
push eax
call fcn.004831b0
int3