Function at 0x4066c0
Capabilities:
Create thread
Delete file
Hide graphical window
Initialize winsock library
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2fc
mov eax, dword [0x43300c]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push 0
push 0
push 0
push 0x409cc0
push 0
push 0
call esi
call fcn.00416910
call fcn.00406bc0
test al, al
jne 0x406b8b
push 0
push 0
push 0
push 0x409c10
push 0
push 0
call esi
push 0
push 0
push 0
push 0x4098a0
push 0
push 0
call esi
push str.C:WindowsMuAdmins.Notice
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
mov dword [esp + 0x14], 1
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push 0
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x40eb70
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x6b
push 0x50f320
push 0x67
push ebx
mov dword [0x50f31c], eax
call esi
push 0x6b
push 0x50f2b0
push 0x6d
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x82
push ebx
mov dword [esp + 0x2c], 0x30
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 0x4073e0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], ebx
call esi
push 0x7f00
push 0
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x82
push dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 6
mov dword [esp + 0x50], 0x6d
mov dword [esp + 0x54], 0x50f2b0
call esi
mov dword [esp + 0x50], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push ebx
push 0
push 0
push 0x2b2
push 0x3ca
push 0
push closesocket
push 0xcf0000
push 0x50f320
push 0x50f2b0
mov dword [0x50f2ac], ebx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x50f2a8], eax
test eax, eax
jne 0x406877
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.00423570
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push eax
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
and eax, 0xfffbffff
push eax
push 0xfffffffffffffff0
push dword [0x50f2a8]
call esi
push 0xfffffffffffffff0
push dword [0x50f2a8]
call edi
and eax, 0xfffeffff
push eax
push 0xfffffffffffffff0
push dword [0x50f2a8]
call esi
push 3
push 0xf060
push 0
push dword [0x50f2a8]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push dword [ebp + 0x14]
push dword [0x50f2a8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x50f2a8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..Settings.ini
push 0x20
push 0x50dddc
push 0x427990
push str.ServerName
push str.SilentGameGuardInfo
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str..Settings.ini
push 0
push str.ServerPort
push str.SilentGameGuardInfo
call edi
push str..Settings.ini
push 0
push str.MaxIpConnection
push str.SilentGameGuardInfo
mov dword [0x50de3c], eax
call edi
push str..Settings.ini
push 0x20
push 0x50f1fc
push 0x427990
push str.ServerName
push str.SilentGameGuardInfo
mov dword [0x50de40], eax
call esi
push str..Settings.ini
push 0x20
push 0x50f27c
push 0x427990
push 0x428420
push str.SilentGameGuardInfo
call esi
push str..Settings.ini
push 0x20
push 0x50f25c
push 0x427990
push str.DataBase
push str.SilentGameGuardInfo
call esi
push str..Settings.ini
push 0x20
push 0x50f23c
push 0x427990
push str.User
push str.SilentGameGuardInfo
call esi
push str..Settings.ini
push 0x20
push 0x50f21c
push 0x427990
push str.Pass
push str.SilentGameGuardInfo
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x409c70
push 1
push 0
call esi
push str.._Settings.ini
push 0
push str.AutoUnBlock
push str.SilentGameGuardInfo
call edi
cmp eax, 1
jne 0x406a13
push 0
push 0
push 0
push 0x409ab0
push 0
push 0
call esi
lea eax, [esp + 0x200]
push str.Silent_GameGuard_MuOnline_AntiHack_Server_Load_Settings__Version_Release_1.0.32_R7_Build_:_12_22_2023_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea eax, [esp + 0x200]
push eax
push dword [0x50f2a8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x50f2a8]
push str.Logs
push 1
mov dword [0x509854], eax
call fcn.0040ddf0
push str.LogsHack_Logs
push 1
call fcn.0040ddf0
push str.LogsAttack_Logs
push 2
call fcn.0040ddf0
lea eax, [esp + 0x70]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x406ac8
movzx eax, word [0x50de3c]
push eax
call fcn.00417ca0
test al, al
je 0x406ade
push 0
push 0x3e8
push 0x64
push dword [0x50f2a8]
call esi
push 0
push 0x1388
push 0x66
push dword [0x50f2a8]
call esi
push 0
push 1
push 0x67
push dword [0x50f2a4]
call esi
jmp 0x406ade
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSAStartup___failed_with_error:__d
push 1
call fcn.00419440
add esp, 0xc
call fcn.004161a0
push 0
push 0x7d0
push 0x65
push dword [0x50f2a8]
call esi
push 0x6d
push ebx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
push 0
push eax
call esi
test eax, eax
je 0x406b5a
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x10]
push dword [esp + 0x5c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x406b49
lea eax, [esp + 0x54]
push eax
call edi
lea eax, [esp + 0x54]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x60]
push eax
call esi
test eax, eax
jne 0x406b24
push dword [0x50f31c]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push dword [esp + 0x10]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [esp + 0x304]
mov eax, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00423570
mov esp, ebp
pop ebp
ret 0x10
push 0x1388
sub esp, 8
mov edx, str.Warning:_Hosts_file_has_been_modified
push str.Silent_GameGuard_::__Error_0x01_
call fcn.0040eb20
push str._Silent_GameGuard_____Warning__:_Hosts_file_has_been_Modified
push 0
push 0x433390
call fcn.0040df10
add esp, 0x1c
call fcn.00401f20
int3