Function at 0x48f700
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db2ce
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x5060c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea esi, [edi + 8]
mov dword [edi], vtable.CMessageCallbackSink_class_CHttpDownloader_.0
push 0x18
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a2383
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.00490d50
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 0x48f7ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x48f7a8
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x48f9b5
lea esi, [edi + 0x2c]
mov byte [ebp - 4], 1
push 0x18
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a2383
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 - 0x18], 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 - 0x10]
mov esi, dword [ebp - 0x14]
push eax
mov dword [ebp - 0x10], 0x547
lea ecx, [esi + 8]
mov dword [esi + 0x78], 0
call fcn.0040f930
lea ecx, [esi + 8]
mov dword [eax], 0x490060
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x548
call fcn.0040f930
xorps xmm0, xmm0
mov dword [eax], 0x490060
lea eax, [ebp - 0x3c]
push eax
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x28]
mov ecx, 1
test eax, eax
cmove eax, ecx
mov dword [ebp - 0x28], eax
add eax, 2
cmp dword [edi + 0x40], 0
mov dword [ebp - 0x10], eax
jne 0x48f9a2
push 0
push 0
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
test eax, eax
jne 0x48f8e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x48f8da
movzx eax, ax
or eax, 0x80070000
test eax, eax
jne 0x48f9a2
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x48f916
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.00489e30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x40], eax
test eax, eax
jne 0x48f957
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.00489e30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push dword [ebp - 0x10]
mov dword [edi + 0x34], esi
mov dword [edi + 0x2c], 0
mov eax, dword [eax + 0xc]
push edi
cmp eax, fcn.004905e0
jne 0x48f978
call fcn.004905e0
jmp 0x48f97a
call eax
test eax, eax
je 0x48f9a2
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 - 0x14]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
call fcn.00404ea0
int3