Function at 0x404b60
Capabilities:
Read .ini file
Reference cloudflare dns server
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4309b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
push esi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.Init_Data....
call fcn.00428960
call fcn.00417790
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x78]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x74]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x74]
push 0x5c
push ecx
call fcn.0041bd80
add esp, 8
lea edx, [esp + 0x74]
mov ecx, 0x441410
mov byte [eax + 1], 0
push edx
call fcn.00428a2f
push str.config
lea eax, [esp + 0x10]
push 0x441410
push eax
call fcn.00428b3b
mov eax, dword [eax]
push eax
call fcn.0041c9cd
add esp, 4
lea ecx, [esp + 0xc]
call fcn.004288f2
mov ecx, 0x4413a0
call fcn.00415100
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.1.1.1.1
call fcn.00428960
push 0x43b794
push str.CLIENT
lea ecx, [esp + 0x18]
push str.contact.ini
push ecx
call fcn.00417b40
add esp, 0x14
push eax
mov ecx, 0x441454
mov dword [esp + 0x184], 0
call fcn.004289df
lea ecx, [esp + 0xc]
mov dword [esp + 0x180], 0xffffffff
call fcn.004288f2
mov edx, dword [0x4413dc]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [edx + 2]
test eax, eax
jne 0x404cce
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x40]
push str.server.ini
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x441410
push eax
call fcn.00428b3b
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
push 0x32
push ecx
push str.0.0.0.0
push 0x43b468
push str.SERVER
call esi
lea ecx, [esp + 0xc]
call fcn.004288f2
lea edx, [esp + 0x40]
push edx
call sub.WSOCK32.dll_inet_addr
mov ecx, dword [0x4413dc]
mov dword [ecx + 2], eax
mov edx, dword [0x4413dc]
cmp word [edx + 6], 0
jne 0x404d39
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x40]
push str.server.ini
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x441410
push eax
call fcn.00428b3b
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
push 0x32
push ecx
push 0x43b774
push str.PORT
push str.SERVER
call esi
lea ecx, [esp + 0xc]
call fcn.004288f2
lea edx, [esp + 0x40]
push edx
call fcn.0041c36a
mov ecx, dword [0x4413dc]
add esp, 4
mov word [ecx + 6], ax
mov edx, dword [0x4413dc]
or ecx, 0xffffffff
mov dword [edx + 0x34], 0x14
mov eax, dword [0x4413dc]
lea edi, [eax + 0xb2]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x404f01
mov ecx, dword [0x43db14]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0xc]
mov ebx, 1
push edx
mov dword [esp + 0x184], ebx
call fcn.004183c0
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 2
call fcn.004289df
lea ecx, [esp + 0xc]
mov byte [esp + 0x180], bl
call fcn.004288f2
mov eax, dword [0x43db14]
mov dword [esp + 0x18], eax
mov edx, dword [0x4413dc]
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov byte [esp + 0x180], 3
mov cl, byte [edx + 0x2c199]
push ecx
push eax
lea ecx, [esp + 0x20]
push str.GetPcID..._s.__id_is_mac:_d
push ecx
call fcn.00427b91
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00428667
call fcn.00417790
mov eax, dword [esp + 0x14]
push 0x441314
push eax
call fcn.0041bda7
add esp, 0xc
test eax, eax
je 0x404e1a
mov ecx, dword [0x4413dc]
cmp byte [ecx + 0x2c199], bl
jne 0x404e9c
call fcn.00417d10
lea edx, [esp + 0xc]
push eax
push edx
call fcn.00417d80
add esp, 8
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push str.GetRemoteMAC..._s
push ecx
mov byte [esp + 0x18c], 4
call fcn.00427b91
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00428667
call fcn.00417790
mov ecx, dword [0x4413dc]
mov eax, dword [esp + 0x10]
push 0x1e
add ecx, 0xb2
push eax
push ecx
call fcn.0041bf00
add esp, 0x10
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
call fcn.004289df
lea ecx, [esp + 0xc]
mov byte [esp + 0x180], 3
call fcn.004288f2
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00428667
push str.pcid
push str.Local
push str.Contact.ini
call fcn.00417c60
mov edx, dword [0x4413dc]
mov ecx, dword [esp + 0x20]
push 0x1e
add edx, 0xb2
push ecx
push edx
call fcn.0041bf00
add esp, 0x1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], bl
call fcn.004288f2
lea ecx, [esp + 0x10]
mov dword [esp + 0x180], 0xffffffff
call fcn.004288f2
call fcn.00413cd0
mov eax, dword [0x43db14]
mov dword [esp + 0x3c], eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xbb8
mov dword [esp + 0x184], 5
call edi
mov eax, dword [0x43db14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov bl, 9
xor esi, esi
mov byte [esp + 0x180], bl
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x441314
call fcn.00428960
push str.os_str
push str.pcinfo
lea ecx, [esp + 0x18]
push str.contact.ini
push ecx
call fcn.00417b40
add esp, 0x14
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x184], 0xa
call fcn.004289df
lea ecx, [esp + 0xc]
mov byte [esp + 0x180], bl
call fcn.004288f2
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x441314
call fcn.00428960
push str.cpu_str
push str.pcinfo
lea edx, [esp + 0x24]
push str.contact.ini
push edx
call fcn.00417b40
add esp, 0x14
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x184], 0xb
call fcn.004289df
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], bl
call fcn.004288f2
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x441314
call fcn.00428960
push str.pctype_str
push str.pcinfo
lea eax, [esp + 0x1c]
push str.contact.ini
push eax
call fcn.00417b40
add esp, 0x14
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x184], 0xc
call fcn.004289df
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], bl
call fcn.004288f2
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x441314
call fcn.00428960
push str.login_str
push str.pcinfo
lea ecx, [esp + 0x28]
push str.contact.ini
push ecx
call fcn.00417b40
add esp, 0x14
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x184], 0xd
call fcn.004289df
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], bl
call fcn.004288f2
push 0x441314
mov edx, dword [esp + 0x28]
push edx
call fcn.0041bda7
add esp, 8
test eax, eax
jne 0x4050aa
push 0x3e8
call edi
inc esi
cmp esi, 5
jl 0x404f47
mov ecx, dword [0x4413dc]
mov eax, dword [esp + 0x24]
push 0x63
add ecx, 0x237
push eax
push ecx
call fcn.0041bf00
mov eax, dword [0x4413dc]
mov edx, dword [esp + 0x38]
push 0x63
add eax, 0x2cd
push edx
push eax
call fcn.0041bf00
mov edx, dword [0x4413dc]
mov ecx, dword [esp + 0x50]
push 0x31
add edx, 0x205
push ecx
push edx
call fcn.0041bf00
add esp, 0x24
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
call fcn.00428667
push 0x43b700
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 0xe
call fcn.0042780b
test eax, eax
jle 0x405151
inc eax
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00427771
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 0xf
call fcn.004289df
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 0xe
call fcn.004288f2
mov eax, dword [0x43db14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
push edx
push eax
mov byte [esp + 0x188], 0x11
call fcn.00419600
add esp, 8
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.00428cbe
push 0x43b1ec
lea ecx, [esp + 0x18]
call fcn.00428c82
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
call fcn.00428cbe
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x43b6fc
call fcn.00428960
push str.step
push str.debug
push str.Contact.ini
call fcn.00417c60
mov ecx, dword [0x4413dc]
mov eax, dword [esp + 0x24]
push 0x31
add ecx, 0x29b
push eax
push ecx
call fcn.0041bf00
add esp, 0x1c
call fcn.00405290
lea ecx, [esp + 0x34]
mov byte [esp + 0x180], 0x10
call fcn.004288f2
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 0xe
call fcn.004288f2
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], bl
call fcn.004288f2
lea ecx, [esp + 0x28]
mov byte [esp + 0x180], 8
call fcn.004288f2
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 7
call fcn.004288f2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 6
call fcn.004288f2
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 5
call fcn.004288f2
lea ecx, [esp + 0x3c]
mov dword [esp + 0x180], 0xffffffff
call fcn.004288f2
mov ecx, dword [esp + 0x178]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x178
ret