Function at 0x18013e840
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.180134c40
nop
mov r15d, 0x1e62
sub r15d, dword [0x18024aaf0]
mov ecx, dword [0x180249614]
mov rax, qword gs:[0x58]
mov r13d, 8
mov r14, qword [rax + rcx*8]
mov eax, dword [r14 + r13]
cmp dword [0x18024e06c], eax
jle 0x18013e912
lea rcx, [0x18024e06c]
call fcn.18019c850
cmp dword [0x18024e06c], 0xffffffff
jne 0x18013e912
mov rax, qword [0x18024a600]
xor r9d, r9d
lea r8, str._Script_FortniteGame.FortOnlineBeaconHost
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18024e088], rax
lea rcx, [0x18024e06c]
call fcn.18019c7e4
call fcn.18013e690
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 [0x18024e088]
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.1800a3fc0
mov rbx, rax
mov r10, qword [0x18024a660]
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 0x18013eb66
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.180057090
nop
call fcn.180056dd0
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056cd0
cmp qword [rsp + 0x30], rsi
setne sil
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013ea1a
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013ea1a
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 0x18013ea1a
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x40]
call fcn.18005ac30
test sil, sil
je 0x18013f5ed
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.180057090
nop
call fcn.180056dd0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056cd0
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.180067c70
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.180054ab0
nop
lea rcx, [rbp - 0x40]
call fcn.18005ac30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013eb58
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013eb58
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 0x18013eb58
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005ac30
jmp 0x18013f5ed
mov eax, dword [r14 + r13]
cmp dword [0x18024e058], eax
jle 0x18013eba1
lea rcx, [0x18024e058]
call fcn.18019c850
cmp dword [0x18024e058], 0xffffffff
jne 0x18013eba1
mov rax, qword [0x18024a8c0]
mov qword [0x18024e080], rax
lea rcx, [0x18024e058]
call fcn.18019c7e4
mov eax, dword [r14 + r13]
cmp dword [0x18024e054], eax
jle 0x18013ebdc
lea rcx, [0x18024e054]
call fcn.18019c850
cmp dword [0x18024e054], 0xffffffff
jne 0x18013ebdc
mov rax, qword [0x18024a898]
mov qword [0x18024e060], rax
lea rcx, [0x18024e054]
call fcn.18019c7e4
mov edi, 0xffffffff
mov eax, dword [r14 + r13]
cmp dword [0x18024e01c], eax
jle 0x18013ec68
lea rcx, [0x18024e01c]
call fcn.18019c850
cmp dword [0x18024e01c], edi
jne 0x18013ec68
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.180057090
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180139d10
mov rcx, rax
test rax, rax
jne 0x18013ec42
mov eax, edi
jmp 0x18013ec4c
mov rax, qword [0x18024a388]
mov eax, dword [rax + rcx]
mov dword [0x18024e048], eax
lea rcx, [rbp - 0x80]
call fcn.18005ac30
nop
lea rcx, [0x18024e01c]
call fcn.18019c7e4
cmp dword [0x18024a65c], 0x1aa
lea ecx, [r15 - 1]
jl 0x18013ec7b
mov ecx, r15d
movsxd rax, dword [0x18024e048]
mov dword [rax + rsi], ecx
mov rcx, rsi
call qword [0x18024e080]
xor edx, edx
mov rcx, rsi
call qword [0x18024e060]
mov eax, dword [r14 + r13]
cmp dword [0x18024e034], eax
jle 0x18013ed21
lea rcx, [0x18024e034]
call fcn.18019c850
cmp dword [0x18024e034], 0xffffffff
jne 0x18013ed21
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.180057090
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180139d10
mov rcx, rax
test rax, rax
jne 0x18013ecfb
mov eax, edi
jmp 0x18013ed05
mov rax, qword [0x18024a388]
mov eax, dword [rcx + rax]
mov dword [0x18024e024], eax
lea rcx, [rbp - 0x80]
call fcn.18005ac30
nop
lea rcx, [0x18024e034]
call fcn.18019c7e4
movsxd rax, dword [0x18024e024]
mov rsi, qword [rax + rsi]
test rsi, rsi
jne 0x18013ef01
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.180057090
nop
call fcn.180056dd0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056cd0
cmp qword [rsp + 0x30], rsi
setne sil
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013edb5
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013edb5
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 0x18013edb5
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005ac30
test sil, sil
je 0x18013f5ed
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.180057090
nop
call fcn.180056dd0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056cd0
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.180067c70
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.180054ab0
nop
lea rcx, [rbp - 0x40]
call fcn.18005ac30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013eef3
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013eef3
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 0x18013eef3
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005ac30
jmp 0x18013f5ed
mov eax, dword [r14 + r13]
cmp dword [0x18024e030], eax
jle 0x18013ef89
lea rcx, [0x18024e030]
call fcn.18019c850
cmp dword [0x18024e030], 0xffffffff
jne 0x18013ef89
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.180057090
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180139d10
mov rcx, rax
test rax, rax
jne 0x18013ef63
mov eax, edi
jmp 0x18013ef6d
mov rax, qword [0x18024a388]
mov eax, dword [rcx + rax]
mov dword [0x18024e068], eax
lea rcx, [rbp - 0x80]
call fcn.18005ac30
nop
lea rcx, [0x18024e030]
call fcn.18019c7e4
movsxd rcx, dword [0x18024e068]
mov rax, qword [rsp + 0x30]
mov qword [rcx + rsi], rax
mov eax, dword [r14 + r13]
cmp dword [0x18024e020], eax
jle 0x18013f02d
lea rcx, [0x18024e020]
call fcn.18019c850
cmp dword [0x18024e020], 0xffffffff
jne 0x18013f02d
call fcn.18013e690
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.180057090
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.180139d10
mov rcx, rax
test rax, rax
jne 0x18013f007
mov eax, edi
jmp 0x18013f011
mov rax, qword [0x18024a388]
mov eax, dword [rcx + rax]
mov dword [0x18024e014], eax
lea rcx, [rbp - 0x80]
call fcn.18005ac30
nop
lea rcx, [0x18024e020]
call fcn.18019c7e4
call fcn.18013e690
movsxd rcx, dword [0x18024e014]
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 [0x18024a65c], 0x1aa
setge cl
mov eax, r15d
sub eax, ecx
mov dword [rbp + 0x20], eax
call fcn.18013e690
mov rdx, rax
mov rcx, rsi
call qword [0x18024a668]
mov eax, dword [r14 + r13]
cmp dword [0x18024e03c], eax
jle 0x18013f145
lea rcx, [0x18024e03c]
call fcn.18019c850
cmp dword [0x18024e03c], 0xffffffff
jne 0x18013f145
call fcn.18013e690
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.180057090
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.180139d10
mov rcx, rax
test rax, rax
jne 0x18013f11f
mov eax, edi
jmp 0x18013f129
mov rax, qword [0x18024a388]
mov eax, dword [rcx + rax]
mov dword [0x18024e018], eax
lea rcx, [rbp - 0x80]
call fcn.18005ac30
nop
lea rcx, [0x18024e03c]
call fcn.18019c7e4
call fcn.18013e690
movsxd rbx, dword [0x18024e018]
add rbx, rax
mov eax, dword [r14 + r13]
cmp dword [0x18024e010], eax
jle 0x18013f1a8
lea rcx, [0x18024e010]
call fcn.18019c850
cmp dword [0x18024e010], 0xffffffff
jne 0x18013f1a8
mov rax, qword [0x18024a600]
xor r9d, r9d
lea r8, str._Script_Engine.LevelCollection
xor edx, edx
xor ecx, ecx
call rax
mov rdx, qword [0x18024a6c8]
mov eax, dword [rax + rdx]
mov dword [0x18024e04c], eax
lea rcx, [0x18024e010]
call fcn.18019c7e4
mov rax, qword [rbx]
mov qword [rax + 0x10], rsi
movsxd rcx, dword [0x18024e04c]
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.18013e690
mov r10, qword [0x18024a680]
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 0x18013f3c6
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.180057090
nop
call fcn.180056dd0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056cd0
cmp qword [rsp + 0x30], 0
setne sil
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013f283
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013f283
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 0x18013f283
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005ac30
test sil, sil
je 0x18013f5ed
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.180057090
nop
call fcn.180056dd0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056cd0
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.180067c70
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.180054ab0
nop
lea rcx, [rbp - 0x40]
call fcn.18005ac30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013f3c1
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013f3c1
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 0x18013f3c1
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
jmp 0x18013f5e3
mov rcx, rsi
call fcn.18013e310
mov rbx, rax
mov rcx, rsi
call fcn.18013e3e0
mov edx, dword [rax]
cmp dword [rbx], edx
jge 0x18013f403
mov rcx, rsi
call fcn.18013e310
cmp dword [rax], 0x9c4
jle 0x18013f403
mov rcx, rsi
call fcn.18013e310
mov ebx, dword [rax]
mov rcx, rsi
call fcn.18013e3e0
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.180057090
nop
call fcn.180056dd0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056cd0
cmp qword [rsp + 0x30], 0
setne sil
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013f484
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013f484
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 0x18013f484
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005ac30
test sil, sil
je 0x18013f5ed
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.180057090
nop
call fcn.180056dd0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180056cd0
nop
mov ecx, dword [0x18024aaf0]
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.180067c70
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.180054ab0
nop
lea rcx, [rbp - 0x40]
call fcn.18005ac30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18013f5e3
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18013f5e3
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 0x18013f5e3
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x80]
call fcn.18005ac30
nop
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18019c640
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