Function at 0x411860
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x487d66
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4b2098]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
mov eax, dword [0x4b2098]
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.00467da0
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.00402410
push str.Microsoft.NETFramework.
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0
call fcn.004117b0
lea ecx, [esp + 0x14]
call fcn.0044e923
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 1
call fcn.0044e99e
test eax, eax
je 0x411a97
lea esp, [esp]
lea ecx, [esp + 0x14]
call fcn.0044e69a
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 0x411a8f
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.0044ec2e
mov ecx, dword [esp + 8]
cmp dword [ecx - 0xc], 0
jl 0x411a73
push str.v1.0
push ecx
call fcn.00467d3a
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x411971
sub eax, ecx
sar eax, 1
jne 0x411971
mov byte [0x4b373c], 1
cmp dword [ecx - 0xc], 0
jl 0x411a73
push str.v1.1
push ecx
call fcn.00467d3a
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x41199e
sub eax, ecx
sar eax, 1
jne 0x41199e
mov byte [0x4b373d], 1
cmp dword [ecx - 0xc], 0
jl 0x411a73
push str.v2.0
push ecx
call fcn.00467d3a
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x4119cb
sub eax, ecx
sar eax, 1
jne 0x4119cb
mov byte [0x4b373e], 1
cmp dword [ecx - 0xc], 0
jl 0x411a73
push str.v3.0
push ecx
call fcn.00467d3a
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x4119f8
sub eax, ecx
sar eax, 1
jne 0x4119f8
mov byte [0x4b373f], 1
cmp dword [ecx - 0xc], 0
jl 0x411a73
push str.v3.5
push ecx
call fcn.00467d3a
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x411a21
sub eax, ecx
sar eax, 1
jne 0x411a21
mov byte [0x4b3740], 1
cmp dword [ecx - 0xc], 0
jl 0x411a73
push str.v4.0
push ecx
call fcn.00467d3a
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x411a4a
sub eax, ecx
sar eax, 1
jne 0x411a4a
mov byte [0x4b3741], 1
cmp dword [ecx - 0xc], 0
jl 0x411a73
push 0x491e70
push ecx
call fcn.00467d3a
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x411a73
sub eax, ecx
sar eax, 1
jne 0x411a73
mov byte [0x4b3742], 1
lea eax, [ecx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411a8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x411910
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 0
call fcn.0044e94c
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 0x411ad3
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.00467b90
add esp, 0x23c
ret