Function at 0x480250
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b93ce
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x4e2018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
lea esi, [edi + 8]
mov dword [edi], vtable.CMessageCallbackSink_class_CHttpDownloader_.0
push 0x18
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004865a5
add esp, 4
mov ecx, edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 4], edi
mov dword [edi + 0x10], 0
call fcn.00481a30
push 0
lea eax, [edi + 0x14]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
movups xmmword [eax], xmm0
push eax
movq qword [eax + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
test eax, eax
jne 0x480312
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x48030c
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x4804ea
lea esi, [edi + 0x2c]
mov byte [ebp - 4], 1
push 0x18
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004865a5
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
add edi, 0x34
xorps xmm0, xmm0
lea eax, [edi + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], vtable.ATL::CThreadPool_class_CHttpDownloader::CDownloadWorker__class_ATL::CRTThreadTraits__class_ATL::Win32WaitTraits_.0
mov dword [edi + 0x10], 0
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0x8ca0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
mov esi, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x14], 0x547
lea ecx, [esi + 8]
mov dword [esi + 0x78], 0
call fcn.00481180
lea ecx, [esi + 8]
mov dword [eax], 0x480910
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x548
call fcn.00481180
xorps xmm0, xmm0
mov dword [eax], 0x480910
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x2c]
mov ecx, 1
test eax, eax
cmove eax, ecx
mov dword [ebp - 0x2c], eax
add eax, 2
cmp dword [edi + 0x40], 0
mov dword [ebp - 0x14], eax
jne 0x4804d4
push 0
push 0
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
test eax, eax
jne 0x480444
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x48043e
movzx eax, ax
or eax, 0x80070000
test eax, eax
jne 0x4804d4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x480469
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.0040b8c0
jmp 0x4804d4
push dword [ebp - 0x14]
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x40], eax
test eax, eax
jne 0x480499
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040b8c0
jmp 0x4804d4
push dword [ebp - 0x14]
mov eax, dword [edi]
push edi
mov dword [edi + 0x34], esi
mov dword [edi + 0x2c], 0
call dword [eax + 0xc]
test eax, eax
je 0x4804d4
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 esi, dword [ebp - 0x18]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
call fcn.00404610
int3