Function at 0x661fb4ec
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 0x6624f2eb
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x66286018]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push esi
push edi
mov eax, dword [0x66286018]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x4bc]
lea eax, [esp + 0x38]
push eax
mov eax, dword [edi + 0x15c]
mov dword [esp + 0x34], edi
call fcn.661dcfe2
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 0x661fb57c
push 0x6625b528
push esi
push eax
call fcn.661d63be
cmp word [esp + 0x2a], bx
jne 0x661fb58f
mov ecx, edi
call fcn.661fbf2a
jmp 0x661fbef4
mov eax, dword [edi + 0x15c]
push ebx
push eax
xor al, al
call fcn.661df1b3
cmp eax, 6
je 0x661fb5af
push eax
push edi
call fcn.661fc10a
jmp 0x661fbef4
lea eax, [esp + 0x48]
push eax
call fcn.661f1ccb
mov byte [esp + 0x350], 3
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x34]
push edi
call fcn.661ff1cd
test al, al
jne 0x661fb5df
push edi
call fcn.661fc4cc
jmp 0x661fbee2
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x350], 5
jmp 0x661fb679
push dword [edi + 0x4bc]
lea ecx, [esp + 0x4c]
push edi
call fcn.661ff421
test eax, eax
mov dword [esp + 0x20], eax
jl 0x661fb68f
push eax
lea esi, [esp + 0x4c]
call fcn.661f58f0
push dword [eax]
mov edi, dword [edi + 0x15c]
lea eax, [esp + 0x38]
push eax
call fcn.661dd0fd
mov byte [esp + 0x350], 6
push eax
lea ebx, [esp + 0x20]
call fcn.661ebbc7
mov byte [esp + 0x350], 5
lea eax, [esp + 0x34]
push eax
call fcn.661ebc18
mov eax, ebx
push eax
call fcn.661eb27c
test word [eax + 0x24], 0x4000
jne 0x661fb69f
mov eax, ebx
push eax
call fcn.661eb27c
test byte [eax + 0x24], 1
jne 0x661fb6ad
mov eax, dword [esp + 0x20]
mov ebx, esi
call fcn.66211f21
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x4c], 1
jge 0x661fb5f0
push edi
call fcn.661fb10e
jmp 0x661fbed0
lea eax, [esp + 0x48]
push eax
push edi
call fcn.661fc6da
jmp 0x661fbed0
push dword [esp + 0x2c]
call fcn.661fc4cc
jmp 0x661fbed0
push dword [esp + 0x20]
lea esi, [esp + 0x4c]
call fcn.661f58f0
add eax, 8
push eax
call fcn.661eb27c
add eax, 8
call fcn.661ed4fb
xor edi, edi
cmp dword [esp + 0x4c], edi
mov ebx, eax
jle 0x661fb70f
push edi
lea esi, [esp + 0x4c]
call fcn.661f58f0
lea esi, [eax + 8]
push esi
call fcn.661eb27c
add eax, 8
call fcn.661ed4fb
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 0x661fb708
push esi
call fcn.661eb27c
add eax, 0x24
and dword [eax], 0xfffffffd
inc edi
cmp edi, dword [esp + 0x4c]
jl 0x661fb6d5
lea eax, [esp + 0x1c]
push eax
call fcn.661eb27c
test byte [eax + 0x24], 0x10
je 0x661fb73a
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x24]
lea edx, [esp + 0x50]
call fcn.661fcafc
jmp 0x661fbed0
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x4bc]
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.66226c52
test al, al
je 0x661fb767
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 0x661fb776
mov esi, eax
push eax
call edi
test eax, eax
jne 0x661fb773
lea eax, [esp + 0x1c]
push eax
call fcn.661eb27c
test byte [eax + 0x24], 0x20
lea eax, [ebx + 0x144]
mov dword [esp + 0x40], eax
mov eax, dword [eax]
lea ecx, [eax + 0xc]
je 0x661fb7c6
push 1
push str.Flashing
call fcn.661f6dd4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x661fb808
xor eax, eax
lea edi, [esp + 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x6c], 0xf
jmp 0x661fb7ec
push 0
push str.Flashing
call fcn.661f6dd4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x661fb808
xor eax, eax
lea edi, [esp + 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [esp + 0x6c], 0
mov eax, dword [0x662922dc]
test eax, eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], 0x14
je 0x661fb808
lea ecx, [esp + 0x64]
push ecx
call eax
push dword [esp + 0x20]
lea esi, [esp + 0x4c]
call fcn.661f58f0
mov esi, 0x2b4
mov edi, eax
push esi
lea eax, [esp + 0x88]
push 0
push eax
mov dword [esp + 0x50], edi
call sub.MSVCR80.dll_memset
mov eax, dword [edi + 4]
add esp, 0xc
push 0x210
push esi
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.66203f59
lea esi, [ebx + 0x4c8]
lea edi, [esp + 0x48]
call fcn.661f58a9
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x13c]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.66204e50
lea eax, [esp + 0x1c]
push eax
call fcn.661eb27c
add eax, 8
call fcn.661ed4fb
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.661eb27c
test byte [eax + 0x24], 8
je 0x661fb8e8
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 + 0x15c]
call fcn.661dd00d
test al, al
mov byte [esp + 0x2a], 0
je 0x661fb98d
push dword [esp + 0x5c]
lea eax, [esp + 0x68]
push eax
call fcn.661f6bf9
mov byte [esp + 0x350], 0xc
and dword [esp + 0x18], 0
mov byte [esp + 0x350], 0xd
lea eax, [esp + 0x18]
push eax
push 0x66251164
lea eax, [esp + 0x6c]
call fcn.661f6daa
test al, al
je 0x661fb962
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 0x661fb97b
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.661f7bd9
and dword [esp + 0x3c], 0
mov byte [esp + 0x350], 0xe
cmp byte [esp + 0x2a], 0
mov dword [esp + 0x58], str.SyncErrors
jne 0x661fb9b1
mov dword [esp + 0x58], str.NoSyncErrors
cmp byte [esp + 0x17], 0
mov dword [esp + 0x34], str.CanInvite
jne 0x661fb9c8
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 0x661fb9d7
mov edx, dword [eax]
mov ecx, dword [edi]
test ecx, ecx
jne 0x661fb9df
mov ecx, dword [eax]
cmp dword [esp + 0x24], 0
jne 0x661fb9ea
mov eax, dword [eax]
jmp 0x661fb9ee
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.661dcc04
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 + 0x224]
mov dword [esp + 0x5c], ecx
call edi
test al, al
jne 0x661fbe57
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
lea ecx, [ebx + 0x4ec]
push eax
mov dword [esp + 0x38], ecx
call edi
test al, al
jne 0x661fba94
push dword [esp + 0x20]
mov edi, dword [ebx + 0x148]
mov byte [ebx + 0x508], al
call fcn.661f58f0
mov ebx, eax
call fcn.66205af8
mov esi, dword [esp + 0x2c]
lea edi, [esi + 0x14c]
push dword [edi]
call fcn.662062b2
mov esi, dword [esi + 0x148]
mov al, byte [esi + 0x74]
mov ecx, dword [edi]
call fcn.66206266
mov ebx, dword [esp + 0x2c]
lea edi, [ebx + 0x138]
mov eax, dword [edi]
xor esi, esi
cmp dword [eax + 0x64], 1
jge 0x661fbadf
mov eax, dword [ebx + 0x13c]
cmp eax, esi
je 0x661fbab8
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.6620380e
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 0x661fbb06
push eax
call fcn.661f7f47
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x661fbb0c
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 0x661fbb42
push esi
push 5
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push 0x195d
push edi
mov dword [eax], 0x6d
call fcn.662030d0
push esi
push 6
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push 0x1951
push edi
mov dword [eax], 0x6f
call fcn.662030d0
lea eax, [esp + 0x18]
push eax
call fcn.661f4598
mov byte [esp + 0x350], 0x13
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x661fbb7e
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.661f19ef
add esp, 0xc
push 0x6e
pop eax
push 1
push 0xa
push eax
push dword [esp + 0x24]
push edi
call fcn.66207903
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x661fbbb2
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.661f19ef
add esp, 0xc
push esi
push 7
mov eax, 0x81
push eax
push dword [esp + 0x24]
push edi
call fcn.66207903
cmp byte [esp + 0x2a], 0
je 0x661fbc14
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x661fbbee
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.661f19ef
add esp, 0xc
push esi
push 8
mov eax, 0x8b
push eax
push dword [esp + 0x24]
push edi
call fcn.66207903
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x661fbc23
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.661f19ef
add esp, 0xc
push 0x76
pop eax
push esi
push 9
push eax
push dword [esp + 0x24]
push edi
call fcn.66207903
lea edi, [ebx + 0x130]
push dword [edi]
call fcn.6620385b
mov eax, dword [ebx + 0x134]
cmp eax, esi
je 0x661fbc68
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.6620380e
lea esi, [ebx + 0x138]
call fcn.6620735d
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.6620380e
cmp dword [esp + 0x20], 0
je 0x661fbcd0
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.6620380e
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
cmp dword [esi + 0x64], 1
jge 0x661fbd9d
push dword [esi + 4]
mov byte [esi + 0x48], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661fbd23
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 0x661fbd39
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.6620380e
lea esi, [ebx + 0x14c]
mov eax, dword [esi]
test eax, eax
je 0x661fbd76
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.6620380e
mov esi, ebx
call fcn.661f8ae0
mov esi, edi
call fcn.6620735d
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.66206a9e
mov esi, dword [esp + 0x40]
call fcn.6620735d
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.66206a9e
push dword [esp + 0x34]
mov eax, dword [esp + 0x48]
call fcn.661f691d
mov eax, dword [esp + 0x24]
and dword [esp + 0x24], 0
push eax
lea esi, [ebx + 0x4f0]
call fcn.661d787e
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
and dword [esp + 0x3c], 0
push eax
call fcn.661d787e
mov byte [esp + 0x350], 0x12
lea eax, [esp + 0x18]
push eax
call fcn.661f1af4
mov byte [esp + 0x350], 0xf
lea esi, [esp + 0x2c]
call fcn.6620737e
push dword [esp + 0x44]
mov ecx, ebx
call fcn.661fcfcf
mov byte [esp + 0x350], 0xe
lea eax, [esp + 0x78]
push eax
call fcn.661dcc2d
mov byte [esp + 0x350], 0xb
xor esi, esi
cmp dword [esp + 0x3c], esi
je 0x661fbe8e
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.661da1c1
mov byte [esp + 0x350], 7
cmp dword [esp + 0x60], esi
je 0x661fbeb8
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 0x661fbed0
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.661ebc18
mov byte [esp + 0x350], 2
lea eax, [esp + 0x48]
push eax
call fcn.661f1cf3
or dword [esp + 0x350], 0xffffffff
lea eax, [esp + 0x30]
push eax
call fcn.661da1c1
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.6623a9c1
mov esp, ebp
pop ebp
ret