Function at 0x41b3c0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498d10
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov byte [ebp - 0xa9], 0
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41b434
mov eax, dword [edi]
lea ecx, [edi + 0x10]
mov dword [ecx], 0
mov dword [ebp - 0xb8], ecx
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x28], ecx
push 0x14
mov dword [ebp - 0x18], ecx
xor eax, eax
push str.EasyAntiCheat_EOSSys
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
call fcn.00403bf0
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00421870
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41b4bb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b4b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b89f
push edx
push ecx
call fcn.0046e38b
add esp, 8
mov esi, dword [0x4bdce8]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0xb0], ecx
test ecx, ecx
je 0x41b713
cmp ecx, 0x1ffffe4
ja 0x41b713
add esi, 0x1c
cmp ecx, 2
jb 0x41b51d
mov al, cl
lea edx, [esi + ecx]
add al, al
add cl, al
mov al, 3
sub al, cl
add byte [edx - 1], al
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffffe
je 0x41b518
movzx eax, dl
lea ecx, [edx + esi]
imul eax, eax, 0xfd
sub al, byte [edx + esi + 1]
add byte [ecx], al
sub edx, 1
jne 0x41b501
mov al, byte [esi + 1]
sub byte [esi], al
lea eax, [ebp - 0x40]
mov dl, 1
push eax
mov ecx, 1
call fcn.00421f30
add esp, 4
test al, al
jne 0x41b561
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.GetServicePath_failed_with__i.
push eax
call fcn.0041d420
add esp, 0xc
mov ecx, edi
push eax
call fcn.00409400
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41b721
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push pe_nt_image_headers32
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0xb4], ecx
cmp ecx, 0xffffffff
jne 0x41b5d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.CreateFile_failed_with__i.
push eax
call fcn.0041d420
add esp, 0xc
mov ecx, edi
push eax
call fcn.00409400
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41b721
push 0
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0xb0]
mov eax, dword [0x4bdce8]
add eax, 0x1c
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xb4]
mov dword [ebp - 0xb0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x41b63f
push dword [ebp - 0xb0]
lea eax, [ebp - 0x28]
push str.WriteFile_failed_with__i.
push eax
call fcn.0041d420
add esp, 0xc
mov ecx, edi
push eax
call fcn.00409400
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41b721
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push pe_nt_image_headers32
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xb4], esi
cmp esi, 0xffffffff
jne 0x41b69d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.CreateFile_for_read_failed_with__i.
push eax
call fcn.0041d420
add esp, 0xc
mov ecx, edi
push eax
call fcn.00409400
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41b721
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41b6a7
mov eax, dword [edi]
mov ecx, dword [ebp - 0xb8]
push edi
push 0x1388
mov dword [ecx], 0
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x4bdd00
call fcn.00419c00
sub eax, 0
je 0x41b6e2
sub eax, 1
je 0x41b6d9
sub eax, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b721
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.0041b8b0
mov esi, eax
test esi, esi
mov dword [0x4bdcfc], esi
setne byte [ebp - 0xa9]
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x41b7f5
jmp 0x41b721
push 0x14
push str.Invalid_binary_size.
mov ecx, edi
call fcn.00403bf0
lea ecx, [ebp - 0xa8]
call fcn.0041bf00
mov ecx, eax
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 8
jb 0x41b73a
mov edi, dword [edi]
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
lea eax, [edi + eax*2]
push eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0041c350
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 8
call fcn.0041be30
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x200
jb 0x41b79f
cmp ecx, 0x1ff
jb 0x41b78d
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x1ff
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 0x1ff], 0
jmp 0x41b79f
mov eax, 0x1ff
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.004104c0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [0x4bdce8]
add eax, 0x1c
push 0x200
push eax
call fcn.004776a8
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x41b7f5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b7eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b8a4
push edx
push ecx
call fcn.0046e38b
add esp, 8
mov eax, dword [0x4bdce8]
movzx ecx, byte [ebp - 0xa9]
mov dword [eax + 0x14], ecx
push dword [0x4bdcf4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x41b846
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b83c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b8a9
push edx
push ecx
call fcn.0046e38b
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x41b87c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b872
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b8a9
push edx
push ecx
call fcn.0046e38b
add esp, 8
mov al, byte [ebp - 0xa9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e348
mov esp, ebp
pop ebp
ret 4
call fcn.00473154
call fcn.00473154
call fcn.00473154
int3