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

Disassembly:
push 0xffffffffffffffff
push 0x493354
mov eax, dword fs:[0]
push eax
sub esp, 0xc9c
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0xc98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
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.004181d0
test eax, eax
je 0x41c2b0
mov dword [ebp + 0x368], 1
mov ecx, ebp
mov byte [0x4bc998], 1
call fcn.00418130
test eax, eax
jne 0x41c2a9
call fcn.0044c634
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41c01e
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.0044c634
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41c04f
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 0x41c08d
push 0x104
lea ecx, [esp + 0x18]
call fcn.00401970
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.00468d87
add esp, 8
cmp eax, edi
jl 0x41c29f
cmp eax, dword [esi - 8]
jg 0x41c29f
xor ecx, ecx
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call fcn.00468d5b
add esp, 8
cmp eax, edi
jne 0x41c0d5
or eax, 0xffffffff
jmp 0x41c0d9
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405580
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcbc], 2
call fcn.00410890
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 0x41c122
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, ebp
call fcn.00419970
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 0x499b28
push edx
push ecx
mov ecx, edi
mov byte [esp + 0xcc8], 3
call fcn.00404b10
test eax, eax
je 0x41c191
push ebx
push 0x49b530
lea ecx, [esp + 0x6c]
call fcn.004059e0
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0x70]
call fcn.004058d0
push 1
push 0x49b52c
lea ecx, [esp + 0x6c]
call fcn.004059e0
cmp byte [0x4bc998], 0
je 0x41c1bc
mov al, byte [0x4bc999]
cmp al, 1
jne 0x41c1aa
push str._Admin
jmp 0x41c1b3
test al, al
jne 0x41c1bc
push str._NoAdmin
lea ecx, [esp + 0x68]
call fcn.00406600
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa6]
push ecx
mov word [esp + 0xa8], ax
call fcn.00467480
mov eax, dword [esp + 0x74]
mov ebp, 8
add esp, 0xc
cmp dword [esp + 0x7c], ebp
jae 0x41c1ef
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0xa0]
push 0x103
push edx
call fcn.00467f75
mov edi, dword [esp + 0x24]
mov ecx, dword [0x4b8398]
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 0x41c23b
mov edx, dword [esp + 0x68]
push edx
call fcn.00443d03
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 0x41c271
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 0x41c298
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41c761
push 0x80070057
call fcn.004010a0
mov byte [0x4bc999], 1
mov ecx, ebp
call fcn.00419970
push 0x206
lea edx, [esp + 0x2aa]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x2b0], cx
call fcn.00467480
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 0x4bc788
call fcn.00467f75
add esp, 0xc
push 0x4bc788
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [0x4bc9a4], edi
jne 0x41c395
push str.Eu8nY
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x41c381
push 0x4bcd34
push edi
xor ecx, ecx
push 0x4a
mov dword [0x4bcd34], ecx
push eax
mov dword [0x4bcd38], ecx
mov dword [0x4bcd3c], ecx
mov dword [0x4bcd34], 0xc0dd
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x41c761
push 0x417ff0
call fcn.0042e9f0
mov ecx, 0x4bc9a4
call fcn.00417fa0
cmp byte [0x4bc992], 0
jne 0x41c665
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.00402ba0
mov ecx, dword [0x4b8398]
xor eax, eax
xor esi, esi
cmp ecx, edi
setne al
mov dword [esp + 0xcb8], 4
cmp eax, edi
jne 0x41c3f2
push 0x80004005
call fcn.004010a0
mov eax, dword [esp + 0x14]
push ecx
push eax
call fcn.00467897
add esp, 8
cmp eax, edi
jne 0x41c632
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 0x41c473
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 0x41c46f
push 0x64
call edi
mov ecx, esi
inc esi
cmp ecx, 0x14
jae 0x41c56e
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 0x41c445
mov ebp, dword [esp + 0x18]
mov ecx, dword [str.CYouGame.bin]
mov edx, dword [0x4b8398]
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor esi, esi
push esi
push ecx
push edx
call ebx
test eax, eax
jne 0x41c4b6
push 0xa
call edi
mov eax, esi
inc esi
cmp eax, 0xa
jae 0x41c622
mov ecx, dword [str.CYouGame.bin]
mov edx, dword [0x4b8398]
push 0
push ecx
push edx
call ebx
test eax, eax
je 0x41c490
push 0x40
xor edi, edi
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00467480
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 0x499b28
push esi
mov byte [esp + 0xccc], 5
call fcn.004188b0
add esp, 0x14
test al, al
je 0x41c555
push 0x49b530
lea ecx, [esp + 0x84]
call fcn.00406600
push 0xffffffffffffffff
push edi
push esi
lea ecx, [esp + 0x8c]
call fcn.004058d0
push 0x49b52c
lea ecx, [esp + 0x84]
call fcn.00406600
cmp byte [0x4bc998], 0
je 0x41c58f
mov al, byte [0x4bc999]
cmp al, 1
jne 0x41c57a
push str._Admin
jmp 0x41c583
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x41c274
test al, al
jne 0x41c58f
push str._NoAdmin
lea ecx, [esp + 0x84]
call fcn.00406600
push 0x206
lea eax, [esp + 0xa2]
xor edx, edx
push edi
push eax
mov word [esp + 0xa8], dx
call fcn.00467480
mov eax, dword [esp + 0x90]
add esp, 0xc
cmp dword [esp + 0x98], 8
jae 0x41c5c7
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xa0]
push 0x103
push ecx
call fcn.00467f75
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.004053a0
lea ecx, [esp + 0x14]
call fcn.004018e0
xor eax, eax
jmp 0x41c761
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 0x41c665
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.00450269
mov ecx, ebp
call fcn.00416c00
mov ecx, ebp
call fcn.0040fef0
lea esi, [ebp + 0xa4]
mov ecx, esi
call fcn.0040e9b0
test eax, eax
je 0x41c6d1
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.00418f10
cmp dword [eax + 0x18], 8
mov dword [esp + 0xcb8], 6
mov dword [esp + 0x1c], 1
jb 0x41c6be
mov eax, dword [eax + 4]
jmp 0x41c6c1
add eax, 4
push eax
mov ecx, esi
call fcn.0040ca80
test eax, eax
je 0x41c6d1
xor bl, bl
jmp 0x41c6d3
mov bl, 1
test byte [esp + 0x1c], 1
mov dword [esp + 0xcb8], 0xffffffff
je 0x41c71b
cmp dword [esp + 0x98], 8
jb 0x41c6ff
mov edx, dword [esp + 0x84]
push edx
call fcn.00443d03
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 0x41c732
push 0x10
push edi
push 0x49b4fc
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x41c761
push edi
call fcn.00452b1b
add esp, 4
push 0x49b4dc
mov ecx, ebp
call fcn.00451f4a
mov ecx, ebp
call fcn.00418260
mov ecx, ebp
call fcn.00411d90
mov ecx, ebp
call fcn.0040ff20
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.004673e3
add esp, 0xca8
ret