Function at 0x140045b30
Capabilities:
Create directory
Read .ini file

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x140201180]
xor rax, rbp
mov qword [rbp + 0x1d8], rax
lea rcx, [0x14024c04d]
call fcn.1400b51d0
nop
mov r9d, WSAAsyncSelect
lea r8, [0x14021d8c0]
mov edx, 0x67
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.USER32.dll_LoadStringA]
nop
mov r9d, WSAAsyncSelect
lea r8, [0x14021d930]
mov edx, WSAGetLastError
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.USER32.dll_LoadStringA]
nop
mov rcx, qword [rbp + 0x200]
call fcn.1400454d0
nop
mov edx, dword [rbp + 0x218]
mov rcx, qword [rbp + 0x200]
call fcn.1400453f0
test eax, eax
jne 0x140045bf3
xor eax, eax
jmp 0x140045fd1
lea rdx, [0x1401b4710]
lea rcx, [rbp + 0x1c4]
call fcn.1400488b0
nop
xor edx, edx
lea rcx, [0x1401b4724]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
mov edx, WSAGetLastError
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov qword [rbp + 0x58], rax
mov r8d, 0x100
mov dl, 1
lea rcx, [0x14022f400]
call fcn.14004dd50
nop
lea r8, str.Initializing...
mov edx, 0xff
lea rcx, [0x14022f400]
call fcn.14004c6a0
nop
call fcn.140045090
nop
lea rcx, [0x14021d6f0]
call fcn.140046d80
nop
lea rax, str.19:21:52
mov qword [rsp + 0x20], rax
lea r9, str.Oct__8_2024
lea r8, [0x1401b4758]
lea rdx, str.Connect_Server_version:__s_Compiled_at:__s__s
lea rcx, [0x14022f400]
call fcn.14004c350
nop
xor r9d, r9d
mov r8d, 0x3e8
mov edx, 0x101
mov rcx, qword [0x14021d6e0]
call qword [sym.imp.USER32.dll_SetTimer]
nop
xor r9d, r9d
mov r8d, 0x12c
mov edx, 0x102
mov rcx, qword [0x14021d6e0]
call qword [sym.imp.USER32.dll_SetTimer]
nop
xor r9d, r9d
mov r8d, 0x3e8
mov edx, 0x103
mov rcx, qword [0x14021d6e0]
call qword [sym.imp.USER32.dll_SetTimer]
nop
lea r9, str..ConnectServer.ini
mov r8d, 0xad75
lea rdx, str.TCP_PORT
lea rcx, str.Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x14021d6e8], ax
lea r9, str..ConnectServer.ini
mov r8d, 0xd973
lea rdx, str.UDP_PORT
lea rcx, str.Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x14021d7c8], ax
lea r9, str..ConnectServer.ini
mov r8d, 5
lea rdx, str.MaxConnectionsPerIP
lea rcx, str.Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x14021d7cc], eax
lea r9, str..ConnectServer.ini
mov r8d, gethostbyname
lea rdx, str.MaxPacketsPerSecond
lea rcx, str.Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x14021d7d0], eax
lea rax, str..ConnectServer.ini
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [0x14021d8a0]
lea r8, str.127.0.0.1
lea rdx, str.LauncherProxyWhiteListIP
lea rcx, str.Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop
lea rax, str..ConnectServer.ini
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 9
lea r9, [0x14021d890]
lea r8, str.1.06.06
lea rdx, str.Version
lea rcx, str.AutoUpdate
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop
lea rax, str..ConnectServer.ini
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], socket
lea r9, [0x14021d878]
lea r8, str.version.dat
lea rdx, str.VersionFile
lea rcx, str.AutoUpdate
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop
lea rax, str..ConnectServer.ini
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], WSAAsyncSelect
lea r9, [0x14021d7e0]
lea r8, str.mu.trong.live
lea rdx, str.HostURL
lea rcx, str.AutoUpdate
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop
lea rax, str..ConnectServer.ini
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], socket
lea r9, [0x14021d848]
lea r8, str.mu0nline
lea rdx, str.FTPLogin
lea rcx, str.AutoUpdate
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop
lea rax, str..ConnectServer.ini
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], socket
lea r9, [0x14021d860]
lea r8, str.mu0nline
lea rdx, str.FTPPasswd
lea rcx, str.AutoUpdate
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop
lea r9, str..ConnectServer.ini
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.FTPPort
lea rcx, str.AutoUpdate
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x14021d7d4], ax
lea rdx, str.IGC_ServerList.xml
lea rcx, [0x14021e250]
call fcn.14004b880
nop
lea rdx, str.News.dat
lea rcx, [0x14021e250]
call fcn.14004b3e0
nop
movzx eax, word [0x14021d7c8]
movzx ecx, word [0x14021d6e8]
mov dword [rsp + 0x20], eax
mov r9d, ecx
lea r8, [0x1401b4758]
lea rdx, str.__s__IGC.ConnectServer__TCP_Port:__d__UDP_Port:__d__TCP_Auth_Port:__d_
lea rcx, [rbp + 0x80]
call qword [sym.imp.USER32.dll_wsprintfA]
nop
lea rdx, [rbp + 0x80]
mov rcx, qword [0x14021d6e0]
call qword [sym.imp.USER32.dll_SetWindowTextA]
nop
movzx eax, word [0x14021d6e8]
mov edx, eax
lea rcx, [0x14021d6f0]
call fcn.1400461e0
nop
call fcn.14004a940
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x140045fce
lea r8, [rbp + 8]
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x140045fcc
lea rcx, [rbp + 8]
call qword [sym.imp.USER32.dll_TranslateMessage]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
nop
jmp 0x140045f8a
mov eax, dword [rbp + 0x18]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400b4fa0
mov rax, rdi
mov rcx, qword [rbp + 0x1d8]
xor rcx, rbp
call fcn.1400b5470
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret