Function at 0x4cce30
Capabilities:
Check for peb beingdebugged flag
Get common file path
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e619a
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2a8]
mov esi, dword [esp + 0x2ac]
xor ebx, ebx
xor eax, eax
mov word [esp + 0x20], ax
mov ebp, 7
mov eax, ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4cce94
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00439ce0
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x2a0], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4cced0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.00439ce0
push 1
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x2ac], 1
mov dword [esp + 0x24], 0x5c
call fcn.00456450
cmp eax, 0xffffffff
je 0x4ccf2a
mov ecx, dword [esp + 0x30]
dec ecx
cmp eax, ecx
je 0x4ccf2a
push 1
push 0x5f1164
lea ecx, [esp + 0x24]
call fcn.00439740
push 0x5fb300
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004cb950
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4cd019
xor ecx, ecx
mov edi, 8
push edi
mov word [esp + 0x5c], cx
push str.misc.MPQ
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
call fcn.00439ce0
push 0x15
xor edx, edx
push str.wow_update_base_.MPQ
lea ecx, [esp + 0x78]
mov byte [esp + 0x2a8], 2
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
call fcn.00439ce0
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x2ac], 3
call fcn.004cbd80
add esp, 0xc
mov esi, eax
cmp dword [esp + 0x88], edi
jb 0x4ccfd2
mov eax, dword [esp + 0x74]
push eax
call fcn.00506f70
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
mov byte [esp + 0x2a0], 1
cmp dword [esp + 0x6c], edi
jb 0x4cd002
mov edx, dword [esp + 0x58]
push edx
call fcn.00506f70
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], ax
cmp esi, ebx
je 0x4cd125
lea ecx, [esp + 0x8c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push str.box_clientCreatureDisplayInfo.db2
lea edx, [esp + 0x90]
push 0x104
push edx
call fcn.0057ee86
add esp, 0xc
push 1
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
mov word [ecx + 4], ax
lea eax, [esp + 0xac]
mov dword [esp + 0x38], esp
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4cd067
sub eax, edi
sar eax, 1
push eax
lea edx, [esp + 0xb0]
push edx
call fcn.00439ce0
call fcn.0059f0f0
add esp, 0x20
push 1
lea eax, [esp + 0x90]
push eax
push 0x5fb300
push esi
call fcn.004021a0
push esi
mov byte [esp + 0x1b], al
call fcn.00402170
cmp byte [esp + 0x17], bl
je 0x4cd120
push 0x64
call fcn.00506f00
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x2a0], 4
cmp esi, ebx
je 0x4cd0df
mov ecx, esi
call fcn.004ca1e0
mov dword [esi], vtable.DBE::CDBCDisp.0
mov byte [esi + 0x60], bl
jmp 0x4cd0e1
xor esi, esi
mov byte [esp + 0x2a0], 1
cmp esi, ebx
je 0x4cd120
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call fcn.004c5830
test eax, eax
je 0x4cd116
lea ecx, [esp + 0x38]
call fcn.00495410
lea ecx, [esp + 0x1c]
call fcn.00495410
mov eax, esi
jmp 0x4cd15c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edi, 8
cmp dword [esp + 0x50], edi
jb 0x4cd138
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00506f70
add esp, 4
xor edx, edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
cmp dword [esp + 0x34], edi
jb 0x4cd15a
mov eax, dword [esp + 0x20]
push eax
call fcn.00506f70
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.005792fc
add esp, 0x290
ret