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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1d0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rbx, rdx
mov r14, rcx
xor esi, esi
mov ecx, dword [0x1802534b0]
mov rax, qword gs:[0x58]
mov edx, 8
mov r15d, edx
mov r12, qword [rax + rcx*8]
mov eax, dword [r12 + rdx]
cmp dword [0x180256de0], eax
jle 0x180102c2a
lea rcx, [0x180256de0]
call fcn.1801a4710
cmp dword [0x180256de0], 0xffffffff
jne 0x180102c2a
mov rax, qword [0x180254550]
xor r9d, r9d
lea r8, str._Script_FortniteGame.BuildingFoundation3x3
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180256d98], rax
lea rcx, [0x180256de0]
call fcn.1801a46a4
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 [rbx]
mov eax, dword [rbx + 8]
mov dword [rsp + 0x58], eax
call fcn.180101620
mov rdi, rax
mov r13, qword [0x180256d98]
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 [0x1802545ac], 0x1f4
jl 0x180102cd5
lea edx, [r9 + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180102cc2
mov rbx, rsi
jmp 0x180102cfe
mov qword [rax + 0x10], rsi
mov eax, 0xfffb
and word [rbx + 0x32], ax
mov byte [rbx + 0x30], 0
jmp 0x180102cfe
mov edx, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180102ced
mov rbx, rsi
jmp 0x180102cfe
mov qword [rax + 0x10], rsi
mov eax, 0xfffb
and word [rbx + 0x2a], ax
mov byte [rbx + 0x28], 0
mov rax, qword [0x1802545b0]
mov r9, rbx
lea r8, [rbp + 0x80]
mov rdx, r13
mov rcx, rdi
call rax
mov r13, rax
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r13, r13
jne 0x180102eef
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea r8d, [r13 + 7]
lea rdx, str.LogGame
lea rcx, [rbp - 0x10]
call fcn.180056e80
nop
call fcn.180056bc0
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.180056ac0
cmp qword [rsp + 0x20], r13
setne r14b
lea rdi, [r13 - 1]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180102db6
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180102db6
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 0x180102db6
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x10]
call fcn.18005ac60
test r14b, r14b
je 0x180103353
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.180056e80
nop
call fcn.180056bc0
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.180056ac0
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.180067f80
nop
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova 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.1800547a0
nop
lea rcx, [rbp - 0x30]
call fcn.18005ac60
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180102ee1
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180102ee1
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 0x180102ee1
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x10]
call fcn.18005ac60
jmp 0x180103353
mov eax, dword [r12 + r15]
cmp dword [0x180256e24], eax
jle 0x180102fa4
lea rcx, [0x180256e24]
call fcn.1801a4710
cmp dword [0x180256e24], 0xffffffff
jne 0x180102fa4
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.180056e80
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.180056e80
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180057130
mov dword [0x180256e20], eax
lea rcx, [rsp + 0x20]
call fcn.18005ac60
nop
lea rcx, [rsp + 0x40]
call fcn.18005ac60
nop
lea rcx, [0x180256e24]
call fcn.1801a46a4
mov eax, dword [r12 + r15]
cmp dword [0x180256d78], eax
jle 0x180103059
lea rcx, [0x180256d78]
call fcn.1801a4710
cmp dword [0x180256d78], 0xffffffff
jne 0x180103059
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.180056e80
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.180056e80
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180057130
mov dword [0x180256d90], eax
lea rcx, [rsp + 0x40]
call fcn.18005ac60
nop
lea rcx, [rsp + 0x20]
call fcn.18005ac60
nop
lea rcx, [0x180256d78]
call fcn.1801a46a4
mov rdi, 0xffffffffffffffff
mov eax, dword [r12 + r15]
cmp dword [0x180256ee4], eax
jle 0x1801030ea
lea rcx, [0x180256ee4]
call fcn.1801a4710
cmp dword [0x180256ee4], edi
jne 0x1801030ea
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.180056e80
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1801418e0
mov rcx, rax
test rax, rax
jne 0x1801030c3
mov eax, edi
jmp 0x1801030cd
mov rax, qword [0x180254230]
mov eax, dword [rcx + rax]
mov dword [0x180256df8], eax
lea rcx, [rsp + 0x40]
call fcn.18005ac60
nop
lea rcx, [0x180256ee4]
call fcn.1801a46a4
mov eax, dword [r12 + r15]
cmp dword [0x180256de8], eax
jle 0x18010317b
lea rcx, [0x180256de8]
call fcn.1801a4710
cmp dword [0x180256de8], 0xffffffff
jne 0x18010317b
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.180056e80
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1801418e0
mov rcx, rax
test rax, rax
jne 0x180103154
mov eax, edi
jmp 0x18010315e
mov rax, qword [0x180254230]
mov eax, dword [rcx + rax]
mov dword [0x180256e84], eax
lea rcx, [rsp + 0x40]
call fcn.18005ac60
nop
lea rcx, [0x180256de8]
call fcn.1801a46a4
movsxd rbx, dword [0x180256df8]
add rbx, r13
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x180103198
add r8, qword [r14]
mov rdx, qword [r14]
jmp 0x18010319e
add r8, r14
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.18005f7c0
mov rdx, rax
cmp qword [rax + 0x18], 7
jbe 0x1801031b5
mov rdx, qword [rax]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rsi
test rdx, rdx
je 0x1801031f8
cmp word [rdx], 0
je 0x1801031f3
mov rcx, rdi
nop dword [rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1801031d0
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 0x1801031f8
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x120]
call fcn.18013c500
mov rax, qword [rax]
movsxd rcx, dword [0x180256e20]
mov qword [rcx + rbx], rax
lea rcx, [rsp + 0x40]
call fcn.18005abf0
movsxd rcx, dword [0x180256d90]
mov rax, qword [rbp + 0x118]
movsd xmm0, qword [rax]
movsd qword [rcx + rbx], xmm0
mov eax, dword [rax + 8]
mov dword [rcx + rbx + 8], eax
cmp qword [r14 + 0x18], 0xf
jbe 0x180103252
mov r8, qword [r14]
add r8, qword [r14 + 0x10]
mov r14, qword [r14]
jmp 0x180103259
mov r8, qword [r14 + 0x10]
add r8, r14
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.18005f7c0
nop
cmp qword [rax + 0x18], 7
jbe 0x180103271
mov rax, qword [rax]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rsi
test rax, rax
je 0x1801032ab
cmp word [rax], 0
je 0x1801032a6
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180103286
add edi, 1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x2c], edi
cmovne rsi, rax
mov qword [rsp + 0x20], rsi
jmp 0x1801032ab
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x118]
call fcn.18013c500
mov rax, qword [rax]
movsxd rcx, dword [0x180256e84]
mov qword [rcx + r13], rax
lea rcx, [rsp + 0x40]
call fcn.18005abf0
mov edx, dword [0x1802534b0]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x180256df0], ecx
jle 0x180103336
lea rcx, [0x180256df0]
call fcn.1801a4710
cmp dword [0x180256df0], 0xffffffff
jne 0x180103336
mov rax, qword [0x180254550]
xor r9d, r9d
lea r8, str._Script_FortniteGame.BuildingFoundation.OnRep_LevelToStream
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180256f08], rax
lea rcx, [0x180256df0]
call fcn.1801a46a4
xor r8d, r8d
mov rdx, qword [0x180256f08]
mov rcx, r13
call qword [0x1802542d0]
mov dl, 1
mov rcx, r13
call fcn.180101d20
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret