Function at 0x41b180
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 [0x46b008]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
lea edi, [esi + 0x10]
mov byte [esp + 0xf], dl
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x14], 8
mov dword [edi], 0
jb 0x41b1bb
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [0x46f5ac]
test eax, eax
jne 0x41b2fa
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.SHGetKnownFolderPath
push str.shell32.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46f5ac], eax
test eax, eax
jne 0x41b2fa
cmp dword [0x46f5b0], eax
jne 0x41b234
push str.SHGetFolderPathW
push str.shell32.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov eax, dword [0x46f5ac]
mov dword [0x46f5b0], ecx
test eax, eax
jne 0x41b2fa
test ecx, ecx
jne 0x41b234
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41b34e
lea eax, [esp + 0x18]
push str._EAC_Service___Warning__Falling_back_to_deprecated_SHGetFolderPathW_WinAPI.
push eax
call fcn.004122c0
add esp, 8
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 0x10
jb 0x41b255
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x41b292
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b288
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b42d
push edx
push ecx
call fcn.0041b657
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 [0x46f5b0]
test eax, eax
jne 0x41b34e
lea ecx, [esp + 0x30]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b2d0
sub ecx, edx
lea eax, [esp + 0x30]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004013c0
push 0x464824
mov ecx, esi
call fcn.00403660
jmp 0x41b34e
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x8000
push 0x454430
call eax
test eax, eax
jne 0x41b34e
mov edx, dword [esp + 0x10]
mov ecx, edx
lea ebx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b320
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004013c0
push 0x464824
mov ecx, esi
call fcn.00403660
push dword [esp + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [edi], 0
je 0x41b415
cmp byte [esp + 0xf], 0
je 0x41b3be
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41b368
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41b37e
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41b38f
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41b3be
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41b3be
cmp dword [esi + 0x14], 8
mov dword [edi], 0
jb 0x41b3b7
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
jmp 0x41b412
mov ecx, dword [edi]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x41b3de
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, esi
cmp edx, 8
jb 0x41b3d5
mov eax, dword [esi]
mov dword [eax + ecx*2], 0x5c
jmp 0x41b3f1
push 0x5c
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00404290
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x41b406
sub eax, 1
jne 0x41b412
push str.EasyAntiCheat.sys
jmp 0x41b40b
push 0x464894
mov ecx, esi
call fcn.00403660
cmp dword [edi], 0
mov ecx, dword [esp + 0x23c]
setne al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041b616
mov esp, ebp
pop ebp
call fcn.00436a89
int3