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

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x340
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x007cd058]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov rbx, rcx
lea rcx, [r11 - 0x158]
mov rax, qword [0x007c14e0]
mov qword [rcx], rax
mov eax, dword [0x007c14e8]
mov dword [rcx + 8], eax
movzx eax, word [0x007c14ec]
mov word [rcx + 0xc], ax
mov dword [rbx + 0x1b0c], 0
lea rsi, [rbx + 0x1a08]
mov r8d, 0x104
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movsxd rcx, eax
cmp byte [rcx + rbx + 0x1a08], 0x5c
je 0x7aa6ca
lea rcx, [rcx + rbx + 0x1a08]
nop dword [rax]
dec eax
dec rcx
cmp byte [rcx], 0x5c
jne 0x7aa6c0
cdqe
mov byte [rax + rbx + 0x1a09], 0
mov rdi, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x1f0]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x7aa6f0
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x20
lea r9, [rsp + 0x200]
xor r8d, r8d
lea rdx, [0x007c14d0]
lea rcx, [0x007c14c4]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [rbx + 0x1b0c], eax
mov r9, rsi
xor r8d, r8d
lea rdx, [0x007c14b8]
lea rcx, [0x007c14c4]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r9, rsi
mov r8d, 1
lea rdx, [0x007c14a8]
lea rcx, [0x007c14a0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbx + 0x19e3], eax
mov r9, rsi
xor r8d, r8d
lea rdx, [0x007c1490]
lea rcx, [0x007c14a0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [rbx + 0x1801], ax
mov byte [rsp + 0x220], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x221]
call fcn.00790ad0
mov byte [rsp + 0x1e0], 0
xor eax, eax
mov qword [rsp + 0x1e1], rax
mov dword [rsp + 0x1e9], eax
mov word [rsp + 0x1ed], ax
mov byte [rsp + 0x1ef], al
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x220]
xor r8d, r8d
lea rdx, [0x007c1480]
lea rcx, [0x007c1470]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call sub.WS2_32.dll_WSAStartup
lea rcx, [rsp + 0x220]
call sub.WS2_32.dll_gethostbyname
test rax, rax
jne 0x7aa84f
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x1e0]
xor r8d, r8d
lea rdx, [0x007c1480]
lea rcx, [0x007c1470]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x7aa874
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call sub.WS2_32.dll_inet_ntoa
mov r8, rax
lea rdx, [0x007c52e8]
lea rcx, [rsp + 0x1e0]
call fcn.00788954
lea rcx, [rsp + 0x1f0]
call fcn.007aede0
nop
lea rdx, [rbx + 0x17d7]
lea r8, [rsp + 0x1e0]
lea rcx, [rsp + 0x1f0]
call fcn.007aeea0
lea r9, [rbx + 0x40]
xor eax, eax
mov qword [r9], rax
mov qword [r9 + 8], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x104
xor r8d, r8d
lea rdx, [0x007c1460]
lea rcx, [0x007c1470]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r9, rsi
mov r8d, 5
lea rdx, [0x007c1458]
lea rcx, [0x007c1470]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [rbx + 0x17fd], ax
mov r9, rsi
mov r8d, 0x1630
lea rdx, [0x007c1450]
lea rcx, [0x007c1470]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [rbx + 0x17fb], ax
mov r9, rsi
mov r8d, 1
lea rdx, [0x007c1440]
lea rcx, [0x007c1470]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbx + 0x19ea], eax
lea rcx, [rsp + 0x1f0]
call fcn.007aedf0
mov al, 1
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.00787d00
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret