Function at 0x14013f610
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, 0x415e8
call fcn.1401d4c90
sub rsp, rax
mov qword [rsp + 0x41568], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x415d8], rax
mov rax, qword [rsp + 0x41608]
cmp dword [rax + 0x28], 0x65
jne 0x14013f65f
mov eax, 1
jmp 0x140141065
mov rax, qword [rsp + 0x41608]
cmp dword [rax + 0x28], 0x67
jne 0x14013f684
mov rcx, qword [rsp + 0x41600]
call fcn.140135ba0
mov eax, 1
jmp 0x140141065
mov ecx, 1
call fcn.140132ad0
test eax, eax
je 0x14013f6ec
mov edx, 1
mov rcx, qword [rsp + 0x41608]
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 + 0x41608]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
xor eax, eax
jmp 0x140141065
mov dword [rsp + 0x30], 0
xor r9d, r9d
mov rax, qword [rsp + 0x41608]
mov r8d, dword [rax + 0x14]
mov rdx, qword [rsp + 0x41600]
lea rcx, [0x1403ace90]
call fcn.14001d040
mov edx, eax
mov rax, qword [rsp + 0x41600]
cmp edx, dword [rax + 0x230]
jle 0x14013f745
mov r8, qword [rsp + 0x41608]
mov rdx, qword [rsp + 0x41600]
lea rcx, [0x1403ace90]
call fcn.14001cf40
lea rcx, [rsp + 0x40]
call fcn.1401cc380
nop
mov rax, qword [rsp + 0x41608]
mov edx, dword [rax + 0x14]
lea rcx, [rsp + 0x40]
call fcn.1401d1e00
mov dword [rsp + 0x384], eax
cmp dword [rsp + 0x384], 0
jne 0x14013f7ea
mov edx, 1
mov rcx, qword [rsp + 0x41608]
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 + 0x41608]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x4150c], 0
lea rcx, [rsp + 0x40]
call fcn.140005db0
mov eax, dword [rsp + 0x4150c]
jmp 0x140141065
lea rcx, [rsp + 0x1e8]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
test eax, eax
jne 0x14013f9ac
lea rcx, [rsp + 0x3fd0]
call fcn.140119ce0
mov rdx, qword [rsp + 0x41608]
mov ecx, dword [rdx + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x4080]
call fcn.1400acdf0
mov rdx, qword [rsp + 0x41608]
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 + 0x41608]
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, [0x140232ca8]
call fcn.1400acc74
lea rdx, [rsp + 0x3fd0]
mov rcx, qword [rsp + 0x41600]
call fcn.140125b30
mov edx, 1
mov rcx, qword [rsp + 0x41608]
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 + 0x41608]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x41510], 0
lea rcx, [rsp + 0x40]
call fcn.140005db0
mov eax, dword [rsp + 0x41510]
jmp 0x140141065
mov rax, qword [rsp + 0x41600]
mov rax, qword [rax]
mov edx, dword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x41600]
call qword [rax + 0x30]
mov qword [rsp + 0xfa0], 0
mov rcx, qword [rsp + 0x41600]
add rcx, 0x518
call fcn.140010210
mov rcx, qword [rsp + 0x41600]
add rcx, 0x4e0
lea r8, [rsp + 0xfa0]
mov edx, dword [rsp + 0x1d8]
call fcn.14001ecf0
mov rcx, qword [rsp + 0x41600]
add rcx, 0x518
mov rax, qword [rsp + 0x41600]
mov rax, qword [rax + 0x518]
call qword [rax + 0x28]
cmp qword [rsp + 0xfa0], 0
je 0x14013fa4d
mov rax, qword [rsp + 0xfa0]
cmp dword [rax + 0x84], 0
jne 0x14013fbf2
lea rcx, [rsp + 0xe740]
call fcn.140119ce0
mov rdx, qword [rsp + 0x41608]
mov ecx, dword [rdx + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0xe7f0]
call fcn.1400acdf0
mov rdx, qword [rsp + 0x41608]
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 + 0x41608]
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, [0x140232cb0]
call fcn.1400acc74
lea rdx, [rsp + 0xe740]
mov rcx, qword [rsp + 0x41600]
call fcn.140125b30
mov edx, 1
mov rcx, qword [rsp + 0x41608]
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 + 0x41608]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x41514], 0
lea rcx, [rsp + 0x40]
call fcn.140005db0
mov eax, dword [rsp + 0x41514]
jmp 0x140141065
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x41600]
lea rcx, [0x1403ace90]
call fcn.14001d040
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 + 0x41600]
add rdx, 0x228
lea r8, [0x140232cb8]
lea rcx, [rsp + 0x41518]
call fcn.1400010b0
mov qword [rsp + 0x41570], rax
mov rcx, qword [rsp + 0x41570]
call fcn.140023510
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x7a0]
lea r8, [0x14022f6ec]
lea rdx, [0x140232cd0]
lea rcx, [0x140232ce0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x41518]
call fcn.140001490
lea rdx, [rsp + 0x7a0]
lea rcx, [rsp + 0x388]
call fcn.1400020d0
nop
lea rcx, [rsp + 0x388]
call fcn.140023510
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xc
jle 0x14013fd5a
lea rcx, [rsp + 0x388]
call fcn.140023510
mov rdx, rax
lea rcx, [0x1403ac8a0]
call fcn.140011f20
test eax, eax
je 0x14013fd5a
lea rcx, [0x140232cf0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
lea rdx, [rsp + 0x41520]
lea rcx, [rsp + 0x388]
call fcn.140006a00
mov qword [rsp + 0x41578], rax
mov rcx, qword [rsp + 0x41578]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x380], eax
lea rcx, [rsp + 0x41520]
call fcn.140001490
jmp 0x14013ff3d
mov ecx, 0x1e
call fcn.1400d7f30
mov dword [rsp + 0x17e90], eax
cmp dword [rsp + 0x17e90], 0xffffffff
jmp 0x14013ff3d
mov eax, dword [rsp + 0x380]
add eax, 1
cmp dword [rsp + 0x30], eax
jle 0x14014041f
mov eax, 0x2a
mov word [rsp + 0x22600], ax
mov eax, 0x2a
mov word [rsp + 0x22602], ax
mov eax, 0x2a
mov word [rsp + 0x22604], ax
mov eax, 0x20
mov word [rsp + 0x22606], ax
mov eax, 0x45
mov word [rsp + 0x22608], ax
mov eax, 0x52
mov word [rsp + 0x2260a], ax
mov eax, 0x52
mov word [rsp + 0x2260c], ax
mov eax, 0x4f
mov word [rsp + 0x2260e], ax
mov eax, 0x52
mov word [rsp + 0x22610], ax
mov eax, 0x20
mov word [rsp + 0x22612], ax
mov eax, 0x2a
mov word [rsp + 0x22614], ax
mov eax, 0x2a
mov word [rsp + 0x22616], ax
mov eax, 0x2a
mov word [rsp + 0x22618], ax
mov eax, 0x20
mov word [rsp + 0x2261a], ax
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x2261c], ax
mov eax, 0x76
mov word [rsp + 0x2261e], ax
mov eax, 0x65
mov word [rsp + 0x22620], ax
mov eax, WSACleanup
mov word [rsp + 0x22622], ax
mov eax, 0x20
mov word [rsp + 0x22624], ax
mov eax, reloc.WS2_32.dll_WSACleanup
mov word [rsp + 0x22626], ax
mov eax, 0x68
mov word [rsp + 0x22628], ax
mov eax, 0x65
mov word [rsp + 0x2262a], ax
mov eax, 0x20
mov word [rsp + 0x2262c], ax
mov eax, WSASetLastError
mov word [rsp + 0x2262e], ax
mov eax, 0x69
mov word [rsp + 0x22630], ax
mov eax, 0x63
mov word [rsp + 0x22632], ax
mov eax, 0x65
mov word [rsp + 0x22634], ax
mov eax, WSASetLastError
mov word [rsp + 0x22636], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x22638], ax
mov eax, 0x65
mov word [rsp + 0x2263a], ax
mov eax, 0x20
mov word [rsp + 0x2263c], ax
mov eax, WSASetLastError
mov word [rsp + 0x2263e], ax
mov eax, 0x75
mov word [rsp + 0x22640], ax
mov eax, WSASetLastError
mov word [rsp + 0x22642], ax
mov eax, 0x62
mov word [rsp + 0x22644], ax
mov eax, 0x65
mov word [rsp + 0x22646], ax
mov eax, WSACleanup
mov word [rsp + 0x22648], ax
mov eax, 0x20
mov word [rsp + 0x2264a], ax
mov eax, 0x28
mov word [rsp + 0x2264c], ax
mov eax, 0x63
mov word [rsp + 0x2264e], ax
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x22650], ax
mov eax, WSASetLastError
mov word [rsp + 0x22652], ax
mov eax, WSASetLastError
mov word [rsp + 0x22654], ax
mov eax, 0x20
mov word [rsp + 0x22656], ax
mov eax, 0x25
mov word [rsp + 0x22658], ax
mov eax, 0x64
mov word [rsp + 0x2265a], ax
mov eax, 0x20
mov word [rsp + 0x2265c], ax
mov eax, WSASetLastError
mov word [rsp + 0x2265e], ax
mov eax, 0x69
mov word [rsp + 0x22660], ax
mov eax, 0x63
mov word [rsp + 0x22662], ax
mov eax, 0x65
mov word [rsp + 0x22664], ax
mov eax, WSASetLastError
mov word [rsp + 0x22666], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x22668], ax
mov eax, 0x65
mov word [rsp + 0x2266a], ax
mov eax, 0x20
mov word [rsp + 0x2266c], ax
mov eax, 0x25
mov word [rsp + 0x2266e], ax
mov eax, 0x64
mov word [rsp + 0x22670], ax
mov eax, 0x29
mov word [rsp + 0x22672], ax
xor eax, eax
mov word [rsp + 0x22674], ax
mov r9d, dword [rsp + 0x380]
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x22600]
mov ecx, 1
call fcn.1400dc610
lea rcx, [rsp + 0x236a0]
call fcn.140119ce0
mov rdx, qword [rsp + 0x41608]
mov ecx, dword [rdx + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x23750]
call fcn.1400acdf0
mov rdx, qword [rsp + 0x41608]
movzx ecx, word [rdx + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rsp + 0x23a50], eax
mov dword [rsp + 0x236ac], 0xffffffff
mov rax, qword [rsp + 0x41608]
mov rax, qword [rax + 8]
mov qword [rsp + 0x236b0], rax
mov dword [rsp + 0x23a54], 2
lea rax, [rsp + 0x2c768]
mov qword [rsp + 0x236f8], rax
mov rax, qword [rsp + 0x236f8]
mov dword [rax + 0x258], 2
mov dword [rsp + 0x22680], 0x10
lea r8, [rsp + 0x22680]
lea rdx, [rsp + 0x23690]
mov rcx, qword [rsp + 0x236b0]
call qword [sym.imp.WS2_32.dll_getsockname]
movzx ecx, word [rsp + 0x23692]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov rax, qword [rsp + 0x236f8]
mov word [rax + 0x200], dx
mov rax, qword [rsp + 0x236f8]
movzx edi, word [rax + 0x200]
mov ecx, dword [rsp + 0x23694]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rcx, qword [rsp + 0x236f8]
add rcx, 0x27c
mov r9d, edi
mov r8, rax
lea rdx, [0x140232d68]
call fcn.1400acc74
lea rdx, [rsp + 0x236a0]
mov rcx, qword [rsp + 0x41600]
call fcn.140125b30
mov edx, 1
mov rcx, qword [rsp + 0x41608]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_shutdown]
mov byte [rsp + 0x22690], 0
lea rdi, [rsp + 0x22691]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rsp + 0x22690]
mov rcx, qword [rsp + 0x41608]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x4152c], 0
lea rcx, [rsp + 0x388]
call fcn.140001490
nop
lea rcx, [rsp + 0x40]
call fcn.140005db0
mov eax, dword [rsp + 0x4152c]
jmp 0x140141065
mov rax, qword [rsp + 0x41608]
movzx ecx, word [rax + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
mov rax, qword [rsp + 0x41608]
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.1400acc74
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x41530]
call fcn.140010530
mov qword [rsp + 0x41580], rax
mov rax, qword [rsp + 0x41580]
mov qword [rsp + 0x41588], rax
mov rcx, qword [rsp + 0x41588]
call fcn.1400105c0
mov rdx, rax
xor ecx, ecx
call fcn.1400dc610
nop
lea rcx, [rsp + 0x41530]
call fcn.140002e70
nop
mov dword [rsp + 0x36568], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x36568]
mov r8d, 1
mov edx, 6
mov rcx, qword [rsp + 0x41608]
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 + 0x41608]
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 + 0x41608]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x36540], eax
lea rcx, [rsp + 0x2cdf0]
call fcn.140119ce0
lea rdx, [rsp + 0x2cdf0]
mov qword [rsp + 0x36560], rdx
mov rax, qword [rsp + 0x41608]
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.1400acdf0
mov rdx, qword [rsp + 0x41608]
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 + 0x41608]
mov rax, qword [rax + 8]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x36560]
mov dword [rax + 0x3b4], 2
mov rax, qword [rsp + 0x41608]
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.1400acdf0
mov rdx, qword [rsp + 0x36560]
mov eax, dword [rsp + 0x1d8]
mov dword [rdx], eax
lea rcx, [rsp + 0x2c0]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov edx, eax
mov rax, qword [rsp + 0x36560]
mov dword [rax + 4], edx
mov rax, qword [rsp + 0x41600]
mov r8d, dword [rax + 0x210]
mov rdx, qword [rsp + 0x36560]
mov rcx, qword [rsp + 0x41600]
call fcn.1401375d0
mov dword [rsp + 0x41590], eax
cmp dword [rsp + 0x41590], 0
jne 0x140140955
mov rcx, qword [rsp + 0xfa0]
add rcx, 0x50
call fcn.140023510
mov rdx, rax
lea rcx, [rsp + 0x41538]
call fcn.140002de0
mov qword [rsp + 0x41598], rax
mov rax, qword [rsp + 0x41598]
mov qword [rsp + 0x415a0], rax
mov rcx, qword [rsp + 0x415a0]
call fcn.140002e90
mov qword [rsp + 0x415a8], rax
mov rax, qword [rsp + 0x41608]
movzx ecx, word [rax + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
mov rax, qword [rsp + 0x41608]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov rax, qword [rsp + 0x415a8]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea rdx, str._ERROR___s:_d_disconnect:_InitDisk___s_failed
lea rcx, [rsp + 0x3a0]
call fcn.1400acc74
nop
lea rcx, [rsp + 0x41538]
call fcn.140002e70
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x41540]
call fcn.140010530
mov qword [rsp + 0x415b0], rax
mov rax, qword [rsp + 0x415b0]
mov qword [rsp + 0x415b8], rax
mov rcx, qword [rsp + 0x415b8]
call fcn.1400105c0
mov rdx, rax
mov ecx, 1
call fcn.1400dc610
nop
lea rcx, [rsp + 0x41540]
call fcn.140002e70
lea rcx, [rsp + 0x37580]
call fcn.140119ce0
mov rdx, qword [rsp + 0x41608]
mov ecx, dword [rdx + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x37630]
call fcn.1400acdf0
mov rdx, qword [rsp + 0x41608]
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 + 0x41608]
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, [0x140232db8]
call fcn.1400acc74
lea rdx, [rsp + 0x37580]
mov rcx, qword [rsp + 0x41600]
call fcn.140125b30
mov edx, 1
mov rcx, qword [rsp + 0x41608]
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 + 0x41608]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x41548], 0
lea rcx, [rsp + 0x388]
call fcn.140001490
nop
lea rcx, [rsp + 0x40]
call fcn.140005db0
mov eax, dword [rsp + 0x41548]
jmp 0x140141065
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.1400acc74
mov rcx, qword [rsp + 0xfa0]
call fcn.14001d590
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 + 0x41600]
add rdx, 0x228
lea r8, [0x140232dc8]
lea rcx, [rsp + 0x41550]
call fcn.1400010b0
mov qword [rsp + 0x415c0], rax
mov rcx, qword [rsp + 0x415c0]
call fcn.140023510
mov r9, rax
xor r8d, r8d
lea rdx, str.SuperClientReadCache
lea rcx, [0x140232e10]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov rax, qword [rsp + 0xfa0]
mov dword [rax + 0xf8], edx
lea rcx, [rsp + 0x41550]
call fcn.140001490
mov rcx, qword [rsp + 0xfa0]
call fcn.14001d5c0
mov dword [rsp + 0x40cd0], 1
mov dword [rsp + 0x410e0], 0
xor eax, eax
mov word [rsp + 0x40ce0], ax
lea rdi, [rsp + 0x40ce2]
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
mov r8d, 0x200
lea rdx, [rsp + 0x40ce0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [rsp + 0x410e0]
lea rdx, [rsp + 0x40cd0]
lea rcx, [rsp + 0x40ce0]
call qword [sym.imp.imagehlp.dll_MapFileAndCheckSumW]
test eax, eax
je 0x140140b87
mov dword [rsp + 0x410e4], 0
jmp 0x140140b5a
mov eax, dword [rsp + 0x410e4]
add eax, 1
mov dword [rsp + 0x410e4], eax
movsxd rax, dword [rsp + 0x410e4]
cmp rax, 0xa
jae 0x140140b85
movsxd rcx, dword [rsp + 0x410e4]
mov rax, qword [rsp + 0x41600]
mov dword [rax + rcx*4 + 0x4ac], 1
jmp 0x140140b49
jmp 0x140140be0
mov eax, dword [rsp + 0x410e0]
cmp dword [rsp + 0x40cd0], eax
je 0x140140be0
mov dword [rsp + 0x410e8], 0
jmp 0x140140bb5
mov eax, dword [rsp + 0x410e8]
add eax, 1
mov dword [rsp + 0x410e8], eax
movsxd rax, dword [rsp + 0x410e8]
cmp rax, 0xa
jae 0x140140be0
movsxd rcx, dword [rsp + 0x410e8]
mov rax, qword [rsp + 0x41600]
mov dword [rax + rcx*4 + 0x4ac], 1
jmp 0x140140ba4
mov r8, qword [rsp + 0x41608]
mov rdx, qword [rsp + 0x36560]
mov rcx, qword [rsp + 0x41600]
call fcn.1401316c0
mov rax, qword [rsp + 0x36560]
cmp qword [rax + 0x30], 0
je 0x140140c2d
mov rcx, qword [rsp + 0x36560]
mov rcx, qword [rcx + 0x30]
call fcn.1400f8970
mov rdx, qword [rsp + 0x36560]
mov qword [rdx + 0x30], 0
mov rdx, qword [rsp + 0x36560]
mov rdx, qword [rdx + 0x3c0]
mov rcx, qword [rsp + 0x41600]
call fcn.14011d030
mov dword [rsp + 0x410ec], 0
jmp 0x140140c67
mov eax, dword [rsp + 0x410ec]
add eax, 1
mov dword [rsp + 0x410ec], eax
cmp dword [rsp + 0x410ec], 0x40
jge 0x140140c9c
movsxd rax, dword [rsp + 0x410ec]
imul rax, rax, 0x10
mov rdx, qword [rsp + 0x36560]
mov rdx, qword [rdx + rax + 0x3d0]
mov rcx, qword [rsp + 0x41600]
call fcn.14011d030
jmp 0x140140c56
mov qword [rsp + 0xfa0], 0
mov rcx, qword [rsp + 0x41600]
add rcx, 0x518
call fcn.140010210
mov rcx, qword [rsp + 0x41600]
add rcx, 0x4e0
lea r8, [rsp + 0xfa0]
mov rax, qword [rsp + 0x36560]
mov edx, dword [rax]
call fcn.14001ecf0
mov rcx, qword [rsp + 0x41600]
add rcx, 0x518
mov rax, qword [rsp + 0x41600]
mov rax, qword [rax + 0x518]
call qword [rax + 0x28]
cmp qword [rsp + 0xfa0], 0
je 0x140140d98
mov rax, qword [rsp + 0x36560]
cmp dword [rax + 0xc], 0
jl 0x140140d98
mov rcx, qword [rsp + 0xfa0]
call fcn.14001d590
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 0x140140d8b
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.140136130
mov rcx, qword [rsp + 0xfa0]
call fcn.14001d5c0
mov dword [rsp + 0x410f0], 1
mov dword [rsp + 0x41500], 0
xor eax, eax
mov word [rsp + 0x41100], ax
lea rdi, [rsp + 0x41102]
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
mov r8d, 0x200
lea rdx, [rsp + 0x41100]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [rsp + 0x41500]
lea rdx, [rsp + 0x410f0]
lea rcx, [rsp + 0x41100]
call qword [sym.imp.imagehlp.dll_MapFileAndCheckSumW]
test eax, eax
je 0x140140e4c
mov dword [rsp + 0x41504], 0
jmp 0x140140e1f
mov eax, dword [rsp + 0x41504]
add eax, 1
mov dword [rsp + 0x41504], eax
movsxd rax, dword [rsp + 0x41504]
cmp rax, 0xa
jae 0x140140e4a
movsxd rcx, dword [rsp + 0x41504]
mov rax, qword [rsp + 0x41600]
mov dword [rax + rcx*4 + 0x4ac], 1
jmp 0x140140e0e
jmp 0x140140ea5
mov eax, dword [rsp + 0x41500]
cmp dword [rsp + 0x410f0], eax
je 0x140140ea5
mov dword [rsp + 0x41508], 0
jmp 0x140140e7a
mov eax, dword [rsp + 0x41508]
add eax, 1
mov dword [rsp + 0x41508], eax
movsxd rax, dword [rsp + 0x41508]
cmp rax, 0xa
jae 0x140140ea5
movsxd rcx, dword [rsp + 0x41508]
mov rax, qword [rsp + 0x41600]
mov dword [rax + rcx*4 + 0x4ac], 1
jmp 0x140140e69
mov rax, qword [rsp + 0x36560]
movzx ebx, word [rax + 0x18]
mov rax, qword [rsp + 0x41608]
movzx ecx, word [rax + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
mov rax, qword [rsp + 0x41608]
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.1400acc74
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x41558]
call fcn.140010530
mov qword [rsp + 0x415c8], rax
mov rax, qword [rsp + 0x415c8]
mov qword [rsp + 0x415d0], rax
mov rcx, qword [rsp + 0x415d0]
call fcn.1400105c0
mov rdx, rax
xor ecx, ecx
call fcn.1400dc610
nop
lea rcx, [rsp + 0x41558]
call fcn.140002e70
cmp qword [rsp + 0xfa0], 0
je 0x140141024
mov rax, qword [rsp + 0xfa0]
cmp dword [rax + 0x3c], 0
je 0x140141024
mov rax, qword [rsp + 0xfa0]
mov dword [rax + 0x3c], 0
mov rcx, qword [rsp + 0x41600]
add rcx, 0x518
call fcn.140010210
mov rcx, qword [rsp + 0x41600]
add rcx, 0x4e0
mov r8, qword [rsp + 0xfa0]
mov rax, qword [rsp + 0x36560]
mov edx, dword [rax]
call fcn.14001ed50
mov rcx, qword [rsp + 0x41600]
add rcx, 0x518
mov rax, qword [rsp + 0x41600]
mov rax, qword [rax + 0x518]
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 + 0x41600]
call fcn.140139050
nop
mov edx, 1
mov rcx, qword [rsp + 0x41608]
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_shutdown]
mov dword [rsp + 0x41560], 1
lea rcx, [rsp + 0x388]
call fcn.140001490
nop
lea rcx, [rsp + 0x40]
call fcn.140005db0
mov eax, dword [rsp + 0x41560]
mov rcx, qword [rsp + 0x415d8]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x415e8
pop rdi
pop rbx
ret