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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498d00
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 0x41b414
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.00421850
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41b49b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b491
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b87f
push edx
push ecx
call fcn.0046e37b
add esp, 8
mov esi, dword [0x4bdce8]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0xb0], ecx
test ecx, ecx
je 0x41b6f3
cmp ecx, 0x1ffffe4
ja 0x41b6f3
add esi, 0x1c
cmp ecx, 2
jb 0x41b4fd
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 0x41b4f8
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 0x41b4e1
mov al, byte [esi + 1]
sub byte [esi], al
lea eax, [ebp - 0x40]
mov dl, 1
push eax
mov ecx, 1
call fcn.00421f00
add esp, 4
test al, al
jne 0x41b541
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.GetServicePath_failed_with__i.
push eax
call fcn.0041d400
add esp, 0xc
mov ecx, edi
push eax
call fcn.004093d0
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41b701
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 0x41b5b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.CreateFile_failed_with__i.
push eax
call fcn.0041d400
add esp, 0xc
mov ecx, edi
push eax
call fcn.004093d0
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41b701
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 0x41b61f
push dword [ebp - 0xb0]
lea eax, [ebp - 0x28]
push str.WriteFile_failed_with__i.
push eax
call fcn.0041d400
add esp, 0xc
mov ecx, edi
push eax
call fcn.004093d0
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41b701
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 0x41b67d
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.0041d400
add esp, 0xc
mov ecx, edi
push eax
call fcn.004093d0
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41b701
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41b687
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.00419be0
sub eax, 0
je 0x41b6c2
sub eax, 1
je 0x41b6b9
sub eax, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b701
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.0041b890
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 0x41b7d5
jmp 0x41b701
push 0x14
push str.Invalid_binary_size.
mov ecx, edi
call fcn.00403bf0
lea ecx, [ebp - 0xa8]
call fcn.0041bee0
mov ecx, eax
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 8
jb 0x41b71a
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.0041c330
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 8
call fcn.0041be10
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x200
jb 0x41b77f
cmp ecx, 0x1ff
jb 0x41b76d
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 0x41b77f
mov eax, 0x1ff
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00410490
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.00477698
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x41b7d5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b7cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b884
push edx
push ecx
call fcn.0046e37b
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 0x41b826
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b81c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b889
push edx
push ecx
call fcn.0046e37b
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x41b85c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b852
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b889
push edx
push ecx
call fcn.0046e37b
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.0046e338
mov esp, ebp
pop ebp
ret 4
call fcn.00473144
call fcn.00473144
call fcn.00473144
int3