Function at 0x410570
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47c066
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4a3e28]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
mov eax, dword [0x4a3e28]
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.0045c3c0
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.00401ab0
push str.Microsoft.NETFramework.
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0
call fcn.004104c0
lea ecx, [esp + 0x14]
call fcn.0044385a
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 1
call fcn.004438f2
test eax, eax
je 0x4107a7
lea esp, [esp]
lea ecx, [esp + 0x14]
call fcn.0044353c
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 0x41079f
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00443b82
mov ecx, dword [esp + 8]
cmp dword [ecx - 0xc], 0
jl 0x410783
push str.v1.0
push ecx
call fcn.0045bf66
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x410681
sub eax, ecx
sar eax, 1
jne 0x410681
mov byte [0x4a5638], 1
cmp dword [ecx - 0xc], 0
jl 0x410783
push str.v1.1
push ecx
call fcn.0045bf66
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x4106ae
sub eax, ecx
sar eax, 1
jne 0x4106ae
mov byte [0x4a5639], 1
cmp dword [ecx - 0xc], 0
jl 0x410783
push str.v2.0
push ecx
call fcn.0045bf66
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x4106db
sub eax, ecx
sar eax, 1
jne 0x4106db
mov byte [0x4a563a], 1
cmp dword [ecx - 0xc], 0
jl 0x410783
push str.v3.0
push ecx
call fcn.0045bf66
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x410708
sub eax, ecx
sar eax, 1
jne 0x410708
mov byte [0x4a563b], 1
cmp dword [ecx - 0xc], 0
jl 0x410783
push str.v3.5
push ecx
call fcn.0045bf66
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x410731
sub eax, ecx
sar eax, 1
jne 0x410731
mov byte [0x4a563c], 1
cmp dword [ecx - 0xc], 0
jl 0x410783
push str.v4.0
push ecx
call fcn.0045bf66
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x41075a
sub eax, ecx
sar eax, 1
jne 0x41075a
mov byte [0x4a563d], 1
cmp dword [ecx - 0xc], 0
jl 0x410783
push 0x485af0
push ecx
call fcn.0045bf66
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x410783
sub eax, ecx
sar eax, 1
jne 0x410783
mov byte [0x4a563e], 1
lea eax, [ecx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41079f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x410620
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 0
call fcn.00443883
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 0x4107e3
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.0045bdbc
add esp, 0x23c
ret