Function at 0x408770
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42bd33
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x441dac]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x441dac]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x154]
mov edi, dword [esp + 0x158]
call fcn.0040f911
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4087d3
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14c], 0
call fcn.0040f911
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408808
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x42ea1b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 1
call fcn.004045b0
push 0x104
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x154], 2
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x4088d8
push str.Error_:_Get_windows_path_error_n
call fcn.00404820
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x14c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408883
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x14c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088ce
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, 0x4e25
jmp 0x408bbc
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
push 0x42f028
push ecx
call fcn.00403ab0
mov edx, dword [esp + 0x20]
push edx
push str.templog_DevSetupSub.cpp_DecompreKBFiles___szWindowDir:_s_n
call fcn.00404820
mov eax, dword [esp + 0x170]
add esp, 0x14
test eax, eax
jbe 0x408b36
add edi, 0x1c0
mov dword [esp + 0x20], eax
push ebp
lea eax, [esp + 0x20]
push 0x42f028
push eax
call fcn.00403ab0
mov ecx, dword [esp + 0x28]
push ecx
push str.templog_DevSetupSub.cpp_DecompreKBFiles____strSrcFileName:_s
call fcn.00404820
add esp, 0x14
push 0
push 0x42ea1b
lea ecx, [esp + 0x1c]
mov dword [edi], 6
call fcn.00402cd0
push ebp
lea edx, [esp + 0x18]
push 0x42f028
push edx
call fcn.00403ab0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.extractHotfix.bat
call fcn.004045b0
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov esi, esp
push eax
mov byte [esp + 0x15c], 3
call fcn.004022f0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x158], 2
call fcn.00403e90
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
push 0x42fab4
push edx
call fcn.004031c0
push 0x42fab4
push eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x170], 4
call fcn.004030e0
add esp, 0x24
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 5
call fcn.004032a0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push 0x42fab4
push edx
call fcn.004031c0
push 0x42fab4
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x164], 6
call fcn.004030e0
add esp, 0x18
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 7
call fcn.004032a0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408aa3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408acb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
push 0
push 1
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.004022f0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
mov byte [esp + 0x160], 8
call fcn.004022f0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x15c], 2
call fcn.00405350
push str.tempLog_DevSetupSub.cpp_decompression___exit_n
call fcn.00404820
add esp, 0x14
add edi, 0x1cc
sub dword [esp + 0x20], 1
jne 0x408917
push str.Info__:_decompression_file_exit._n
call fcn.00404820
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x14c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x14c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408bba
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
xor eax, eax
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0041811d
add esp, 0x13c
ret