Function at 0x140147540
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, 0x40ea8
call fcn.1401e9500
sub rsp, rax
mov qword [rsp + 0x40e10], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x40e90], rax
mov rax, qword [rsp + 0x40ec8]
cmp dword [rax + 0x28], 0x65
jne 0x14014758f
mov eax, 1
jmp 0x1401493ff
mov rax, qword [rsp + 0x40ec8]
cmp dword [rax + 0x28], 0x67
jne 0x1401475b4
mov rcx, qword [rsp + 0x40ec0]
call fcn.140140e00
mov eax, 1
jmp 0x1401493ff
mov ecx, 1
call fcn.14013b990
test eax, eax
je 0x14014761c
mov edx, 1
mov rcx, qword [rsp + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.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 + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
xor eax, eax
jmp 0x1401493ff
mov dword [rsp + 0x30], 0
xor r9d, r9d
mov rax, qword [rsp + 0x40ec8]
mov r8d, dword [rax + 0x14]
mov rdx, qword [rsp + 0x40ec0]
lea rcx, [0x1403c8f00]
call fcn.14001c840
mov edx, eax
mov rax, qword [rsp + 0x40ec0]
cmp edx, dword [rax + 0x230]
jle 0x140147675
mov r8, qword [rsp + 0x40ec8]
mov rdx, qword [rsp + 0x40ec0]
lea rcx, [0x1403c8f00]
call fcn.14001c740
lea rcx, [rsp + 0x40]
call fcn.1401e0790
nop
mov rax, qword [rsp + 0x40ec8]
mov edx, dword [rax + 0x14]
lea rcx, [rsp + 0x40]
call fcn.1401e6670
mov dword [rsp + 0x384], eax
cmp dword [rsp + 0x384], 0
jne 0x14014771a
mov edx, 1
mov rcx, qword [rsp + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.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 + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x40da0], 0
lea rcx, [rsp + 0x40]
call fcn.140005e30
mov eax, dword [rsp + 0x40da0]
jmp 0x1401493ff
lea rcx, [rsp + 0x1e8]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
test eax, eax
jne 0x1401478dc
lea rcx, [rsp + 0x3fd0]
call fcn.140122b10
mov rdx, qword [rsp + 0x40ec8]
mov ecx, dword [rdx + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x4080]
call fcn.1400acae0
mov rdx, qword [rsp + 0x40ec8]
movzx ecx, word [rdx + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0x4380], eax
mov dword [rsp + 0x3fdc], 0xffffffff
mov rax, qword [rsp + 0x40ec8]
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.WS2_32.dll_getsockname]
movzx ecx, word [rsp + 0x3fc2]
call qword [sym.imp.WS2_32.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.WS2_32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x4028]
add rcx, 0x27c
mov r9d, edi
mov r8, rax
lea rdx, [0x140249dd8]
call fcn.1400ae644
lea rdx, [rsp + 0x3fd0]
mov rcx, qword [rsp + 0x40ec0]
call fcn.14012e960
mov edx, 1
mov rcx, qword [rsp + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.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 + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x40da4], 0
lea rcx, [rsp + 0x40]
call fcn.140005e30
mov eax, dword [rsp + 0x40da4]
jmp 0x1401493ff
mov rax, qword [rsp + 0x40ec0]
mov rax, qword [rax]
mov edx, dword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x40ec0]
call qword [rax + 0x30]
mov qword [rsp + 0xfa0], 0
mov rcx, qword [rsp + 0x40ec0]
add rcx, 0x508
call fcn.14000f140
mov rcx, qword [rsp + 0x40ec0]
add rcx, 0x4d0
lea r8, [rsp + 0xfa0]
mov edx, dword [rsp + 0x1d8]
call fcn.14001e1f0
mov rcx, qword [rsp + 0x40ec0]
add rcx, 0x508
mov rax, qword [rsp + 0x40ec0]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
cmp qword [rsp + 0xfa0], 0
je 0x14014797d
mov rax, qword [rsp + 0xfa0]
cmp dword [rax + 0x84], 0
jne 0x140147b22
lea rcx, [rsp + 0xe740]
call fcn.140122b10
mov rdx, qword [rsp + 0x40ec8]
mov ecx, dword [rdx + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0xe7f0]
call fcn.1400acae0
mov rdx, qword [rsp + 0x40ec8]
movzx ecx, word [rdx + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0xeaf0], eax
mov dword [rsp + 0xe74c], 0xffffffff
mov rax, qword [rsp + 0x40ec8]
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.WS2_32.dll_getsockname]
movzx ecx, word [rsp + 0xe732]
call qword [sym.imp.WS2_32.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.WS2_32.dll_inet_ntoa]
mov rcx, qword [rsp + 0xe798]
add rcx, 0x27c
mov r9d, edi
mov r8, rax
lea rdx, [0x140249de0]
call fcn.1400ae644
lea rdx, [rsp + 0xe740]
mov rcx, qword [rsp + 0x40ec0]
call fcn.14012e960
mov edx, 1
mov rcx, qword [rsp + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.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 + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x40da8], 0
lea rcx, [rsp + 0x40]
call fcn.140005e30
mov eax, dword [rsp + 0x40da8]
jmp 0x1401493ff
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x40ec0]
lea rcx, [0x1403c8f00]
call fcn.14001c840
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 + 0x40ec0]
add rdx, 0x228
lea r8, [0x140249de8]
lea rcx, [rsp + 0x40db0]
call fcn.1400010b0
mov qword [rsp + 0x40e18], rax
mov rcx, qword [rsp + 0x40e18]
call fcn.140050200
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x7a0]
lea r8, [0x140247604]
lea rdx, [0x140249e00]
lea rcx, [0x140249e10]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x40db0]
call fcn.140007060
lea rdx, [rsp + 0x7a0]
lea rcx, [rsp + 0x388]
call fcn.140002050
nop
lea rcx, [rsp + 0x388]
call fcn.140050200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xc
jle 0x140147c8a
lea rcx, [rsp + 0x388]
call fcn.140050200
mov rdx, rax
lea rcx, [0x1403c8910]
call fcn.140010f30
test eax, eax
je 0x140147c8a
lea rcx, [0x140249e20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
lea rdx, [rsp + 0x40db8]
lea rcx, [rsp + 0x388]
call fcn.140006a80
mov qword [rsp + 0x40e20], rax
mov rcx, qword [rsp + 0x40e20]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x380], eax
lea rcx, [rsp + 0x40db8]
call fcn.140007060
jmp 0x140147e6d
mov ecx, 0xffffff
call fcn.1400da320
mov dword [rsp + 0x17e90], eax
cmp dword [rsp + 0x17e90], 0xffffffff
jmp 0x140147e6d
mov eax, dword [rsp + 0x380]
add eax, 1
cmp dword [rsp + 0x30], eax
jmp 0x14014834f
mov rax, qword [rsp + 0x40ec8]
movzx ecx, word [rax + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
mov rax, qword [rsp + 0x40ec8]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r9d, edi
mov r8, rax
lea rdx, str._s:_d_connect
lea rcx, [rsp + 0x3a0]
call fcn.1400ae644
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x40dc8]
call fcn.14000f540
mov qword [rsp + 0x40e28], rax
mov rax, qword [rsp + 0x40e28]
mov qword [rsp + 0x40e30], rax
mov rcx, qword [rsp + 0x40e30]
call fcn.14000f5d0
mov rdx, rax
xor ecx, ecx
call fcn.1400de020
nop
lea rcx, [rsp + 0x40dc8]
call fcn.140002dd0
nop
mov rax, qword [rsp + 0x40ec0]
cmp dword [rax + 0x4ac], 0
jne 0x140148423
mov rcx, qword [rsp + 0x40ec8]
call fcn.14013e710
mov dword [rsp + 0x40e38], eax
cmp dword [rsp + 0x40e38], 0
jne 0x140148423
mov rax, qword [rsp + 0x40ec0]
mov dword [rax + 0x4ac], 1
mov rax, qword [rsp + 0x40ec0]
cmp dword [rax + 0x4b0], 0
jne 0x140148464
mov rcx, qword [rsp + 0x40ec8]
call fcn.14013df00
mov dword [rsp + 0x40e3c], eax
cmp dword [rsp + 0x40e3c], 0
jne 0x140148464
mov rax, qword [rsp + 0x40ec0]
mov dword [rax + 0x4b0], 1
mov rax, qword [rsp + 0x40ec0]
cmp dword [rax + 0x4b4], 0
jne 0x1401484a5
mov rcx, qword [rsp + 0x40ec8]
call fcn.14013d6a0
mov dword [rsp + 0x40e40], eax
cmp dword [rsp + 0x40e40], 0
jne 0x1401484a5
mov rax, qword [rsp + 0x40ec0]
mov dword [rax + 0x4b4], 1
mov rcx, qword [rsp + 0x40ec8]
call fcn.14013d350
mov dword [rsp + 0x36568], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x36568]
mov r8d, 1
mov edx, 6
mov rcx, qword [rsp + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x36540], eax
mov dword [rsp + 0x36548], 0x100000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x36548]
mov r8d, 0x1002
mov edx, 0xffff
mov rcx, qword [rsp + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x36540], eax
mov dword [rsp + 0x36548], 0x100000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x36548]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x36540], eax
lea rcx, [rsp + 0x2cdf0]
call fcn.140122b10
lea rdx, [rsp + 0x2cdf0]
mov qword [rsp + 0x36560], rdx
mov rax, qword [rsp + 0x40ec8]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x36560]
add rcx, 0xb0
mov rdx, rax
call fcn.1400acae0
mov rdx, qword [rsp + 0x40ec8]
movzx ecx, word [rdx + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov rax, qword [rsp + 0x36560]
mov dword [rax + 0x3b0], ecx
mov rax, qword [rsp + 0x36560]
mov dword [rax + 0xc], 0xffffffff
mov rcx, qword [rsp + 0x36560]
mov rax, qword [rsp + 0x40ec8]
mov rax, qword [rax + 8]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x36560]
mov dword [rax + 0x3b4], 2
mov rax, qword [rsp + 0x40ec8]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x36560]
add rcx, 0xb0
mov rdx, rax
call fcn.1400acae0
mov rdx, qword [rsp + 0x36560]
mov eax, dword [rsp + 0x1d8]
mov dword [rdx], eax
lea rcx, [rsp + 0x2c0]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov edx, eax
mov rax, qword [rsp + 0x36560]
mov dword [rax + 4], edx
mov rax, qword [rsp + 0x40ec0]
mov r8d, dword [rax + 0x210]
mov rdx, qword [rsp + 0x36560]
mov rcx, qword [rsp + 0x40ec0]
call fcn.140143110
mov dword [rsp + 0x40e44], eax
cmp dword [rsp + 0x40e44], 0
jne 0x140148955
mov rcx, qword [rsp + 0xfa0]
add rcx, 0x50
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x40dd0]
call fcn.140002d40
mov qword [rsp + 0x40e48], rax
mov rax, qword [rsp + 0x40e48]
mov qword [rsp + 0x40e50], rax
mov rcx, qword [rsp + 0x40e50]
call fcn.140002df0
mov qword [rsp + 0x40e58], rax
mov rax, qword [rsp + 0x40ec8]
movzx ecx, word [rax + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
mov rax, qword [rsp + 0x40ec8]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov rax, qword [rsp + 0x40e58]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea rdx, str._ERROR___s:_d_disconnect:_InitDisk___s_failed
lea rcx, [rsp + 0x3a0]
call fcn.1400ae644
nop
lea rcx, [rsp + 0x40dd0]
call fcn.140002dd0
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x40dd8]
call fcn.14000f540
mov qword [rsp + 0x40e60], rax
mov rax, qword [rsp + 0x40e60]
mov qword [rsp + 0x40e68], rax
mov rcx, qword [rsp + 0x40e68]
call fcn.14000f5d0
mov rdx, rax
mov ecx, 1
call fcn.1400de020
nop
lea rcx, [rsp + 0x40dd8]
call fcn.140002dd0
lea rcx, [rsp + 0x37580]
call fcn.140122b10
mov rdx, qword [rsp + 0x40ec8]
mov ecx, dword [rdx + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x37630]
call fcn.1400acae0
mov rdx, qword [rsp + 0x40ec8]
movzx ecx, word [rdx + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0x37930], eax
mov dword [rsp + 0x3758c], 0xffffffff
mov rax, qword [rsp + 0x40ec8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x37590], rax
mov dword [rsp + 0x37934], 2
lea rax, [rsp + 0x40648]
mov qword [rsp + 0x375d8], rax
mov rax, qword [rsp + 0x375d8]
mov dword [rax + 0x258], 2
mov dword [rsp + 0x3656c], 0x10
lea r8, [rsp + 0x3656c]
lea rdx, [rsp + 0x37570]
mov rcx, qword [rsp + 0x37590]
call qword [sym.imp.WS2_32.dll_getsockname]
movzx ecx, word [rsp + 0x37572]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov rax, qword [rsp + 0x375d8]
mov word [rax + 0x200], dx
mov rax, qword [rsp + 0x375d8]
movzx edi, word [rax + 0x200]
mov ecx, dword [rsp + 0x37574]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x375d8]
add rcx, 0x27c
mov r9d, edi
mov r8, rax
lea rdx, [0x140249ee8]
call fcn.1400ae644
lea rdx, [rsp + 0x37580]
mov rcx, qword [rsp + 0x40ec0]
call fcn.14012e960
mov edx, 1
mov rcx, qword [rsp + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_shutdown]
mov byte [rsp + 0x36570], 0
lea rdi, [rsp + 0x36571]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rsp + 0x36570]
mov rcx, qword [rsp + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x40de0], 0
lea rcx, [rsp + 0x388]
call fcn.140007060
nop
lea rcx, [rsp + 0x40]
call fcn.140005e30
mov eax, dword [rsp + 0x40de0]
jmp 0x1401493ff
mov rcx, qword [rsp + 0x36560]
add rcx, 0x90c8
mov rax, qword [rsp + 0x36560]
mov qword [rax + 0x58], rcx
mov rax, qword [rsp + 0x36560]
mov rax, qword [rax + 0x58]
mov dword [rax + 0x258], 2
mov dword [rsp + 0x36544], 0x10
lea r8, [rsp + 0x36544]
lea rdx, [rsp + 0x36550]
mov rcx, qword [rsp + 0x36560]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.WS2_32.dll_getsockname]
mov rdi, qword [rsp + 0x36560]
mov rdi, qword [rdi + 0x58]
movzx ecx, word [rsp + 0x36552]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rdi + 0x200], ax
mov rax, qword [rsp + 0x36560]
mov rax, qword [rax + 0x58]
movzx edi, word [rax + 0x200]
mov ecx, dword [rsp + 0x36554]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x36560]
mov rcx, qword [rcx + 0x58]
add rcx, 0x27c
mov r9d, edi
mov r8, rax
lea rdx, str._s:_u_1
call fcn.1400ae644
mov rcx, qword [rsp + 0xfa0]
call fcn.14001cd90
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 + 0x40ec0]
add rdx, 0x228
lea r8, [0x140249ef8]
lea rcx, [rsp + 0x40de8]
call fcn.1400010b0
mov qword [rsp + 0x40e70], rax
mov rcx, qword [rsp + 0x40e70]
call fcn.140050200
mov r9, rax
xor r8d, r8d
lea rdx, str.SuperClientReadCache
lea rcx, [0x140249f40]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov rax, qword [rsp + 0xfa0]
mov dword [rax + 0xf8], edx
lea rcx, [rsp + 0x40de8]
call fcn.140007060
mov rcx, qword [rsp + 0xfa0]
call fcn.14001cdc0
mov r8, qword [rsp + 0x40ec8]
mov rdx, qword [rsp + 0x36560]
mov rcx, qword [rsp + 0x40ec0]
call fcn.14013a540
mov rax, qword [rsp + 0x36560]
cmp qword [rax + 0x30], 0
je 0x140148b20
mov rcx, qword [rsp + 0x36560]
mov rcx, qword [rcx + 0x30]
call fcn.1400fa510
mov rdx, qword [rsp + 0x36560]
mov qword [rdx + 0x30], 0
mov rdx, qword [rsp + 0x36560]
mov rdx, qword [rdx + 0x3c0]
mov rcx, qword [rsp + 0x40ec0]
call fcn.140125e60
mov dword [rsp + 0x40cd0], 0
jmp 0x140148b5a
mov eax, dword [rsp + 0x40cd0]
add eax, 1
mov dword [rsp + 0x40cd0], eax
cmp dword [rsp + 0x40cd0], 0x40
jge 0x140148b8f
movsxd rax, dword [rsp + 0x40cd0]
imul rax, rax, 0x10
mov rdx, qword [rsp + 0x36560]
mov rdx, qword [rdx + rax + 0x3d0]
mov rcx, qword [rsp + 0x40ec0]
call fcn.140125e60
jmp 0x140148b49
mov qword [rsp + 0xfa0], 0
mov rcx, qword [rsp + 0x40ec0]
add rcx, 0x508
call fcn.14000f140
mov rcx, qword [rsp + 0x40ec0]
add rcx, 0x4d0
lea r8, [rsp + 0xfa0]
mov rax, qword [rsp + 0x36560]
mov edx, dword [rax]
call fcn.14001e1f0
mov rcx, qword [rsp + 0x40ec0]
add rcx, 0x508
mov rax, qword [rsp + 0x40ec0]
mov rax, qword [rax + 0x508]
call qword [rax + 0x28]
cmp qword [rsp + 0xfa0], 0
je 0x140148c79
mov rcx, qword [rsp + 0xfa0]
call fcn.14001cd90
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 0x140148c6c
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.140140ff0
mov rcx, qword [rsp + 0xfa0]
call fcn.14001cdc0
lea rcx, [rsp + 0x40df0]
call fcn.14000dd70
mov rcx, rax
call fcn.14001f1c0
cdq
mov ecx, 6
idiv ecx
mov rax, qword [rsp + 0x40ec0]
cmp edx, dword [rax + 0x4cc]
jne 0x140148f5d
mov rax, qword [rsp + 0x40ec0]
cmp dword [rax + 0x4c8], 0
jne 0x140148f5d
call fcn.14013cc80
mov dword [rsp + 0x40e78], eax
cmp dword [rsp + 0x40e78], 0
jmp 0x140148f5d
lea rcx, [rsp + 0x40df8]
call fcn.14000dd70
mov rcx, rax
call fcn.14001f1c0
cdq
mov ecx, 6
idiv ecx
mov rax, qword [rsp + 0x40ec0]
cmp edx, dword [rax + 0x4bc]
jne 0x14014924e
mov rax, qword [rsp + 0x40ec0]
cmp dword [rax + 0x4b8], 0
jne 0x14014924e
call fcn.14013c630
mov dword [rsp + 0x40e7c], eax
cmp dword [rsp + 0x40e7c], 0
jmp 0x14014924e
mov rax, qword [rsp + 0x36560]
movzx ebx, word [rax + 0x18]
mov rax, qword [rsp + 0x40ec8]
movzx ecx, word [rax + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
mov rax, qword [rsp + 0x40ec8]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x36560]
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.1400ae644
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x40e00]
call fcn.14000f540
mov qword [rsp + 0x40e80], rax
mov rax, qword [rsp + 0x40e80]
mov qword [rsp + 0x40e88], rax
mov rcx, qword [rsp + 0x40e88]
call fcn.14000f5d0
mov rdx, rax
xor ecx, ecx
call fcn.1400de020
nop
lea rcx, [rsp + 0x40e00]
call fcn.140002dd0
mov rax, qword [rsp + 0xfa0]
cmp dword [rax + 0x3c], 0
je 0x1401493be
mov rax, qword [rsp + 0xfa0]
mov dword [rax + 0x3c], 0
mov rcx, qword [rsp + 0x40ec0]
add rcx, 0x508
call fcn.14000f140
mov rcx, qword [rsp + 0x40ec0]
add rcx, 0x4d0
mov r8, qword [rsp + 0xfa0]
mov rax, qword [rsp + 0x36560]
mov edx, dword [rax]
call fcn.14001e250
mov rcx, qword [rsp + 0x40ec0]
add rcx, 0x508
mov rax, qword [rsp + 0x40ec0]
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 + 0x40ec0]
call fcn.140144260
nop
mov edx, 1
mov rcx, qword [rsp + 0x40ec8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_shutdown]
mov dword [rsp + 0x40e08], 1
lea rcx, [rsp + 0x388]
call fcn.140007060
nop
lea rcx, [rsp + 0x40]
call fcn.140005e30
mov eax, dword [rsp + 0x40e08]
mov rcx, qword [rsp + 0x40e90]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x40ea8
pop rdi
pop rbx
ret