Function at 0x42da00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491746
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4c11d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
mov dword [ebp - 0x22c], ecx
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.0046ed60
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
push str._sFunshion.scr
push ecx
mov dword [ebp - 4], 0
call fcn.0040c950
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x228]
push ecx
mov ebx, str.SCRNSAVE.EXE
mov edi, str.Control_PanelDesktop
mov ecx, 0x80000001
mov byte [ebp - 4], 1
call fcn.004138e0
mov edi, dword [ebp - 0x220]
xor eax, eax
add esp, 4
test edi, edi
setne al
test eax, eax
jne 0x42daf4
push 0x80004005
call fcn.00401af0
mov esi, dword [ebp - 0x228]
push edi
push esi
call fcn.0046c25c
add esp, 8
test eax, eax
je 0x42db52
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42db28
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42db4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42dc2a
push str.Funshion.scr
lea ecx, [ebp - 0x224]
call fcn.00401c40
xor ebx, ebx
lea edi, [ebp - 0x224]
call fcn.00409560
mov edi, eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42db93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp edi, ebx
je 0x42dbcd
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dbb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
jmp 0x42db32
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x22c]
push 1
call fcn.00418920
mov edi, eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42dbff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dc28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b255
mov esp, ebp
pop ebp
ret 8