Function at 0x4cc9a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5e6126
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x2d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x2ec]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2fc]
mov esi, dword [esp + 0x300]
xor ebx, ebx
xor eax, eax
mov word [esp + 0x90], ax
mov ebp, 7
mov eax, ecx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4cca10
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x94]
call fcn.00439ce0
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x2f4], ebx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4cca50
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x78]
call fcn.00439ce0
push 1
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x98]
mov byte [esp + 0x300], 1
mov dword [esp + 0x24], 0x5c
call fcn.00456450
cmp eax, 0xffffffff
je 0x4ccab3
mov ecx, dword [esp + 0xa0]
dec ecx
cmp eax, ecx
je 0x4ccab3
push 1
push 0x5f1164
lea ecx, [esp + 0x94]
call fcn.00439740
push 0x5fb368
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x94]
push eax
call fcn.004cb950
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4ccc9c
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x20]
push str.locale_
push edx
call fcn.0043f7d0
push str..MPQ
push eax
lea eax, [esp + 0xd8]
push eax
mov byte [esp + 0x30c], 2
call fcn.0043bbd0
add esp, 0x18
mov edi, 8
mov byte [esp + 0x2f4], 4
cmp dword [esp + 0x34], edi
jb 0x4ccb29
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00506f70
add esp, 4
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
xor edx, edx
push str.wow_update_
push ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
call fcn.0043f7d0
push str._.MPQ
push eax
lea edx, [esp + 0xbc]
push edx
mov byte [esp + 0x30c], 5
call fcn.0043bbd0
add esp, 0x18
mov byte [esp + 0x2f4], 7
cmp dword [esp + 0x50], edi
jb 0x4ccb85
mov eax, dword [esp + 0x3c]
push eax
call fcn.00506f70
add esp, 4
xor ecx, ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x90]
mov word [esp + 0x40], cx
push eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
call fcn.0043bca0
push 0x5f1164
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x30c], 8
call fcn.0043bbd0
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x318], 9
call fcn.004cbd80
add esp, 0x24
mov esi, eax
cmp dword [esp + 0x34], edi
jb 0x4ccbf9
mov eax, dword [esp + 0x20]
push eax
call fcn.00506f70
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
cmp dword [esp + 0x6c], edi
jb 0x4ccc1b
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 dword [esp + 0xc0], edi
jb 0x4ccc43
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00506f70
add esp, 4
xor edx, edx
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], dx
mov byte [esp + 0x2f4], 1
cmp dword [esp + 0xdc], edi
jb 0x4ccc7c
mov eax, dword [esp + 0xc8]
push eax
call fcn.00506f70
add esp, 4
xor ecx, ecx
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], cx
cmp esi, ebx
je 0x4ccdb4
lea edx, [esp + 0xe0]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push str.box_clientitem.db2
lea eax, [esp + 0xe4]
push 0x104
push eax
call fcn.0057ee86
add esp, 0xc
push 1
sub esp, 0x1c
mov ecx, esp
xor edx, edx
lea eax, [esp + 0x100]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x38], esp
mov word [ecx + 4], dx
lea edi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4cccf0
sub eax, edi
sar eax, 1
push eax
lea eax, [esp + 0x104]
push eax
call fcn.00439ce0
call fcn.0059f0f0
add esp, 0x20
push 1
lea ecx, [esp + 0xe4]
push ecx
push 0x5fb368
push esi
call fcn.004021a0
push esi
mov byte [esp + 0x1b], al
call fcn.00402170
cmp byte [esp + 0x17], bl
je 0x4ccdaf
push 0x80
call fcn.00506f00
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x2f4], 0xa
cmp esi, ebx
je 0x4ccd6b
mov ecx, esi
call fcn.004ca2c0
mov dword [esi], vtable.DBE::CDBGoods.0
mov byte [esi + 0x7c], bl
jmp 0x4ccd6d
xor esi, esi
mov byte [esp + 0x2f4], 1
cmp esi, ebx
je 0x4ccdaf
lea edx, [esp + 0xe0]
push edx
mov ecx, esi
call fcn.004c5cd0
test eax, eax
je 0x4ccda5
lea ecx, [esp + 0x70]
call fcn.00495410
lea ecx, [esp + 0x8c]
call fcn.00495410
mov eax, esi
jmp 0x4ccdfa
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov edi, 8
cmp dword [esp + 0x88], edi
jb 0x4ccdca
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
cmp dword [esp + 0xa4], edi
jb 0x4ccdf8
mov edx, dword [esp + 0x90]
push edx
call fcn.00506f70
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d4]
xor ecx, esp
call fcn.005792fc
add esp, 0x2e4
ret