Function at 0x661eb43a
Capabilities:
Get file system object information
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6623deab
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x66274018]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push esi
push edi
mov eax, dword [0x66274018]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x4c0]
lea eax, [esp + 0x38]
push eax
mov eax, dword [edi + 0x160]
mov dword [esp + 0x34], edi
call fcn.661cd471
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0x350], 2
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x2a]
push edx
push eax
mov esi, eax
call dword [ecx + 0x1c]
xor ebx, ebx
cmp eax, ebx
jge 0x661eb4ca
push 0x6624a178
push esi
push eax
call fcn.661c679d
cmp word [esp + 0x2a], bx
jne 0x661eb4dd
mov ecx, edi
call fcn.661ebe97
jmp 0x661ebe45
mov eax, dword [edi + 0x160]
push ebx
push eax
xor al, al
call fcn.661cf689
cmp eax, 6
je 0x661eb4fd
push eax
push edi
call fcn.661ec077
jmp 0x661ebe45
lea eax, [esp + 0x48]
push eax
call fcn.661e1acb
mov byte [esp + 0x350], 3
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x34]
push edi
call fcn.661ef10f
test al, al
jne 0x661eb52d
push edi
call fcn.661ec439
jmp 0x661ebe33
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x350], 5
jmp 0x661eb5c7
push dword [edi + 0x4c0]
lea ecx, [esp + 0x4c]
push edi
call fcn.661ef363
test eax, eax
mov dword [esp + 0x20], eax
jl 0x661eb5de
push eax
lea esi, [esp + 0x4c]
call fcn.661e5614
push dword [eax]
mov edi, dword [edi + 0x160]
lea eax, [esp + 0x38]
push eax
call fcn.661cd58c
mov byte [esp + 0x350], 6
push eax
lea ebx, [esp + 0x20]
call fcn.661dbe1a
mov byte [esp + 0x350], 5
lea eax, [esp + 0x34]
push eax
call fcn.661dba03
mov eax, ebx
push eax
call fcn.661db452
test word [eax + 0x24], 0x4000
jne 0x661eb5ee
mov eax, ebx
push eax
call fcn.661db452
test byte [eax + 0x24], 1
jne 0x661eb5fc
mov eax, dword [esp + 0x20]
mov ebx, esi
call fcn.66201eba
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x4c], 1
jge 0x661eb53e
mov ecx, edi
call fcn.661eb063
jmp 0x661ebe21
lea eax, [esp + 0x48]
push eax
push edi
call fcn.661ec647
jmp 0x661ebe21
push dword [esp + 0x2c]
call fcn.661ec439
jmp 0x661ebe21
push dword [esp + 0x20]
lea esi, [esp + 0x4c]
call fcn.661e5614
add eax, 8
push eax
call fcn.661db452
add eax, 8
call fcn.661dd744
xor edi, edi
cmp dword [esp + 0x4c], edi
mov ebx, eax
jle 0x661eb65e
push edi
lea esi, [esp + 0x4c]
call fcn.661e5614
lea esi, [eax + 8]
push esi
call fcn.661db452
add eax, 8
call fcn.661dd744
push ebx
push eax
call dword [sym.imp.GrooveUtil.DLL_public:_static_bool___stdcall_raw_GCStr::Equals_wchar_t_const___wchar_t_const__]
test al, al
je 0x661eb657
push esi
call fcn.661db452
add eax, 0x24
and dword [eax], 0xfffffffd
inc edi
cmp edi, dword [esp + 0x4c]
jl 0x661eb624
lea eax, [esp + 0x1c]
push eax
call fcn.661db452
test byte [eax + 0x24], 0x10
je 0x661eb689
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x24]
lea edx, [esp + 0x50]
call fcn.661eca69
jmp 0x661ebe21
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x4c0]
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.66215ce5
test al, al
je 0x661eb6b6
push 0
push dword [esp + 0x38]
push 0x8008
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebx + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
jmp 0x661eb6c5
mov esi, eax
push eax
call edi
test eax, eax
jne 0x661eb6c2
lea eax, [esp + 0x1c]
push eax
call fcn.661db452
test byte [eax + 0x24], 0x20
lea eax, [ebx + 0x144]
mov dword [esp + 0x40], eax
mov eax, dword [eax]
lea ecx, [eax + 0xc]
je 0x661eb71a
push 1
push str.Flashing
call fcn.661e6cbb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x661eb760
push 0x14
pop edi
push edi
lea eax, [esp + 0x68]
push 0
push eax
call sub.MSVCR80.dll_memset
mov dword [esp + 0x78], 0xf
jmp 0x661eb745
push 0
push str.Flashing
call fcn.661e6cbb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x661eb760
push 0x14
pop edi
push edi
lea eax, [esp + 0x68]
push 0
push eax
call sub.MSVCR80.dll_memset
and dword [esp + 0x78], 0
mov eax, dword [0x6628022c]
add esp, 0xc
test eax, eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
je 0x661eb760
lea ecx, [esp + 0x64]
push ecx
call eax
push dword [esp + 0x20]
lea esi, [esp + 0x4c]
call fcn.661e5614
mov esi, eax
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x48], esi
call fcn.661ebe7b
mov eax, dword [esi + 4]
push 0x210
push 0x2b4
lea ecx, [esp + 0x8c]
push ecx
push 0x10
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
and dword [esp + 0x24], 0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::Set_wchar_t_const__]
mov byte [esp + 0x350], 7
mov eax, dword [ebx + 0x134]
push 1
push dword [esp + 0x24]
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.661f3f68
lea esi, [ebx + 0x4d8]
lea edi, [esp + 0x48]
call fcn.661e55cd
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x13c]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.661f4f03
lea eax, [esp + 0x1c]
push eax
call fcn.661db452
add eax, 8
call fcn.661dd744
push eax
lea ecx, [esp + 0x64]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::constructor_wchar_t_const__]
mov byte [esp + 0x350], 8
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x1b], 0
call fcn.661db452
test byte [eax + 0x24], 8
je 0x661eb839
mov byte [esp + 0x17], 1
and dword [esp + 0x5c], 0
mov byte [esp + 0x350], 0xb
mov edi, dword [esp + 0x44]
mov eax, dword [edi]
lea ecx, [esp + 0x5c]
push ecx
push eax
push dword [ebx + 0x160]
call fcn.661cd49c
test al, al
mov byte [esp + 0x2a], 0
je 0x661eb8de
push dword [esp + 0x5c]
lea eax, [esp + 0x68]
push eax
call fcn.661e6ae0
mov byte [esp + 0x350], 0xc
and dword [esp + 0x18], 0
mov byte [esp + 0x350], 0xd
lea eax, [esp + 0x18]
push eax
push 0x66240154
lea eax, [esp + 0x6c]
call fcn.661e6c91
test al, al
je 0x661eb8b3
push 0xa
push dword [esp + 0x1c]
call dword [sym.imp.GrooveUtil.DLL_public:_static_long_int___stdcall_raw_GCStr::StringToLong_wchar_t_const___long_int_]
test eax, eax
setne byte [esp + 0x2a]
mov byte [esp + 0x350], 0xc
cmp dword [esp + 0x18], 0
je 0x661eb8cc
lea ecx, [esp + 0x18]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
mov byte [esp + 0x350], 0xb
lea eax, [esp + 0x64]
push eax
call fcn.661e7ac5
and dword [esp + 0x3c], 0
mov byte [esp + 0x350], 0xe
cmp byte [esp + 0x2a], 0
mov dword [esp + 0x58], str.SyncErrors
jne 0x661eb902
mov dword [esp + 0x58], str.NoSyncErrors
cmp byte [esp + 0x17], 0
mov dword [esp + 0x34], str.CanInvite
jne 0x661eb919
mov dword [esp + 0x34], str.CannotInvite
mov edx, dword [esp + 0x60]
test edx, edx
mov eax, dword [sym.imp.GrooveUtil.DLL_wchar_t_const__const_raw_GCStr::SAFE_EMPTY_STRING_CBSTR]
jne 0x661eb928
mov edx, dword [eax]
mov ecx, dword [edi]
test ecx, ecx
jne 0x661eb930
mov ecx, dword [eax]
cmp dword [esp + 0x24], 0
jne 0x661eb93b
mov eax, dword [eax]
jmp 0x661eb93f
mov eax, dword [esp + 0x24]
push dword [esp + 0x58]
push dword [esp + 0x38]
push edx
push ecx
push eax
lea eax, [esp + 0x50]
push str.Session:_s:_s:_s:_s:_s
push eax
call dword [sym.imp.GrooveUtil.DLL_public:_long_int___cdecl_GCStr::Format_wchar_t_const__]
add esp, 0x1c
lea eax, [esp + 0x78]
push eax
call fcn.661cd073
mov byte [esp + 0x350], 0xf
push dword [esp + 0x3c]
mov edi, dword [sym.imp.GrooveUtil.DLL_public:_bool___thiscall_GCStr::Equals_wchar_t_const__const]
lea ecx, [ebx + 0x228]
mov dword [esp + 0x5c], ecx
call edi
test al, al
jne 0x661ebda8
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
lea ecx, [ebx + 0x4fc]
push eax
mov dword [esp + 0x38], ecx
call edi
test al, al
jne 0x661eb9e5
push dword [esp + 0x20]
mov edi, dword [ebx + 0x148]
mov byte [ebx + 0x518], al
call fcn.661e5614
mov ebx, eax
call fcn.661f5ba5
mov esi, dword [esp + 0x2c]
lea edi, [esi + 0x14c]
push dword [edi]
call fcn.661f6170
mov esi, dword [esi + 0x148]
mov al, byte [esi + 0x74]
mov ecx, dword [edi]
call fcn.661f6124
mov ebx, dword [esp + 0x2c]
lea edi, [ebx + 0x138]
mov eax, dword [edi]
xor esi, esi
cmp dword [eax + 0x64], 1
jge 0x661eba30
mov eax, dword [ebx + 0x13c]
cmp eax, esi
je 0x661eba09
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebx + 0x13c]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
mov dword [ecx], eax
mov byte [esp + 0x354], 0x10
mov eax, dword [edi]
push eax
mov byte [esp + 0x358], 0xf
call fcn.661f38b0
push 0x64
call dword [sym.imp.GrooveNew.DLL_void____cdecl_GrooveNew_unsigned_int_]
pop ecx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x350], 0x11
cmp eax, esi
je 0x661eba57
push eax
call fcn.661e7e35
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x661eba5d
xor edi, edi
mov dword [esp + 0x20], edi
mov byte [esp + 0x350], 0xf
mov dword [esp + 0x2c], edi
mov byte [esp + 0x350], 0x12
cmp byte [esp + 0x17], 0
je 0x661eba93
push esi
push 5
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push 0x195d
push edi
mov dword [eax], 0x6d
call fcn.661f2f0f
push esi
push 6
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push 0x1951
push edi
mov dword [eax], 0x6f
call fcn.661f2f0f
lea eax, [esp + 0x18]
push eax
call fcn.661e42dc
mov byte [esp + 0x350], 0x13
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x661ebacf
mov eax, dword [sym.imp.GrooveUtil.DLL_wchar_t_const__const_raw_GCStr::SAFE_EMPTY_STRING_CBSTR]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1c]
push 0x1954
push eax
call fcn.661e1823
add esp, 0xc
push 0x6e
pop eax
push 1
push 0xa
push eax
push dword [esp + 0x24]
push edi
call fcn.661f78a9
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x661ebb03
mov eax, dword [sym.imp.GrooveUtil.DLL_wchar_t_const__const_raw_GCStr::SAFE_EMPTY_STRING_CBSTR]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1c]
push 0x195e
push eax
call fcn.661e1823
add esp, 0xc
push esi
push 7
mov eax, 0x81
push eax
push dword [esp + 0x24]
push edi
call fcn.661f78a9
cmp byte [esp + 0x2a], 0
je 0x661ebb65
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x661ebb3f
mov eax, dword [sym.imp.GrooveUtil.DLL_wchar_t_const__const_raw_GCStr::SAFE_EMPTY_STRING_CBSTR]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1c]
push 0x195c
push eax
call fcn.661e1823
add esp, 0xc
push esi
push 8
mov eax, 0x8b
push eax
push dword [esp + 0x24]
push edi
call fcn.661f78a9
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x661ebb74
mov eax, dword [sym.imp.GrooveUtil.DLL_wchar_t_const__const_raw_GCStr::SAFE_EMPTY_STRING_CBSTR]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1c]
push 0x1952
push eax
call fcn.661e1823
add esp, 0xc
push 0x76
pop eax
push esi
push 9
push eax
push dword [esp + 0x24]
push edi
call fcn.661f78a9
lea edi, [ebx + 0x130]
push dword [edi]
call fcn.661f38fd
mov eax, dword [ebx + 0x134]
cmp eax, esi
je 0x661ebbb9
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebx + 0x134]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx], eax
mov byte [esp + 0x354], 0x14
mov eax, dword [edi]
push eax
mov byte [esp + 0x358], 0x13
call fcn.661f38b0
lea esi, [ebx + 0x138]
call fcn.661f728f
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx], eax
mov byte [esp + 0x354], 0x15
mov eax, dword [edi]
push eax
mov byte [esp + 0x358], 0x13
call fcn.661f38b0
cmp dword [esp + 0x20], 0
je 0x661ebc21
mov eax, dword [esp + 0x20]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [esp + 0x3c], esp
mov dword [eax], ecx
mov byte [esp + 0x354], 0x16
mov eax, dword [edi]
push eax
mov byte [esp + 0x358], 0x13
call fcn.661f38b0
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
cmp dword [esi + 0x64], 1
jge 0x661ebcee
push dword [esi + 4]
mov byte [esi + 0x48], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661ebc74
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea esi, [ebx + 0x148]
mov eax, dword [esi]
test eax, eax
je 0x661ebc8a
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx], eax
mov byte [esp + 0x354], 0x17
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
push eax
mov byte [esp + 0x358], 0x13
call fcn.661f38b0
lea esi, [ebx + 0x14c]
mov eax, dword [esi]
test eax, eax
je 0x661ebcc7
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esi]
push ecx
mov eax, esp
mov dword [esp + 0x3c], esp
mov dword [eax], esi
mov byte [esp + 0x354], 0x18
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
push eax
mov byte [esp + 0x358], 0x13
call fcn.661f38b0
mov esi, ebx
call fcn.661e89d6
mov esi, edi
call fcn.661f728f
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx], eax
mov byte [esp + 0x354], 0x19
lea edi, [ebx + 0x18]
push 0x194e
push edi
mov byte [esp + 0x35c], 0x13
call fcn.661f69d0
mov esi, dword [esp + 0x40]
call fcn.661f728f
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx], eax
mov byte [esp + 0x354], 0x1a
push 0x191e
push edi
mov byte [esp + 0x35c], 0x13
call fcn.661f69d0
push dword [esp + 0x34]
mov eax, dword [esp + 0x48]
call fcn.661e682a
mov eax, dword [esp + 0x24]
and dword [esp + 0x24], 0
push eax
lea esi, [ebx + 0x500]
call fcn.661c7c67
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
and dword [esp + 0x3c], 0
push eax
call fcn.661c7c67
mov byte [esp + 0x350], 0x12
lea eax, [esp + 0x18]
push eax
call fcn.661e18db
mov byte [esp + 0x350], 0xf
lea esi, [esp + 0x2c]
call fcn.661f72a2
push dword [esp + 0x44]
mov ecx, ebx
call fcn.661ecf31
mov byte [esp + 0x350], 0xe
lea eax, [esp + 0x78]
push eax
call fcn.661cd09c
mov byte [esp + 0x350], 0xb
xor esi, esi
cmp dword [esp + 0x3c], esi
je 0x661ebddf
lea ecx, [esp + 0x3c]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
mov byte [esp + 0x350], 8
lea eax, [esp + 0x5c]
push eax
call fcn.661c7d37
mov byte [esp + 0x350], 7
cmp dword [esp + 0x60], esi
je 0x661ebe09
lea ecx, [esp + 0x60]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
mov byte [esp + 0x350], 5
cmp dword [esp + 0x24], esi
je 0x661ebe21
lea ecx, [esp + 0x24]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
mov byte [esp + 0x350], 3
lea eax, [esp + 0x1c]
push eax
call fcn.661dba03
mov byte [esp + 0x350], 2
lea eax, [esp + 0x48]
push eax
call fcn.661e1af3
or dword [esp + 0x350], 0xffffffff
lea eax, [esp + 0x30]
push eax
call fcn.661c7d37
mov ecx, dword [esp + 0x348]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.66229806
mov esp, ebp
pop ebp
ret