Function at 0x1800f9830
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov r13, rdx
mov r14, rcx
xor esi, esi
mov ecx, dword [0x1802433b4]
mov rax, qword gs:[0x58]
mov edx, 8
mov r12, qword [rax + rcx*8]
mov eax, dword [r12 + rdx]
cmp dword [0x180246928], eax
jle 0x1800f98c9
lea rcx, [0x180246928]
call fcn.180198ab0
cmp dword [0x180246928], 0xffffffff
jne 0x1800f98c9
mov rax, qword [0x180244230]
xor r9d, r9d
lea r8, str._Script_FortniteGame.BuildingFoundation3x3
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x1802468e8], rax
lea rcx, [0x180246928]
call fcn.180198a50
xorps xmm7, xmm7
movaps xmmword [rsp + 0x40], xmm7
xor eax, eax
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x68], 0x3f800000
mov dword [rsp + 0x60], 0x3f800000
mov dword [rsp + 0x64], 0x3f800000
movsd xmm6, qword [r13]
mov eax, dword [r13 + 8]
mov dword [rsp + 0x58], eax
call fcn.1800f81f0
mov rdi, rax
mov r15, qword [0x1802468e8]
movaps xmmword [rbp + 0x80], xmm7
movaps xmm0, xmmword [rsp + 0x50]
movsd xmm0, xmm6
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rbp + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0xa0], xmm0
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
cmp dword [0x18024428c], 0x1f4
jl 0x1800f9977
lea edx, [r9 + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800f9964
mov rbx, rsi
jmp 0x1800f99a0
mov qword [rax + 0x10], rsi
mov eax, 0xfffb
and word [rbx + 0x32], ax
mov byte [rbx + 0x30], 0
jmp 0x1800f99a0
mov edx, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800f998f
mov rbx, rsi
jmp 0x1800f99a0
mov qword [rax + 0x10], rsi
mov eax, 0xfffb
and word [rbx + 0x2a], ax
mov byte [rbx + 0x28], 0
mov rax, qword [0x180244528]
mov r9, rbx
lea r8, [rbp + 0x80]
mov rdx, r15
mov rcx, rdi
call rax
mov r15, rax
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r15, r15
jne 0x1800f9b91
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea r8d, [r15 + 7]
lea rdx, str.LogGame
lea rcx, [rbp - 0x10]
call fcn.180052e60
nop
call fcn.180052c40
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.180052b60
cmp qword [rsp + 0x20], r15
setne r14b
lea rdi, [r15 - 1]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800f9a58
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800f9a58
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1800f9a58
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x10]
call fcn.180056ce0
test r14b, r14b
je 0x1800f9fdb
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov r8d, 7
lea rdx, str.LogGame
lea rcx, [rbp + 0x10]
call fcn.180052e60
nop
call fcn.180052c40
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.180052b60
nop
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
lea rax, str.Failed_to_spawn_BuildingFoundation_for_streaming_
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0x31
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x40], xmm1
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.180064100
nop
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x60], xmm1
movsd xmm0, qword [rbp - 0x70]
movsd qword [rbp + 0x70], xmm0
lea r9, [rbp + 0x50]
mov r8d, 4
lea rdx, [rbp + 0x60]
mov rcx, qword [rsp + 0x70]
call fcn.180050a00
nop
lea rcx, [rbp - 0x30]
call fcn.180056ce0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1800f9b83
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800f9b83
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1800f9b83
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x10]
call fcn.180056ce0
jmp 0x1800f9fdb
mov ebx, 8
mov eax, dword [r12 + rbx]
cmp dword [0x180246960], eax
jle 0x1800f9c4b
lea rcx, [0x180246960]
call fcn.180198ab0
cmp dword [0x180246960], 0xffffffff
jne 0x1800f9c4b
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.FoundationName
lea rcx, [rsp + 0x40]
call fcn.180052e60
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, gethostname
lea rdx, str._Script_FortniteGame.BuildingFoundationStreamingData
lea rcx, [rsp + 0x20]
call fcn.180052e60
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180052ff0
mov dword [0x18024695c], eax
lea rcx, [rsp + 0x20]
call fcn.180056ce0
nop
lea rcx, [rsp + 0x40]
call fcn.180056ce0
nop
lea rcx, [0x180246960]
call fcn.180198a50
mov eax, dword [r12 + rbx]
cmp dword [0x1802468c0], eax
jle 0x1800f9d00
lea rcx, [0x1802468c0]
call fcn.180198ab0
cmp dword [0x1802468c0], 0xffffffff
jne 0x1800f9d00
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.FoundationLocation
lea rcx, [rsp + 0x20]
call fcn.180052e60
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, gethostname
lea rdx, str._Script_FortniteGame.BuildingFoundationStreamingData
lea rcx, [rsp + 0x40]
call fcn.180052e60
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180052ff0
mov dword [0x1802468dc], eax
lea rcx, [rsp + 0x40]
call fcn.180056ce0
nop
lea rcx, [rsp + 0x20]
call fcn.180056ce0
nop
lea rcx, [0x1802468c0]
call fcn.180198a50
mov rdi, 0xffffffffffffffff
mov eax, dword [r12 + rbx]
cmp dword [0x180246a1c], eax
jle 0x1800f9d91
lea rcx, [0x180246a1c]
call fcn.180198ab0
cmp dword [0x180246a1c], edi
jne 0x1800f9d91
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r8d, [rdi + 0xe]
lea rdx, str.StreamingData
lea rcx, [rsp + 0x40]
call fcn.180052e60
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.180137b60
mov rcx, rax
test rax, rax
jne 0x1800f9d6a
mov eax, edi
jmp 0x1800f9d74
mov rax, qword [0x180243f10]
mov eax, dword [rcx + rax]
mov dword [0x180246940], eax
lea rcx, [rsp + 0x40]
call fcn.180056ce0
nop
lea rcx, [0x180246a1c]
call fcn.180198a50
mov eax, dword [r12 + rbx]
cmp dword [0x180246934], eax
jle 0x1800f9e22
lea rcx, [0x180246934]
call fcn.180198ab0
cmp dword [0x180246934], 0xffffffff
jne 0x1800f9e22
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.LevelToStream
lea rcx, [rsp + 0x40]
call fcn.180052e60
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.180137b60
mov rcx, rax
test rax, rax
jne 0x1800f9dfb
mov eax, edi
jmp 0x1800f9e05
mov rax, qword [0x180243f10]
mov eax, dword [rcx + rax]
mov dword [0x1802469bc], eax
lea rcx, [rsp + 0x40]
call fcn.180056ce0
nop
lea rcx, [0x180246934]
call fcn.180198a50
movsxd rbx, dword [0x180246940]
add rbx, r15
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x1800f9e3f
add r8, qword [r14]
mov rdx, qword [r14]
jmp 0x1800f9e45
add r8, r14
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.18005b9d0
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1800f9e5c
mov rdx, qword [rax]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rsi
test rdx, rdx
je 0x1800f9e9c
cmp word [rdx], 0
je 0x1800f9e97
mov rcx, rdi
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1800f9e74
add ecx, 1
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], ecx
mov rax, rsi
cmovne rax, rdx
mov qword [rsp + 0x20], rax
jmp 0x1800f9e9c
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x108]
call fcn.180133770
mov rax, qword [rax]
movsxd rcx, dword [0x18024695c]
mov qword [rcx + rbx], rax
lea rcx, [rsp + 0x40]
call fcn.180056c70
movsxd rcx, dword [0x1802468dc]
movsd qword [rcx + rbx], xmm6
mov eax, dword [r13 + 8]
mov dword [rcx + rbx + 8], eax
cmp qword [r14 + 0x18], 0x10
jb 0x1800f9eec
mov r8, qword [r14]
add r8, qword [r14 + 0x10]
mov r14, qword [r14]
jmp 0x1800f9ef3
mov r8, qword [r14 + 0x10]
add r8, r14
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.18005b9d0
nop
cmp qword [rax + 0x18], 8
jb 0x1800f9f0b
mov rax, qword [rax]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rsi
test rax, rax
je 0x1800f9f45
cmp word [rax], 0
je 0x1800f9f40
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1800f9f20
add edi, 1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x2c], edi
cmovne rsi, rax
mov qword [rsp + 0x20], rsi
jmp 0x1800f9f45
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x108]
call fcn.180133770
mov rax, qword [rax]
movsxd rcx, dword [0x1802469bc]
mov qword [rcx + r15], rax
lea rcx, [rsp + 0x40]
call fcn.180056c70
mov edx, 8
mov eax, dword [r12 + rdx]
cmp dword [0x18024693c], eax
jle 0x1800f9fbe
lea rcx, [0x18024693c]
call fcn.180198ab0
cmp dword [0x18024693c], 0xffffffff
jne 0x1800f9fbe
mov rax, qword [0x180244230]
xor r9d, r9d
lea r8, str._Script_FortniteGame.BuildingFoundation.OnRep_LevelToStream
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180246a38], rax
lea rcx, [0x18024693c]
call fcn.180198a50
xor r8d, r8d
mov rdx, qword [0x180246a38]
mov rcx, r15
call qword [0x180243fb0]
mov dl, 1
mov rcx, r15
call fcn.1800f89c0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret