Function at 0x41be60
Capabilities:
Check if file exists
Copy file
Create process on windows
Delete file
Set current directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x493744
mov eax, dword fs:[0]
push eax
sub esp, 0xc9c
mov eax, dword [0x4bb190]
xor eax, esp
mov dword [esp + 0xc98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb190]
xor eax, esp
push eax
lea eax, [esp + 0xcb0]
mov dword fs:[0], eax
mov ebp, ecx
xor edi, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
call fcn.00418320
test eax, eax
je 0x41c180
mov dword [ebp + 0x368], 1
mov ecx, ebp
mov byte [0x4bd998], 1
call fcn.00418280
test eax, eax
jne 0x41c179
call fcn.0044ca07
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41beee
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0xcb8], edi
call fcn.0044ca07
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41bf1f
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0xcb8], 1
jge 0x41bf5d
push 0x104
lea ecx, [esp + 0x18]
call fcn.00401960
mov esi, dword [esp + 0x14]
push 0x103
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00469157
add esp, 8
cmp eax, edi
jl 0x41c16f
cmp eax, dword [esi - 8]
jg 0x41c16f
xor ecx, ecx
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call fcn.0046912b
add esp, 8
cmp eax, edi
jne 0x41bfa5
or eax, 0xffffffff
jmp 0x41bfa9
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.004055d0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcbc], 2
call fcn.004108e0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xcb8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bff2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, ebp
call fcn.00419840
mov ebx, 7
xor ecx, ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], edi
mov word [esp + 0x68], cx
mov edx, dword [ebp + 0x384]
push ecx
lea edi, [ebp + 0x370]
push 0x49ab28
push edx
push ecx
mov ecx, edi
mov byte [esp + 0xcc8], 3
call fcn.00404b70
test eax, eax
je 0x41c061
push ebx
push 0x49c530
lea ecx, [esp + 0x6c]
call fcn.00405a30
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0x70]
call fcn.00405920
push 1
push 0x49c52c
lea ecx, [esp + 0x6c]
call fcn.00405a30
cmp byte [0x4bd998], 0
je 0x41c08c
mov al, byte [0x4bd999]
cmp al, 1
jne 0x41c07a
push str._Admin
jmp 0x41c083
test al, al
jne 0x41c08c
push str._NoAdmin
lea ecx, [esp + 0x68]
call fcn.004064d0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa6]
push ecx
mov word [esp + 0xa8], ax
call fcn.00467850
mov eax, dword [esp + 0x74]
mov ebp, 8
add esp, 0xc
cmp dword [esp + 0x7c], ebp
jae 0x41c0bf
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0xa0]
push 0x103
push edx
call fcn.00468345
mov edi, dword [esp + 0x24]
mov ecx, dword [0x4b9398]
add esp, 0xc
push 0xa
push edi
lea eax, [esp + 0xa4]
push eax
push ecx
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x7c], ebp
jb 0x41c10b
mov edx, dword [esp + 0x68]
push edx
call fcn.004440cb
add esp, 4
xor eax, eax
mov word [esp + 0x68], ax
mov byte [esp + 0xcb8], al
lea eax, [esi - 0x10]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c141
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0xcb8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c168
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41c631
push 0x80070057
call fcn.004010a0
mov byte [0x4bd999], 1
mov ecx, ebp
call fcn.00419840
push 0x206
lea edx, [esp + 0x2aa]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x2b0], cx
call fcn.00467850
add esp, 0xc
push 0x103
lea eax, [esp + 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push eax
call esi
lea ecx, [esp + 0x2a4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x2a4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x2a4]
push eax
push 0x104
push 0x4bd788
call fcn.00468345
add esp, 0xc
push 0x4bd788
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [0x4bd9a4], edi
jne 0x41c265
push str.Eu8nY
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x41c251
push 0x4bdd34
push edi
xor ecx, ecx
push 0x4a
mov dword [0x4bdd34], ecx
push eax
mov dword [0x4bdd38], ecx
mov dword [0x4bdd3c], ecx
mov dword [0x4bdd34], 0xc0dd
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x41c631
push 0x418140
call fcn.0042ed00
mov ecx, 0x4bd9a4
call fcn.004180f0
cmp byte [0x4bd992], 0
jne 0x41c535
push 0x400
lea ecx, [esp + 0x4b0]
push ecx
push edi
call esi
lea edx, [esp + 0x4ac]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [esp + 0x18]
call fcn.00402bb0
mov ecx, dword [0x4b9398]
xor eax, eax
xor esi, esi
cmp ecx, edi
setne al
mov dword [esp + 0xcb8], 4
cmp eax, edi
jne 0x41c2c2
push 0x80004005
call fcn.004010a0
mov eax, dword [esp + 0x14]
push ecx
push eax
call fcn.00467c67
add esp, 8
cmp eax, edi
jne 0x41c502
mov ecx, dword [str.CYouGame.bin]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x41c343
mov edx, dword [str.CYouGame.bin]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push edx
call ebx
mov eax, dword [str.CYouGame.bin]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebp
test eax, eax
jne 0x41c33f
push 0x64
call edi
mov ecx, esi
inc esi
cmp ecx, 0x14
jae 0x41c43e
mov edx, dword [str.CYouGame.bin]
push 0x80
push edx
call ebx
mov eax, dword [str.CYouGame.bin]
push eax
call ebp
test eax, eax
je 0x41c315
mov ebp, dword [esp + 0x18]
mov ecx, dword [str.CYouGame.bin]
mov edx, dword [0x4b9398]
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor esi, esi
push esi
push ecx
push edx
call ebx
test eax, eax
jne 0x41c386
push 0xa
call edi
mov eax, esi
inc esi
cmp eax, 0xa
jae 0x41c4f2
mov ecx, dword [str.CYouGame.bin]
mov edx, dword [0x4b9398]
push 0
push ecx
push edx
call ebx
test eax, eax
je 0x41c360
push 0x40
xor edi, edi
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00467850
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x58], 0x40
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], edi
mov word [esp + 0x90], cx
lea esi, [ebp + 0x370]
push 0x49ab28
push esi
mov byte [esp + 0xccc], 5
call fcn.00418a00
add esp, 0x14
test al, al
je 0x41c425
push 0x49c530
lea ecx, [esp + 0x84]
call fcn.004064d0
push 0xffffffffffffffff
push edi
push esi
lea ecx, [esp + 0x8c]
call fcn.00405920
push 0x49c52c
lea ecx, [esp + 0x84]
call fcn.004064d0
cmp byte [0x4bd998], 0
je 0x41c45f
mov al, byte [0x4bd999]
cmp al, 1
jne 0x41c44a
push str._Admin
jmp 0x41c453
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x41c144
test al, al
jne 0x41c45f
push str._NoAdmin
lea ecx, [esp + 0x84]
call fcn.004064d0
push 0x206
lea eax, [esp + 0xa2]
xor edx, edx
push edi
push eax
mov word [esp + 0xa8], dx
call fcn.00467850
mov eax, dword [esp + 0x90]
add esp, 0xc
cmp dword [esp + 0x98], 8
jae 0x41c497
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xa0]
push 0x103
push ecx
call fcn.00468345
add esp, 0xc
lea edx, [esp + 0x64]
push edx
mov edx, dword [str.CYouGame.bin]
lea eax, [esp + 0x24]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [esp + 0xbc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x64]
push ecx
call esi
lea ecx, [esp + 0x80]
call fcn.00405180
lea ecx, [esp + 0x14]
call fcn.00401a10
xor eax, eax
jmp 0x41c631
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xcb8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c535
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, ebp
call fcn.004505d0
mov ecx, ebp
call fcn.00416d70
mov ecx, ebp
call fcn.0040ff20
lea esi, [ebp + 0xa4]
mov ecx, esi
call fcn.0040e9e0
test eax, eax
je 0x41c5a1
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.00419070
cmp dword [eax + 0x18], 8
mov dword [esp + 0xcb8], 6
mov dword [esp + 0x1c], 1
jb 0x41c58e
mov eax, dword [eax + 4]
jmp 0x41c591
add eax, 4
push eax
mov ecx, esi
call fcn.0040cab0
test eax, eax
je 0x41c5a1
xor bl, bl
jmp 0x41c5a3
mov bl, 1
test byte [esp + 0x1c], 1
mov dword [esp + 0xcb8], 0xffffffff
je 0x41c5eb
cmp dword [esp + 0x98], 8
jb 0x41c5cf
mov edx, dword [esp + 0x84]
push edx
call fcn.004440cb
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], edi
mov word [esp + 0x84], ax
test bl, bl
je 0x41c602
push 0x10
push edi
push 0x49c4fc
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x41c631
push edi
call fcn.00452e82
add esp, 4
push 0x49c4dc
mov ecx, ebp
call fcn.004522b1
mov ecx, ebp
call fcn.004183b0
mov ecx, ebp
call fcn.00411f00
mov ecx, ebp
call fcn.0040ff50
mov eax, 1
mov ecx, dword [esp + 0xcb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc98]
xor ecx, esp
call fcn.004677ab
add esp, 0xca8
ret