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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2fc
mov eax, dword [0x48b034]
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 0x4093c0
push 0
push 0
call esi
call fcn.004160e0
call fcn.004064a0
test al, al
jne 0x406467
push 0
push 0
push 0
push 0x409310
push 0
push 0
call esi
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x40e270
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x6b
push 0x567510
push 0x67
push ebx
mov dword [0x56750c], eax
call esi
push 0x6b
push 0x5674a0
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], 0x406cb0
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], 0x5674a0
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 accept
push 0xcf0000
push 0x567510
push 0x5674a0
push 0
mov dword [0x56749c], ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x567498], eax
test eax, eax
jne 0x406138
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.0046bb5b
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 [0x567498]
call esi
push 0xfffffffffffffff0
push dword [0x567498]
call edi
and eax, 0xfffeffff
push eax
push 0xfffffffffffffff0
push dword [0x567498]
call esi
push 3
push 0xf060
push 0
push dword [0x567498]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push dword [ebp + 0x14]
push dword [0x567498]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x567498]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x47c4d8
push 0x20
push 0x565e04
push 0x47b8d7
push str.ServerName
push 0x47c4e8
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x47c4d8
push 0
push str.ServerPort
push 0x47c4e8
call edi
push 0x47c4d8
push 0
push str.MaxIpConnection
push 0x47c4e8
mov dword [0x565e64], eax
call edi
push 0x47c4fc
push 0x20
push 0x5673ec
push 0x47b41a
push 0x47c50c
push 0x47c518
mov dword [0x565e68], eax
call esi
push 0x47c52c
push 0x20
push 0x56746c
push 0x47b41b
push 0x47c53c
push 0x47c540
call esi
push 0x47c554
push 0x20
push 0x56744c
push 0x47b456
push 0x47c564
push 0x47c570
call esi
push 0x47c584
push 0x20
push 0x56742c
push 0x47b457
push 0x47c594
push 0x47c59c
call esi
push 0x47c5b0
push 0x20
push 0x56740c
push 0x47b46e
push 0x47c5c0
push 0x47c5c8
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x409370
push 1
push 0
call esi
push 0x47c5dc
push 0
push str.AutoUnBlock
push 0x47c5f8
call edi
cmp eax, 1
jne 0x4062d4
push 0
push 0
push 0
push 0x4091a0
push 0
push 0
call esi
lea eax, [esp + 0x200]
push str.Silent_GameGuard_MuOnline_AntiHack_Server_Load_Settings__Version_Release_1.0.32_R9_Build_:_12_29_2023_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea eax, [esp + 0x200]
push eax
push dword [0x567498]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x567498]
push str.Logs
push 1
mov dword [0x561880], eax
call fcn.0040d4f0
push str.LogsHack_Logs
push 1
call fcn.0040d4f0
push str.LogsAttack_Logs
push 2
call fcn.0040d4f0
lea eax, [esp + 0x70]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x406389
movzx eax, word [0x565e64]
push eax
call fcn.004173a0
test al, al
je 0x4063b8
push 0
push 0x3e8
push 0x64
push dword [0x567498]
call edi
push 0
push 0x1388
push 0x66
push dword [0x567498]
call edi
push 0
push 1
push 0x67
push dword [0x567494]
call edi
jmp 0x4063b8
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
push eax
push str.WSAStartup___failed_with_error:__d
push 1
call fcn.00418b60
add esp, 0xc
call esi
push eax
push str._Silent_GameGuard_____Warning__WSAStartup___failed_with_error_:___d
push 0
push 0x48b3b8
call fcn.0040d610
add esp, 0x10
call fcn.00415900
push 0
push 0x7d0
push 0x65
push dword [0x567498]
call edi
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 0x406436
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
nop
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 0x406425
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 0x406400
push dword [0x56750c]
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.0046bb5b
mov esp, ebp
pop ebp
ret 0x10
push str._Silent_GameGuard_____Warning__:_Hosts_file_has_been_Modified
push 0
push 0x48b3b8
call fcn.0040d610
add esp, 0xc
mov edx, 0x47c4b0
push 0x1388
sub esp, 8
push str.Silent_GameGuard_::__Error_0x01_
call fcn.0040e220
add esp, 0x10
call fcn.00401f10
int3