Function at 0x1401456b0
Capabilities:
Get local ipv4 addresses
Get socket information
Manipulate boot configuration
Read .ini file
Receive data
Receive data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
mov eax, 0x40d58
call fcn.1401da720
sub rsp, rax
mov qword [rsp + 0x40cc0], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x40d40], rax
mov rax, qword [rsp + 0x40d78]
cmp dword [rax + 0x28], 0x65
jne 0x1401456ff
mov eax, 1
jmp 0x140146d8b
mov rax, qword [rsp + 0x40d78]
cmp dword [rax + 0x28], 0x67
jne 0x140145724
mov rcx, qword [rsp + 0x40d70]
call fcn.14013ef70
mov eax, 1
jmp 0x140146d8b
mov ecx, 1
call fcn.140139b00
test eax, eax
je 0x14014578c
mov edx, 1
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_shutdown]
mov byte [rsp + 0xfb0], 0
lea rdi, [rsp + 0xfb1]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rsp + 0xfb0]
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_recv]
xor eax, eax
jmp 0x140146d8b
mov dword [rsp + 0x30], 0
xor r9d, r9d
mov rax, qword [rsp + 0x40d78]
mov r8d, dword [rax + 0x14]
mov rdx, qword [rsp + 0x40d70]
lea rcx, [0x1403b5ec0]
call fcn.14001b3a0
mov edx, eax
mov rax, qword [rsp + 0x40d70]
cmp edx, dword [rax + 0x230]
jle 0x1401457e5
mov r8, qword [rsp + 0x40d78]
mov rdx, qword [rsp + 0x40d70]
lea rcx, [0x1403b5ec0]
call fcn.14001b2a0
lea rcx, [rsp + 0x40]
call fcn.1401d19d0
nop
mov rax, qword [rsp + 0x40d78]
mov edx, dword [rax + 0x14]
lea rcx, [rsp + 0x40]
call fcn.1401d7890
mov dword [rsp + 0x384], eax
cmp dword [rsp + 0x384], 0
jne 0x14014588a
mov edx, 1
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_shutdown]
mov byte [rsp + 0x1fb0], 0
lea rdi, [rsp + 0x1fb1]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rsp + 0x1fb0]
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_recv]
mov dword [rsp + 0x40c54], 0
lea rcx, [rsp + 0x40]
call fcn.140014ec0
mov eax, dword [rsp + 0x40c54]
jmp 0x140146d8b
lea rcx, [rsp + 0x1e8]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
test eax, eax
jne 0x140145a4c
lea rcx, [rsp + 0x3fd0]
call fcn.140120ec0
mov rdx, qword [rsp + 0x40d78]
mov ecx, dword [rdx + 0x14]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x4080]
call fcn.1400ab970
mov rdx, qword [rsp + 0x40d78]
movzx ecx, word [rdx + 0x12]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0x4380], eax
mov dword [rsp + 0x3fdc], 0xffffffff
mov rax, qword [rsp + 0x40d78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x3fe0], rax
mov dword [rsp + 0x4384], 2
lea rax, [rsp + 0xd098]
mov qword [rsp + 0x4028], rax
mov rax, qword [rsp + 0x4028]
mov dword [rax + 0x258], 2
mov dword [rsp + 0x2fb0], 0x10
lea r8, [rsp + 0x2fb0]
lea rdx, [rsp + 0x3fc0]
mov rcx, qword [rsp + 0x3fe0]
call qword [sym.imp.WSOCK32.dll_getsockname]
movzx ecx, word [rsp + 0x3fc2]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx edx, ax
mov rax, qword [rsp + 0x4028]
mov word [rax + 0x200], dx
mov rax, qword [rsp + 0x4028]
movzx edi, word [rax + 0x200]
mov ecx, dword [rsp + 0x3fc4]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x4028]
add rcx, 0x27c
mov r9d, edi
mov r8, rax
lea rdx, [0x1402392d8]
call fcn.1400ad4a8
lea rdx, [rsp + 0x3fd0]
mov rcx, qword [rsp + 0x40d70]
call fcn.14012cd10
mov edx, 1
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_shutdown]
mov byte [rsp + 0x2fc0], 0
lea rdi, [rsp + 0x2fc1]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rsp + 0x2fc0]
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_recv]
mov dword [rsp + 0x40c58], 0
lea rcx, [rsp + 0x40]
call fcn.140014ec0
mov eax, dword [rsp + 0x40c58]
jmp 0x140146d8b
mov rax, qword [rsp + 0x40d70]
mov rax, qword [rax]
mov edx, dword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x40d70]
call qword [rax + 0x30]
mov qword [rsp + 0xfa0], 0
mov rcx, qword [rsp + 0x40d70]
add rcx, 0x508
call fcn.14000e350
mov rcx, qword [rsp + 0x40d70]
add rcx, 0x4d0
lea r8, [rsp + 0xfa0]
mov edx, dword [rsp + 0x1d8]
call fcn.14001d030
mov rcx, qword [rsp + 0x40d70]
add rcx, 0x508
mov rax, qword [rsp + 0x40d70]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
cmp qword [rsp + 0xfa0], 0
je 0x140145aed
mov rax, qword [rsp + 0xfa0]
cmp dword [rax + 0x84], 0
jne 0x140145c92
lea rcx, [rsp + 0xe740]
call fcn.140120ec0
mov rdx, qword [rsp + 0x40d78]
mov ecx, dword [rdx + 0x14]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0xe7f0]
call fcn.1400ab970
mov rdx, qword [rsp + 0x40d78]
movzx ecx, word [rdx + 0x12]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0xeaf0], eax
mov dword [rsp + 0xe74c], 0xffffffff
mov rax, qword [rsp + 0x40d78]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe750], rax
mov dword [rsp + 0xeaf4], 2
lea rax, [rsp + 0x17808]
mov qword [rsp + 0xe798], rax
mov rax, qword [rsp + 0xe798]
mov dword [rax + 0x258], 2
mov dword [rsp + 0xd720], 0x10
lea r8, [rsp + 0xd720]
lea rdx, [rsp + 0xe730]
mov rcx, qword [rsp + 0xe750]
call qword [sym.imp.WSOCK32.dll_getsockname]
movzx ecx, word [rsp + 0xe732]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx edx, ax
mov rax, qword [rsp + 0xe798]
mov word [rax + 0x200], dx
mov rax, qword [rsp + 0xe798]
movzx edi, word [rax + 0x200]
mov ecx, dword [rsp + 0xe734]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rcx, qword [rsp + 0xe798]
add rcx, 0x27c
mov r9d, edi
mov r8, rax
lea rdx, [0x1402392e0]
call fcn.1400ad4a8
lea rdx, [rsp + 0xe740]
mov rcx, qword [rsp + 0x40d70]
call fcn.14012cd10
mov edx, 1
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_shutdown]
mov byte [rsp + 0xd730], 0
lea rdi, [rsp + 0xd731]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rsp + 0xd730]
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_recv]
mov dword [rsp + 0x40c5c], 0
lea rcx, [rsp + 0x40]
call fcn.140014ec0
mov eax, dword [rsp + 0x40c5c]
jmp 0x140146d8b
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x40d70]
lea rcx, [0x1403b5ec0]
call fcn.14001b3a0
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x380], 5
xor eax, eax
mov word [rsp + 0x7a0], ax
lea rdi, [rsp + 0x7a2]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x40d70]
add rdx, 0x228
lea r8, [0x1402392e8]
lea rcx, [rsp + 0x40c60]
call fcn.1400010b0
mov qword [rsp + 0x40cc8], rax
mov rcx, qword [rsp + 0x40cc8]
call fcn.14000f8f0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x7a0]
lea r8, [0x140236b44]
lea rdx, [0x140239300]
lea rcx, [0x140239310]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x40c60]
call fcn.140001490
lea rdx, [rsp + 0x7a0]
lea rcx, [rsp + 0x388]
call fcn.140002100
nop
lea rcx, [rsp + 0x388]
call fcn.14000f8f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xc
jle 0x140145dfa
lea rcx, [rsp + 0x388]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [0x1403b58d0]
call fcn.14000f3a0
test eax, eax
je 0x140145dfa
lea rcx, str.12345_6
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
lea rdx, [rsp + 0x40c68]
lea rcx, [rsp + 0x388]
call fcn.140006a00
mov qword [rsp + 0x40cd0], rax
mov rcx, qword [rsp + 0x40cd0]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov dword [rsp + 0x380], eax
lea rcx, [rsp + 0x40c68]
call fcn.140001490
jmp 0x140145fdd
mov ecx, 0xffffff
call fcn.1400d92d0
mov dword [rsp + 0x17e90], eax
cmp dword [rsp + 0x17e90], 0xffffffff
jmp 0x140145fdd
mov eax, dword [rsp + 0x380]
add eax, 1
cmp dword [rsp + 0x30], eax
jmp 0x1401461c2
mov rax, qword [rsp + 0x40d78]
movzx ecx, word [rax + 0x12]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx edi, ax
mov rax, qword [rsp + 0x40d78]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov r9d, edi
mov r8, rax
lea rdx, str._s:_d_connect
lea rcx, [rsp + 0x3a0]
call fcn.1400ad4a8
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x40c78]
call fcn.14000e700
mov qword [rsp + 0x40cd8], rax
mov rax, qword [rsp + 0x40cd8]
mov qword [rsp + 0x40ce0], rax
mov rcx, qword [rsp + 0x40ce0]
call fcn.1400118c0
mov rdx, rax
xor ecx, ecx
call fcn.1400dcf70
nop
lea rcx, [rsp + 0x40c78]
call fcn.140002ea0
nop
mov rax, qword [rsp + 0x40d70]
cmp dword [rax + 0x4ac], 0
jne 0x140146296
mov rcx, qword [rsp + 0x40d78]
call fcn.14013c880
mov dword [rsp + 0x40ce8], eax
cmp dword [rsp + 0x40ce8], 0
jne 0x140146296
mov rax, qword [rsp + 0x40d70]
mov dword [rax + 0x4ac], 1
mov rax, qword [rsp + 0x40d70]
cmp dword [rax + 0x4b0], 0
jne 0x1401462d7
mov rcx, qword [rsp + 0x40d78]
call fcn.14013c070
mov dword [rsp + 0x40cec], eax
cmp dword [rsp + 0x40cec], 0
jne 0x1401462d7
mov rax, qword [rsp + 0x40d70]
mov dword [rax + 0x4b0], 1
mov rax, qword [rsp + 0x40d70]
cmp dword [rax + 0x4b4], 0
jne 0x140146318
mov rcx, qword [rsp + 0x40d78]
call fcn.14013b810
mov dword [rsp + 0x40cf0], eax
cmp dword [rsp + 0x40cf0], 0
jne 0x140146318
mov rax, qword [rsp + 0x40d70]
mov dword [rax + 0x4b4], 1
mov rcx, qword [rsp + 0x40d78]
call fcn.14013b4c0
mov dword [rsp + 0x364e8], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x364e8]
mov r8d, 1
mov edx, 6
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov dword [rsp + 0x364c0], eax
mov dword [rsp + 0x364c8], 0x100000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x364c8]
mov r8d, 0x1002
mov edx, 0xffff
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov dword [rsp + 0x364c0], eax
mov dword [rsp + 0x364c8], 0x100000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x364c8]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_setsockopt]
mov dword [rsp + 0x364c0], eax
lea rcx, [rsp + 0x2cd70]
call fcn.140120ec0
lea rdx, [rsp + 0x2cd70]
mov qword [rsp + 0x364e0], rdx
mov rax, qword [rsp + 0x40d78]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x364e0]
add rcx, 0xb0
mov rdx, rax
call fcn.1400ab970
mov rdx, qword [rsp + 0x40d78]
movzx ecx, word [rdx + 0x12]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx ecx, ax
mov rax, qword [rsp + 0x364e0]
mov dword [rax + 0x3b0], ecx
mov rax, qword [rsp + 0x364e0]
mov dword [rax + 0xc], 0xffffffff
mov rcx, qword [rsp + 0x364e0]
mov rax, qword [rsp + 0x40d78]
mov rax, qword [rax + 8]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x364e0]
mov dword [rax + 0x3b4], 2
mov rax, qword [rsp + 0x40d78]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x364e0]
add rcx, 0xb0
mov rdx, rax
call fcn.1400ab970
mov rdx, qword [rsp + 0x364e0]
mov eax, dword [rsp + 0x1d8]
mov dword [rdx], eax
lea rcx, [rsp + 0x2c0]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov edx, eax
mov rax, qword [rsp + 0x364e0]
mov dword [rax + 4], edx
mov rax, qword [rsp + 0x40d70]
mov r8d, dword [rax + 0x210]
mov rdx, qword [rsp + 0x364e0]
mov rcx, qword [rsp + 0x40d70]
call fcn.140141280
mov dword [rsp + 0x40cf4], eax
cmp dword [rsp + 0x40cf4], 0
jne 0x1401467c8
mov rcx, qword [rsp + 0xfa0]
add rcx, 0x50
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x40c80]
call fcn.140002e10
mov qword [rsp + 0x40cf8], rax
mov rax, qword [rsp + 0x40cf8]
mov qword [rsp + 0x40d00], rax
mov rcx, qword [rsp + 0x40d00]
call fcn.140002ec0
mov qword [rsp + 0x40d08], rax
mov rax, qword [rsp + 0x40d78]
movzx ecx, word [rax + 0x12]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx edi, ax
mov rax, qword [rsp + 0x40d78]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov r8, rax
mov rax, qword [rsp + 0x40d08]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea rdx, str._ERROR___s:_d_disconnect:_InitDisk___s_failed
lea rcx, [rsp + 0x3a0]
call fcn.1400ad4a8
nop
lea rcx, [rsp + 0x40c80]
call fcn.140002ea0
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x40c88]
call fcn.14000e700
mov qword [rsp + 0x40d10], rax
mov rax, qword [rsp + 0x40d10]
mov qword [rsp + 0x40d18], rax
mov rcx, qword [rsp + 0x40d18]
call fcn.1400118c0
mov rdx, rax
mov ecx, 1
call fcn.1400dcf70
nop
lea rcx, [rsp + 0x40c88]
call fcn.140002ea0
lea rcx, [rsp + 0x37500]
call fcn.140120ec0
mov rdx, qword [rsp + 0x40d78]
mov ecx, dword [rdx + 0x14]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x375b0]
call fcn.1400ab970
mov rdx, qword [rsp + 0x40d78]
movzx ecx, word [rdx + 0x12]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0x378b0], eax
mov dword [rsp + 0x3750c], 0xffffffff
mov rax, qword [rsp + 0x40d78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x37510], rax
mov dword [rsp + 0x378b4], 2
lea rax, [rsp + 0x405c8]
mov qword [rsp + 0x37558], rax
mov rax, qword [rsp + 0x37558]
mov dword [rax + 0x258], 2
mov dword [rsp + 0x364ec], 0x10
lea r8, [rsp + 0x364ec]
lea rdx, [rsp + 0x374f0]
mov rcx, qword [rsp + 0x37510]
call qword [sym.imp.WSOCK32.dll_getsockname]
movzx ecx, word [rsp + 0x374f2]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx edx, ax
mov rax, qword [rsp + 0x37558]
mov word [rax + 0x200], dx
mov rax, qword [rsp + 0x37558]
movzx edi, word [rax + 0x200]
mov ecx, dword [rsp + 0x374f4]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x37558]
add rcx, 0x27c
mov r9d, edi
mov r8, rax
lea rdx, [0x140239460]
call fcn.1400ad4a8
lea rdx, [rsp + 0x37500]
mov rcx, qword [rsp + 0x40d70]
call fcn.14012cd10
mov edx, 1
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_shutdown]
mov byte [rsp + 0x364f0], 0
lea rdi, [rsp + 0x364f1]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rsp + 0x364f0]
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_recv]
mov dword [rsp + 0x40c90], 0
lea rcx, [rsp + 0x388]
call fcn.140001490
nop
lea rcx, [rsp + 0x40]
call fcn.140014ec0
mov eax, dword [rsp + 0x40c90]
jmp 0x140146d8b
mov rcx, qword [rsp + 0x364e0]
add rcx, 0x90c8
mov rax, qword [rsp + 0x364e0]
mov qword [rax + 0x58], rcx
mov rax, qword [rsp + 0x364e0]
mov rax, qword [rax + 0x58]
mov dword [rax + 0x258], 2
mov dword [rsp + 0x364c4], 0x10
lea r8, [rsp + 0x364c4]
lea rdx, [rsp + 0x364d0]
mov rcx, qword [rsp + 0x364e0]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.WSOCK32.dll_getsockname]
mov rdi, qword [rsp + 0x364e0]
mov rdi, qword [rdi + 0x58]
movzx ecx, word [rsp + 0x364d2]
call qword [sym.imp.WSOCK32.dll_ntohs]
mov word [rdi + 0x200], ax
mov rax, qword [rsp + 0x364e0]
mov rax, qword [rax + 0x58]
movzx edi, word [rax + 0x200]
mov ecx, dword [rsp + 0x364d4]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x364e0]
mov rcx, qword [rcx + 0x58]
add rcx, 0x27c
mov r9d, edi
mov r8, rax
lea rdx, str._s:_u_1
call fcn.1400ad4a8
mov rcx, qword [rsp + 0xfa0]
call fcn.14001b910
mov rdx, qword [rsp + 0xfa0]
mov dword [rdx + 0xf0], 0
mov rax, qword [rsp + 0xfa0]
mov ecx, dword [rax + 0xf4]
add ecx, 1
mov rax, qword [rsp + 0xfa0]
mov dword [rax + 0xf4], ecx
mov rdx, qword [rsp + 0x40d70]
add rdx, 0x228
lea r8, [0x140239470]
lea rcx, [rsp + 0x40c98]
call fcn.1400010b0
mov qword [rsp + 0x40d20], rax
mov rcx, qword [rsp + 0x40d20]
call fcn.14000f8f0
mov r9, rax
xor r8d, r8d
lea rdx, str.SuperClientReadCache
lea rcx, [0x1402394b8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov rax, qword [rsp + 0xfa0]
mov dword [rax + 0xf8], edx
lea rcx, [rsp + 0x40c98]
call fcn.140001490
mov rcx, qword [rsp + 0xfa0]
call fcn.14001b940
mov r8, qword [rsp + 0x40d78]
mov rdx, qword [rsp + 0x364e0]
mov rcx, qword [rsp + 0x40d70]
call fcn.1401386b0
mov rax, qword [rsp + 0x364e0]
cmp qword [rax + 0x30], 0
je 0x140146993
mov rcx, qword [rsp + 0x364e0]
mov rcx, qword [rcx + 0x30]
call fcn.1400f8c90
mov rdx, qword [rsp + 0x364e0]
mov qword [rdx + 0x30], 0
mov rdx, qword [rsp + 0x364e0]
mov rdx, qword [rdx + 0x3c0]
mov rcx, qword [rsp + 0x40d70]
call fcn.140124210
mov dword [rsp + 0x40c50], 0
jmp 0x1401469cd
mov eax, dword [rsp + 0x40c50]
add eax, 1
mov dword [rsp + 0x40c50], eax
cmp dword [rsp + 0x40c50], 0x40
jge 0x140146a02
movsxd rax, dword [rsp + 0x40c50]
imul rax, rax, 0x10
mov rdx, qword [rsp + 0x364e0]
mov rdx, qword [rdx + rax + 0x3d0]
mov rcx, qword [rsp + 0x40d70]
call fcn.140124210
jmp 0x1401469bc
mov qword [rsp + 0xfa0], 0
mov rcx, qword [rsp + 0x40d70]
add rcx, 0x508
call fcn.14000e350
mov rcx, qword [rsp + 0x40d70]
add rcx, 0x4d0
lea r8, [rsp + 0xfa0]
mov rax, qword [rsp + 0x364e0]
mov edx, dword [rax]
call fcn.14001d030
mov rcx, qword [rsp + 0x40d70]
add rcx, 0x508
mov rax, qword [rsp + 0x40d70]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
cmp qword [rsp + 0xfa0], 0
je 0x140146aec
mov rcx, qword [rsp + 0xfa0]
call fcn.14001b910
mov rdx, qword [rsp + 0xfa0]
mov ecx, dword [rdx + 0xf4]
sub ecx, 1
mov rax, qword [rsp + 0xfa0]
mov dword [rax + 0xf4], ecx
mov rax, qword [rsp + 0xfa0]
cmp dword [rax + 0xf4], 0
ja 0x140146adf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov rax, qword [rsp + 0xfa0]
mov dword [rax + 0xf0], edx
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xfa0]
call fcn.14013f160
mov rcx, qword [rsp + 0xfa0]
call fcn.14001b940
lea rcx, [rsp + 0x40ca0]
call fcn.14000e290
mov rcx, rax
call fcn.14001e210
cdq
mov ecx, 6
idiv ecx
mov rax, qword [rsp + 0x40d70]
cmp edx, dword [rax + 0x4cc]
jmp 0x140146b63
lea rcx, [rsp + 0x40ca8]
call fcn.14000e290
mov rcx, rax
call fcn.14001e210
cdq
mov ecx, 6
idiv ecx
mov rax, qword [rsp + 0x40d70]
cmp edx, dword [rax + 0x4bc]
jmp 0x140146bda
mov rax, qword [rsp + 0x364e0]
movzx ebx, word [rax + 0x18]
mov rax, qword [rsp + 0x40d78]
movzx ecx, word [rax + 0x12]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx edi, ax
mov rax, qword [rsp + 0x40d78]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
mov r8, rax
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x364e0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x20], eax
mov r9d, edi
lea rdx, str._s:_d_targetid__d_connectionid__d_disconnect
lea rcx, [rsp + 0x3a0]
call fcn.1400ad4a8
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x40cb0]
call fcn.14000e700
mov qword [rsp + 0x40d30], rax
mov rax, qword [rsp + 0x40d30]
mov qword [rsp + 0x40d38], rax
mov rcx, qword [rsp + 0x40d38]
call fcn.1400118c0
mov rdx, rax
xor ecx, ecx
call fcn.1400dcf70
nop
lea rcx, [rsp + 0x40cb0]
call fcn.140002ea0
mov rax, qword [rsp + 0xfa0]
cmp dword [rax + 0x3c], 0
je 0x140146d4a
mov rax, qword [rsp + 0xfa0]
mov dword [rax + 0x3c], 0
mov rcx, qword [rsp + 0x40d70]
add rcx, 0x508
call fcn.14000e350
mov rcx, qword [rsp + 0x40d70]
add rcx, 0x4d0
mov r8, qword [rsp + 0xfa0]
mov rax, qword [rsp + 0x364e0]
mov edx, dword [rax]
call fcn.14001d090
mov rcx, qword [rsp + 0x40d70]
add rcx, 0x508
mov rax, qword [rsp + 0x40d70]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
mov rax, qword [rsp + 0xfa0]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xfa0]
mov r9d, dword [rax + 0x40]
mov rax, qword [rsp + 0xfa0]
mov r8d, dword [rax + 0x38]
mov rax, qword [rsp + 0xfa0]
mov edx, dword [rax + 0x110]
mov rcx, qword [rsp + 0x40d70]
call fcn.1401423d0
nop
mov edx, 1
mov rcx, qword [rsp + 0x40d78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WSOCK32.dll_shutdown]
mov dword [rsp + 0x40cb8], 1
lea rcx, [rsp + 0x388]
call fcn.140001490
nop
lea rcx, [rsp + 0x40]
call fcn.140014ec0
mov eax, dword [rsp + 0x40cb8]
mov rcx, qword [rsp + 0x40d40]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x40d58
pop rdi
pop rbx
ret