Function at 0x41f550
Capabilities:
Create directory
Delete directory
Print debug messages
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x46f068]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov byte [esp + 0xf], dl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41f580
mov eax, dword [esi]
lea edi, [esi + 0x10]
xor ecx, ecx
mov dword [edi], 0
mov word [eax], cx
mov eax, dword [0x47394c]
test eax, eax
jne 0x41f6cc
push str.SHGetKnownFolderPath
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x47394c], eax
test eax, eax
jne 0x41f6cc
cmp dword [0x473950], eax
jne 0x41f604
push str.SHGetFolderPathW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov eax, dword [0x47394c]
mov dword [0x473950], ecx
test eax, eax
jne 0x41f6cc
test ecx, ecx
jne 0x41f604
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41f722
lea eax, [esp + 0x18]
push str._EAC_Service___Warning__Falling_back_to_deprecated_SHGetFolderPathW_WinAPI.
push eax
call fcn.004120c0
add esp, 8
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 0x10
jb 0x41f625
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x41f662
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f658
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f801
push edx
push ecx
call fcn.00434e86
add esp, 8
lea eax, [esp + 0x30]
mov dword [esp + 0x28], 0
push eax
push 0
push 0
push 0x8026
push 0
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
call dword [0x473950]
test eax, eax
jne 0x41f722
lea ecx, [esp + 0x30]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f6a0
sub ecx, edx
lea eax, [esp + 0x30]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004013d0
push 0xe
push 0x46816c
mov ecx, esi
call fcn.004038a0
jmp 0x41f722
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x8000
push 0x458430
call eax
test eax, eax
jne 0x41f722
mov edx, dword [esp + 0x14]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f6f0
sub ecx, dword [esp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004013d0
push 0xe
push 0x46816c
mov ecx, esi
call fcn.004038a0
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [edi], 0
je 0x41f7e9
cmp byte [esp + 0xf], 0
je 0x41f792
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41f73c
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41f752
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41f763
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41f792
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41f792
cmp dword [esi + 0x14], 8
jb 0x41f785
mov esi, dword [esi]
xor eax, eax
mov dword [edi], 0
mov word [esi], ax
jmp 0x41f7e6
mov ecx, dword [edi]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x41f7b2
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, esi
cmp edx, 8
jb 0x41f7a9
mov eax, dword [esi]
mov dword [eax + ecx*2], 0x5c
jmp 0x41f7c5
push 0x5c
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00403ce0
sub ebx, 0
je 0x41f7d8
sub ebx, 1
jne 0x41f7e6
push 0x11
push str.EasyAntiCheat.sys
jmp 0x41f7df
push 0x11
push 0x4681dc
mov ecx, esi
call fcn.004038a0
cmp dword [edi], 0
mov ecx, dword [esp + 0x23c]
setne al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00434e45
mov esp, ebp
pop ebp
ret
call fcn.00439dba
int3