Function at 0x413d40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x484816
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4ace78]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
mov eax, dword [0x4ace78]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0046be40
add esp, 0xc
push 0x104
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x14]
call fcn.00401ba0
push str.Microsoft.NETFramework.
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0
call fcn.00413c90
lea ecx, [esp + 0x14]
call fcn.00451a06
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 1
call fcn.00451a9e
test eax, eax
je 0x413f77
lea esp, [esp]
lea ecx, [esp + 0x14]
call fcn.0045177d
mov edx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x18]
call eax
test eax, eax
je 0x413f6f
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00451da0
mov ecx, dword [esp + 8]
cmp dword [ecx - 0xc], 0
jl 0x413f53
push str.v1.0
push ecx
call fcn.0046b9b7
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x413e51
sub eax, ecx
sar eax, 1
jne 0x413e51
mov byte [0x4ae2f0], 1
cmp dword [ecx - 0xc], 0
jl 0x413f53
push str.v1.1
push ecx
call fcn.0046b9b7
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x413e7e
sub eax, ecx
sar eax, 1
jne 0x413e7e
mov byte [0x4ae2f1], 1
cmp dword [ecx - 0xc], 0
jl 0x413f53
push str.v2.0
push ecx
call fcn.0046b9b7
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x413eab
sub eax, ecx
sar eax, 1
jne 0x413eab
mov byte [0x4ae2f2], 1
cmp dword [ecx - 0xc], 0
jl 0x413f53
push str.v3.0
push ecx
call fcn.0046b9b7
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x413ed8
sub eax, ecx
sar eax, 1
jne 0x413ed8
mov byte [0x4ae2f3], 1
cmp dword [ecx - 0xc], 0
jl 0x413f53
push str.v3.5
push ecx
call fcn.0046b9b7
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x413f01
sub eax, ecx
sar eax, 1
jne 0x413f01
mov byte [0x4ae2f4], 1
cmp dword [ecx - 0xc], 0
jl 0x413f53
push str.v4.0
push ecx
call fcn.0046b9b7
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x413f2a
sub eax, ecx
sar eax, 1
jne 0x413f2a
mov byte [0x4ae2f5], 1
cmp dword [ecx - 0xc], 0
jl 0x413f53
push str.v4.5
push ecx
call fcn.0046b9b7
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x413f53
sub eax, ecx
sar eax, 1
jne 0x413f53
mov byte [0x4ae2f6], 1
lea eax, [ecx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413f6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x413df0
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 0
call fcn.00451a2f
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x240], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413fb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0046b9a8
add esp, 0x23c
ret