Function at 0x18013ea20
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x18023e340]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor r12d, r12d
mov dword [rsp + 0x68], reloc.WS2_32.dll_ntohl
mov dword [rsp + 0x6c], reloc.WS2_32.dll_ntohl
lea rax, str.GameNetDriver
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.180134e20
nop
mov r15d, 0x1e62
sub r15d, dword [0x18024aab0]
mov ecx, dword [0x1802495d4]
mov rax, qword gs:[0x58]
mov r13d, 8
mov r14, qword [rax + rcx*8]
mov eax, dword [r14 + r13]
cmp dword [0x18024e09c], eax
jle 0x18013eaf2
lea rcx, [0x18024e09c]
call fcn.18019ca30
cmp dword [0x18024e09c], 0xffffffff
jne 0x18013eaf2
mov rax, qword [0x18024a5c0]
xor r9d, r9d
lea r8, str._Script_FortniteGame.FortOnlineBeaconHost
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18024e0b8], rax
lea rcx, [0x18024e09c]
call fcn.18019c9c4
call fcn.18013e870
mov rsi, rax
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x58], r12
xorps xmm1, xmm1
movaps xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x60], 0
mov rdi, qword [0x18024e0b8]
movaps xmmword [rbp - 0x40], xmm1
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp - 0x20], xmm1
xor r8d, r8d
xor ecx, ecx
call fcn.1800a4120
mov rbx, rax
mov r10, qword [0x18024a620]
mov r9, rax
lea r8, [rbp - 0x40]
mov rdx, rdi
mov rcx, rsi
call r10
mov rsi, rax
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rsi, rsi
jne 0x18013ed46
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 6
lea rdx, str.LogNet
lea rcx, [rbp - 0x40]
call fcn.180057100
nop
call fcn.180056e40
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056d40
cmp qword [rsp + 0x30], rsi
setne sil
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013ebfa
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013ebfa
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18013ebfa
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x40]
call fcn.18005aca0
test sil, sil
je 0x18013f7cd
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 6
lea rdx, str.LogNet
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
call fcn.180056e40
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056d40
nop
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea rax, str.Failed_to_spawn_beacon_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], reloc.WS2_32.dll_socket
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.180067ce0
nop
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x50], xmm0
lea r9, [rbp - 0x50]
mov r8d, 4
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.180054b20
nop
lea rcx, [rbp - 0x40]
call fcn.18005aca0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013ed38
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013ed38
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18013ed38
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005aca0
jmp 0x18013f7cd
mov eax, dword [r14 + r13]
cmp dword [0x18024e088], eax
jle 0x18013ed81
lea rcx, [0x18024e088]
call fcn.18019ca30
cmp dword [0x18024e088], 0xffffffff
jne 0x18013ed81
mov rax, qword [0x18024a880]
mov qword [0x18024e0b0], rax
lea rcx, [0x18024e088]
call fcn.18019c9c4
mov eax, dword [r14 + r13]
cmp dword [0x18024e084], eax
jle 0x18013edbc
lea rcx, [0x18024e084]
call fcn.18019ca30
cmp dword [0x18024e084], 0xffffffff
jne 0x18013edbc
mov rax, qword [0x18024a858]
mov qword [0x18024e090], rax
lea rcx, [0x18024e084]
call fcn.18019c9c4
mov edi, 0xffffffff
mov eax, dword [r14 + r13]
cmp dword [0x18024e04c], eax
jle 0x18013ee48
lea rcx, [0x18024e04c]
call fcn.18019ca30
cmp dword [0x18024e04c], edi
jne 0x18013ee48
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 0xa
lea rdx, str.ListenPort
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180139ef0
mov rcx, rax
test rax, rax
jne 0x18013ee22
mov eax, edi
jmp 0x18013ee2c
mov rax, qword [0x18024a348]
mov eax, dword [rax + rcx]
mov dword [0x18024e078], eax
lea rcx, [rbp - 0x80]
call fcn.18005aca0
nop
lea rcx, [0x18024e04c]
call fcn.18019c9c4
cmp dword [0x18024a61c], 0x1aa
lea ecx, [r15 - 1]
jl 0x18013ee5b
mov ecx, r15d
movsxd rax, dword [0x18024e078]
mov dword [rax + rsi], ecx
mov rcx, rsi
call qword [0x18024e0b0]
xor edx, edx
mov rcx, rsi
call qword [0x18024e090]
mov eax, dword [r14 + r13]
cmp dword [0x18024e064], eax
jle 0x18013ef01
lea rcx, [0x18024e064]
call fcn.18019ca30
cmp dword [0x18024e064], 0xffffffff
jne 0x18013ef01
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 9
lea rdx, str.NetDriver
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180139ef0
mov rcx, rax
test rax, rax
jne 0x18013eedb
mov eax, edi
jmp 0x18013eee5
mov rax, qword [0x18024a348]
mov eax, dword [rcx + rax]
mov dword [0x18024e054], eax
lea rcx, [rbp - 0x80]
call fcn.18005aca0
nop
lea rcx, [0x18024e064]
call fcn.18019c9c4
movsxd rax, dword [0x18024e054]
mov rsi, qword [rax + rsi]
test rsi, rsi
jne 0x18013f0e1
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 6
lea rdx, str.LogNet
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
call fcn.180056e40
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056d40
cmp qword [rsp + 0x30], rsi
setne sil
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013ef95
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013ef95
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18013ef95
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005aca0
test sil, sil
je 0x18013f7cd
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 6
lea rdx, str.LogNet
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
call fcn.180056e40
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056d40
nop
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rax, str.Failed_to_create_net_driver_
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x1c
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.180067ce0
nop
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x50], xmm0
lea r9, [rbp - 0x50]
mov r8d, 4
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.180054b20
nop
lea rcx, [rbp - 0x40]
call fcn.18005aca0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013f0d3
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013f0d3
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18013f0d3
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005aca0
jmp 0x18013f7cd
mov eax, dword [r14 + r13]
cmp dword [0x18024e060], eax
jle 0x18013f169
lea rcx, [0x18024e060]
call fcn.18019ca30
cmp dword [0x18024e060], 0xffffffff
jne 0x18013f169
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.NetDriverName
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180139ef0
mov rcx, rax
test rax, rax
jne 0x18013f143
mov eax, edi
jmp 0x18013f14d
mov rax, qword [0x18024a348]
mov eax, dword [rcx + rax]
mov dword [0x18024e098], eax
lea rcx, [rbp - 0x80]
call fcn.18005aca0
nop
lea rcx, [0x18024e060]
call fcn.18019c9c4
movsxd rcx, dword [0x18024e098]
mov rax, qword [rsp + 0x30]
mov qword [rcx + rsi], rax
mov eax, dword [r14 + r13]
cmp dword [0x18024e050], eax
jle 0x18013f20d
lea rcx, [0x18024e050]
call fcn.18019ca30
cmp dword [0x18024e050], 0xffffffff
jne 0x18013f20d
call fcn.18013e870
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 9
lea rdx, str.NetDriver
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.180139ef0
mov rcx, rax
test rax, rax
jne 0x18013f1e7
mov eax, edi
jmp 0x18013f1f1
mov rax, qword [0x18024a348]
mov eax, dword [rcx + rax]
mov dword [0x18024e044], eax
lea rcx, [rbp - 0x80]
call fcn.18005aca0
nop
lea rcx, [0x18024e050]
call fcn.18019c9c4
call fcn.18013e870
movsxd rcx, dword [0x18024e044]
mov qword [rcx + rax], rsi
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], r12
mov ecx, r12d
cmp dword [0x18024a61c], 0x1aa
setge cl
mov eax, r15d
sub eax, ecx
mov dword [rbp + 0x20], eax
call fcn.18013e870
mov rdx, rax
mov rcx, rsi
call qword [0x18024a628]
mov eax, dword [r14 + r13]
cmp dword [0x18024e06c], eax
jle 0x18013f325
lea rcx, [0x18024e06c]
call fcn.18019ca30
cmp dword [0x18024e06c], 0xffffffff
jne 0x18013f325
call fcn.18013e870
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.LevelCollections
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.180139ef0
mov rcx, rax
test rax, rax
jne 0x18013f2ff
mov eax, edi
jmp 0x18013f309
mov rax, qword [0x18024a348]
mov eax, dword [rcx + rax]
mov dword [0x18024e048], eax
lea rcx, [rbp - 0x80]
call fcn.18005aca0
nop
lea rcx, [0x18024e06c]
call fcn.18019c9c4
call fcn.18013e870
movsxd rbx, dword [0x18024e048]
add rbx, rax
mov eax, dword [r14 + r13]
cmp dword [0x18024e040], eax
jle 0x18013f388
lea rcx, [0x18024e040]
call fcn.18019ca30
cmp dword [0x18024e040], 0xffffffff
jne 0x18013f388
mov rax, qword [0x18024a5c0]
xor r9d, r9d
lea r8, str._Script_Engine.LevelCollection
xor edx, edx
xor ecx, ecx
call rax
mov rdx, qword [0x18024a688]
mov eax, dword [rax + rdx]
mov dword [0x18024e07c], eax
lea rcx, [0x18024e040]
call fcn.18019c9c4
mov rax, qword [rbx]
mov qword [rax + 0x10], rsi
movsxd rcx, dword [0x18024e07c]
mov rax, qword [rbx]
mov qword [rcx + rax + 0x10], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
call fcn.18013e870
mov r10, qword [0x18024a640]
lea rdx, [rax + 0x28]
test rax, rax
cmove rdx, r12
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp]
mov rcx, rsi
call r10
test al, al
jne 0x18013f5a6
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 6
lea rdx, str.LogNet
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
call fcn.180056e40
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056d40
cmp qword [rsp + 0x30], 0
setne sil
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013f463
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013f463
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18013f463
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005aca0
test sil, sil
je 0x18013f7cd
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 6
lea rdx, str.LogNet
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
call fcn.180056e40
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056d40
nop
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rax, str.Failed_to_init_listen_
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], socket
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.180067ce0
nop
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x50], xmm0
lea r9, [rbp - 0x50]
mov r8d, 4
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.180054b20
nop
lea rcx, [rbp - 0x40]
call fcn.18005aca0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013f5a1
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013f5a1
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18013f5a1
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
jmp 0x18013f7c3
mov rcx, rsi
call fcn.18013e4f0
mov rbx, rax
mov rcx, rsi
call fcn.18013e5c0
mov edx, dword [rax]
cmp dword [rbx], edx
jge 0x18013f5e3
mov rcx, rsi
call fcn.18013e4f0
cmp dword [rax], 0x9c4
jle 0x18013f5e3
mov rcx, rsi
call fcn.18013e4f0
mov ebx, dword [rax]
mov rcx, rsi
call fcn.18013e5c0
mov dword [rax], ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 6
lea rdx, str.LogNet
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
call fcn.180056e40
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056d40
cmp qword [rsp + 0x30], 0
setne sil
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013f664
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013f664
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18013f664
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005aca0
test sil, sil
je 0x18013f7cd
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 6
lea rdx, str.LogNet
lea rcx, [rbp - 0x80]
call fcn.180057100
nop
call fcn.180056e40
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056d40
nop
mov ecx, dword [0x18024aab0]
dec ecx
add ecx, r15d
lea rax, str.Listening_on_port__
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x48], ecx
movabs rax, 0x1000000000000000
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x60], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm1
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call fcn.180067ce0
nop
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm0
lea r9, [rbp - 0x50]
mov r8d, 2
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.180054b20
nop
lea rcx, [rbp - 0x40]
call fcn.18005aca0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013f7c3
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013f7c3
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18013f7c3
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005aca0
nop
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18019c820
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret