Function at 0x403130
Capabilities:
Initialize winsock library
Read .ini file
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x41aba4]
push ebx
push esi
push edi
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x460]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x403409
push 0x419b18
lea eax, [ebp - 0x2d0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.DirSvrInfo1.ini
lea eax, [ebp - 0x2d0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00404c40
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push str..DirSvrInfo1.ini
push 0x4171e4
push str.Domain
push 0x41718c
call ebx
push str..DirSvrInfo1.ini
push 0x4171fc
push str.ServerID
push 0x41718c
call ebx
lea eax, [ebp - 0x2d0]
push eax
push 0x40
lea eax, [ebp - 0xc8]
push eax
push str.150.138.83.133
push 0x41722c
push str.ServerInfo1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str..DirSvrInfo1.ini
push 0x40
lea eax, [ebp - 0x48]
push eax
push 0x4171e4
push str.Domain
push 0x41718c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x403267
mov edi, dword [ebx + 0xc]
cmp dword [edi], 0
je 0x403267
nop
push 0x20
call fcn.0040362f
add esp, 4
mov esi, eax
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
push esi
movups xmmword [esi + 0x10], xmm0
movsx eax, word [ebx + 8]
push dword [edi]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntop]
cmp dword [edi + 4], 0
lea edi, [edi + 4]
mov dword [0x41b040], esi
jne 0x403230
jmp 0x40326d
mov esi, dword [0x41b040]
lea edi, [ebp - 0xc8]
mov ebx, 0x41afb4
test esi, esi
je 0x4032ba
push str..DirSvrInfo1.ini
push esi
push 0x41724c
push 0x41718c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
xor edi, edi
push esi
call fcn.00407b2a
add esp, 4
mov byte [ebx], al
lea ebx, [ebx + 1]
push 0x2e
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrA]
mov esi, eax
test esi, esi
je 0x4032e6
inc edi
inc esi
cmp edi, 4
jb 0x403294
jmp 0x4032e6
xor esi, esi
nop dword [eax]
push edi
call fcn.00407aeb
add esp, 4
mov byte [ebx], al
lea ebx, [ebx + 1]
push 0x2e
push edi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
test edi, edi
je 0x4032e6
inc esi
add edi, 2
cmp esi, 4
jb 0x4032c0
push str..DirSvrInfo1.ini
push 0x417250
push 0x417264
push 0x41718c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x2d0]
push eax
push 0x40
lea eax, [ebp - 0xc8]
push eax
push str.33999_33999_33999
push str.Ports
push str.ServerInfo1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x2c
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x40333d
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xc8]
push eax
call fcn.00407aeb
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
mov word [0x41adcc], ax
push str..DirSvrInfo1.ini
push 0x7f
push 0x41af30
push 0
push str.user
push 0x41718c
call esi
push str..DirSvrInfo1.ini
push 0x7f
push 0x41afb8
push 0
push 0x417198
push 0x41718c
call esi
movups xmm0, xmmword [str.dawofusima888888]
push 0x84
push 0
movups xmmword [0x41b044], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push 0
mov dword [0x41b038], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [0x41b038]
mov dword [0x41b054], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push 0x402d60
push dword [ebp - 0x464]
push 0x81
push dword [0x41aba0]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push dword [0x41b038]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x41b054]
call dword [sym.imp.GDI32.dll_DeleteDC]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040341c
mov esp, ebp
pop ebp
ret