Function at 0x18004f520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push r13
sub rsp, 0x160
mov rax, qword [0x180126010]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov r13, qword [rcx]
mov qword [r11 - 0x10], rbp
xor ebp, ebp
mov qword [r11 - 0x18], rsi
mov rsi, rdx
mov qword [r11 - 0x30], r14
mov r14, rcx
mov qword [rsp + 0x90], r8
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xd8], rcx
mov dword [rsp + 0x78], 0xffffffff
mov qword [rsp + 0x80], rbp
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x6c], ebp
mov dword [rsp + 0x8c], ebp
mov dword [rsp + 0x68], ebp
mov dword [rsp + 0x74], ebp
mov dword [rsp + 0x54], ebp
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xe0], r13
cmp dword [rcx + 0x4c], ebp
jne 0x180050197
cmp byte [r13 + 0x50], bpl
jne 0x180050197
mov qword [r11 - 0x38], r15
call fcn.18004f270
mov r15, rax
test rax, rax
je 0x18005018f
mov rax, qword [r14]
mov edx, ebp
mov qword [rsp + 0x188], rbx
mov ebx, ebp
mov qword [rsp + 0x148], rdi
test dword [rax + 0x2c], 0x800000
je 0x18004f606
mov rdx, r15
mov rcx, r14
call fcn.18006e020
mov rdx, rax
mov rcx, rdx
test rdx, rdx
je 0x18004f625
nop
cmp byte [rcx + 0x10], 0x6d
jne 0x18004f61c
movzx eax, byte [rcx + 0x11]
or ebx, eax
mov rcx, qword [rcx + 0x40]
test rcx, rcx
jne 0x18004f610
test ebx, ebx
mov rdi, rbp
mov rbx, qword [r15 + 0x18]
mov rcx, r14
cmovne rdi, rdx
mov qword [rsp + 0xa8], rbx
mov rdx, r15
mov qword [rsp + 0xb0], rdi
call fcn.180049980
test eax, eax
jne 0x18005017f
mov r8d, ebp
test rdi, rdi
mov rdx, r15
mov rcx, r14
setne r8b
call fcn.18004f330
test eax, eax
jne 0x18005017f
mov rdx, qword [r15 + 0x70]
mov edi, 0xfff0bdc0
mov qword [rsp + 0x140], r12
test rdx, rdx
je 0x18004f6af
mov ecx, dword [r13 + 0x28]
mov edi, ebp
test ecx, ecx
jle 0x18004f6af
mov rax, qword [r13 + 0x20]
add rax, 0x18
nop word [rax + rax]
cmp qword [rax], rdx
je 0x18004f6af
inc edi
add rax, 0x20
cmp edi, ecx
jl 0x18004f6a0
mov rax, qword [r13 + 0x20]
xor r9d, r9d
mov r8, qword [r15]
movsxd rbp, edi
mov r12, rbp
shl r12, 5
lea edx, [r9 + 9]
mov rcx, qword [r12 + rax]
mov qword [rsp + 0x20], rcx
mov rcx, r14
call fcn.180045ad0
mov dword [rsp + 0x58], eax
cmp eax, 1
je 0x180050177
mov eax, dword [r14 + 0x50]
xor edx, edx
mov dword [rsi + 0x50], eax
inc dword [r14 + 0x50]
mov ecx, dword [r14 + 0x50]
mov dword [rsp + 0x5c], eax
mov rax, qword [r15 + 0x10]
mov dword [rsp + 0x64], edx
test rax, rax
je 0x18004f725
nop word [rax + rax]
inc ecx
inc edx
mov dword [r14 + 0x50], ecx
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x18004f710
mov dword [rsp + 0x64], edx
test rbx, rbx
je 0x18004f74b
mov rax, qword [r14 + 0x230]
mov qword [rsp + 0xc0], rax
mov rax, qword [r15]
mov qword [r14 + 0x230], rax
mov qword [rsp + 0xb8], r14
mov rsi, qword [r14 + 0x10]
test rsi, rsi
jne 0x18004f7a4
mov rcx, r14
call fcn.180026410
mov qword [r14 + 0x10], rax
mov rsi, rax
test rax, rax
je 0x18004f783
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026570
cmp qword [r14 + 0x1c0], 0
jne 0x18004f79b
mov rax, qword [r14]
test byte [rax + 0x4c], 8
jne 0x18004f79b
mov byte [r14 + 0x23], 1
test rsi, rsi
je 0x180050153
cmp byte [r14 + 0x1e], 0
jne 0x18004f7b2
or dword [rsi + 0x8c], 0x10
mov rax, qword [r14 + 0x1c0]
mov rbx, r14
test rax, rax
cmovne rbx, rax
mov eax, dword [rbx + 0x16c]
bt eax, edi
jb 0x18004f7f9
bts eax, edi
mov dword [rbx + 0x16c], eax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + r12 + 0x18]
mov ecx, dword [rax]
mov dword [rbx + rbp*4 + 0x170], ecx
cmp edi, 1
jne 0x18004f7f9
mov rcx, rbx
call fcn.18004d290
mov eax, dword [rbx + 0x168]
or byte [rbx + 0x20], 1
bts eax, edi
cmp qword [rsp + 0xa8], 0
mov dword [rbx + 0x168], eax
je 0x18004f841
mov ebx, dword [rsp + 0x5c]
mov rdx, r15
mov r8, qword [rsp + 0x90]
mov r9d, ebx
mov rcx, r14
call fcn.18004f3d0
mov r12d, ebx
mov dword [rsp + 0x88], ebx
mov dword [rsp + 0x60], ebx
jmp 0x18004f849
mov r12d, dword [rsp + 0x88]
mov rax, qword [rsp + 0xa0]
lea rcx, [rsp + 0xf0]
mov rbx, qword [rsp + 0x90]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rsp + 0x120], 0
mov rdx, rbx
mov qword [rsp + 0xf0], r14
movdqu xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0xf8], rax
movdqu xmmword [rsp + 0x110], xmm1
call fcn.18003a150
test eax, eax
jne 0x180050153
test byte [r13 + 0x2c], 0x80
je 0x18004f8cf
inc dword [r14 + 0x54]
lea edx, [rax + 0x19]
mov ebp, dword [r14 + 0x54]
xor r8d, r8d
mov r9d, ebp
mov dword [rsp + 0x78], ebp
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180026570
jmp 0x18004f8d3
mov ebp, dword [rsp + 0x78]
cmp dword [rsp + 0x58], 0
mov eax, 1
jne 0x18004f9d3
test rbx, rbx
jne 0x18004f9d3
cmp qword [rsp + 0xb0], rbx
jne 0x18004f9d3
test byte [r15 + 0x48], 0x10
jne 0x18004f9d3
mov rax, qword [r14]
mov rbx, qword [r15]
test dword [rax + 0x2c], 0x80000
je 0x18004f944
mov rcx, qword [r15 + 0x70]
lea r8, [rsp + 0x58]
add rcx, 0x50
mov rdx, rbx
call fcn.18000a350
test rax, rax
je 0x18004f939
cmp qword [rax + 0x10], 0
jne 0x18004f9c6
cmp qword [r15 + 0x20], 0
jne 0x18004f9c6
mov r8d, dword [r15 + 0x3c]
mov r9b, 1
mov edx, edi
mov qword [rsp + 0x20], rbx
mov rcx, r14
call fcn.180045b90
test byte [r15 + 0x48], 0x20
jne 0x18004f98f
mov r8d, dword [r15 + 0x3c]
mov r9d, edi
mov rbx, qword [r15]
mov edx, 0x76
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.180026570
mov r9d, 0xfffffffe
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180026b50
mov rbx, qword [r15 + 0x10]
xor ebp, ebp
test rbx, rbx
je 0x1800500d6
nop
mov r8d, dword [rbx + 0x58]
mov r9d, edi
mov edx, 0x76
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180026570
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18004f9a0
jmp 0x1800500d6
mov rbx, qword [rsp + 0x90]
mov eax, 1
test byte [r15 + 0x48], 0x20
jne 0x18004fa0a
inc dword [r14 + 0x54]
xor ebp, ebp
mov word [rsp + 0x58], ax
xor r8d, r8d
mov eax, dword [r14 + 0x54]
mov rcx, rsi
mov r9d, eax
mov dword [rsp + 0x8c], eax
lea edx, [rbp + 0x1c]
mov dword [rsp + 0x20], ebp
call fcn.180026570
jmp 0x18004fa98
mov rbp, qword [r15 + 0x10]
test rbp, rbp
je 0x18004fa25
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
je 0x18004fa25
mov rbp, qword [rbp + 0x28]
test rbp, rbp
jne 0x18004fa13
movsx ecx, word [rbp + 0x5e]
mov eax, dword [r14 + 0x54]
mov r9d, ecx
mov word [rsp + 0x58], cx
mov dword [rsp + 0x20], 0
lea edx, [rax + 1]
add eax, ecx
mov ecx, dword [r14 + 0x50]
mov r8d, ecx
mov dword [r14 + 0x54], eax
mov dword [rsp + 0x70], edx
mov edx, 0x39
mov dword [rsp + 0x6c], ecx
lea eax, [rcx + 1]
mov rcx, rsi
mov dword [r14 + 0x50], eax
call fcn.180026570
mov rbx, qword [r14 + 0x10]
mov rdx, rbp
mov rcx, r14
mov dword [rsp + 0x54], eax
call fcn.18004e060
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbx
lea r9d, [rdx - 5]
call fcn.180026b50
mov rbx, qword [rsp + 0x90]
mov edi, dword [rsp + 0x5c]
mov ecx, 0xc
mov rdx, qword [rsp + 0xa0]
xor r9d, r9d
mov r8, rbx
lea eax, [rdi + 1]
mov dword [rsp + 0x30], eax
mov word [rsp + 0x28], cx
mov rcx, r14
mov qword [rsp + 0x20], 0
call fcn.18007d3c0
mov qword [rsp + 0x98], rax
test rax, rax
je 0x180050153
test byte [r13 + 0x2c], 0x80
mov rbx, qword [rax + 0x4c]
movzx eax, byte [rax + 0x36]
mov byte [rsp + 0x50], al
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xe8], rbx
je 0x18004fb1f
mov r8d, dword [rsp + 0x78]
mov r9d, 1
mov rcx, rsi
mov dword [rsp + 0x20], 0
lea edx, [r9 + 0x24]
call fcn.180026570
test rbp, rbp
je 0x18004fb83
movsx rax, word [rsp + 0x58]
test rax, rax
jle 0x18004fb7d
mov ebx, dword [rsp + 0x70]
xor edi, edi
mov r14d, dword [rsp + 0x5c]
mov r13, rax
nop dword [rax]
mov rax, qword [rbp + 8]
mov r8d, r14d
mov rdx, r15
mov dword [rsp + 0x20], ebx
mov rcx, rsi
movsx r9d, word [rax + rdi*2]
call fcn.18003e520
inc ebx
inc rdi
cmp rdi, r13
jl 0x18004fb40
mov rbx, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xe0]
mov edi, dword [rsp + 0x70]
jmp 0x18004fbb2
mov eax, dword [r14 + 0x54]
mov r9d, edi
inc eax
mov byte [rsp + 0x28], 0
mov r8d, 0xffffffff
mov dword [rsp + 0x20], eax
mov rdx, r15
mov rcx, r14
call fcn.18003e610
mov edi, eax
cmp eax, dword [r14 + 0x54]
jle 0x18004fbb2
mov dword [r14 + 0x54], eax
cmp byte [rsp + 0x50], 0
je 0x18004fd61
mov eax, dword [rsp + 0x64]
mov rcx, r13
add eax, 2
movsxd rdx, eax
call fcn.180006340
mov qword [rsp + 0x80], rax
mov rcx, rax
test rax, rax
jne 0x18004fbf1
mov rcx, qword [rsp + 0x98]
call fcn.18007dfb0
jmp 0x180050153
mov eax, dword [rsp + 0x64]
mov edx, 1
inc eax
movsxd r8, eax
call fcn.1800d0180
movsxd rax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x5c]
mov byte [rax + rcx + 1], 0
test ebx, ebx
js 0x18004fc27
sub ebx, edx
movsxd rax, ebx
mov byte [rax + rcx], 0
mov eax, dword [rsp + 0xec]
test eax, eax
js 0x18004fc3a
sub eax, edx
cdqe
mov byte [rax + rcx], 0
movsxd rax, dword [rsp + 0x54]
test eax, eax
je 0x18004fc82
cmp eax, dword [rsi + 0x3c]
jge 0x18004fc82
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
movsx edx, byte [rax + rcx*8 + 1]
lea rbx, [rax + rcx*8]
mov r8, qword [rbx + 0x10]
mov rcx, qword [rsi]
call fcn.180026890
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov byte [rbx], 0x9a
mov eax, dword [rsi + 0x3c]
dec eax
cmp dword [rsp + 0x54], eax
jne 0x18004fc82
mov dword [rsi + 0x3c], eax
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x10]
call fcn.180026570
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x54], eax
call fcn.18007dfb0
mov rbx, qword [rsi + 0x30]
mov edx, dword [rbx + 0x78]
mov dword [rsp + 0x68], edx
lea ecx, [rdx + 1]
mov dword [rbx + 0x78], ecx
lea ecx, [rdx - 1]
test edx, ecx
jne 0x18004fced
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.1800064f0
mov edx, dword [rsp + 0x68]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18004fd03
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
not edx
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov dword [rsp + 0x68], edx
mov r9d, edx
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.180026570
mov eax, dword [rsp + 0x54]
mov edx, dword [rsi + 0x3c]
cmp edx, eax
jbe 0x18004fd3d
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
movzx ebx, word [rsp + 0x58]
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x80], rax
jmp 0x18004fe27
mov rcx, rsi
test rbp, rbp
je 0x18004fdf2
inc dword [r14 + 0x54]
mov rdx, rbp
mov eax, dword [r14 + 0x54]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x64], 0
call fcn.180057b80
movsx ebx, word [rsp + 0x58]
mov rdi, rax
mov eax, dword [rsp + 0x54]
mov r9d, ebx
mov r8d, dword [rsp + 0x70]
mov edx, 0x31
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180026570
mov r9d, ebx
mov r8, rdi
mov edx, eax
mov rcx, rsi
call fcn.180026b50
mov edi, dword [rsp + 0x54]
mov edx, 0x6e
mov r8d, dword [rsp + 0x6c]
mov r9d, edi
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.180026570
mov rcx, qword [rsp + 0x98]
call fcn.18007dfb0
mov ebx, dword [rsp + 0x64]
jmp 0x18004fe1f
mov r8d, dword [rsp + 0x8c]
mov ebx, 1
mov r9d, edi
mov dword [rsp + 0x20], 0
lea edx, [rbx + 0x7f]
call fcn.180026570
mov rcx, qword [rsp + 0x98]
call fcn.18007dfb0
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0xa8], 0
jne 0x18004fe6c
mov r9d, dword [rsp + 0x5c]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x30], rcx
mov r8d, 0x37
lea rcx, [rsp + 0x60]
mov rdx, r15
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.18005b2f0
mov r12d, dword [rsp + 0x88]
movzx edx, byte [rsp + 0x50]
test dl, dl
je 0x18004fec1
mov r8d, dword [rsp + 0x60]
mov eax, r8d
sub eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x80]
cdqe
cmp byte [rax + rcx], 0
je 0x18004ff26
mov r9d, dword [rsp + 0x68]
mov edx, 0x44
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.180026570
movsx r8, bx
mov r9d, 0xfffffff2
mov edx, eax
mov rcx, rsi
call fcn.180026b50
jmp 0x18004ff1c
xor r9d, r9d
mov rcx, rsi
test rbp, rbp
je 0x18004ff02
mov r8d, dword [rsp + 0x6c]
lea edx, [r9 + 0x6c]
mov dword [rsp + 0x20], r9d
call fcn.180026570
mov r8d, dword [rsp + 0x6c]
mov r9d, edi
mov edx, 0x65
mov dword [rsp + 0x74], eax
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.180026570
jmp 0x18004ff1c
mov r8d, dword [rsp + 0x8c]
mov edx, 0x81
mov dword [rsp + 0x20], edi
call fcn.180026570
mov dword [rsp + 0x74], eax
movzx edx, byte [rsp + 0x50]
mov r8d, dword [rsp + 0x60]
test byte [r15 + 0x48], 0x10
je 0x18004ffa8
mov rbx, qword [r15 + 0x60]
test rbx, rbx
je 0x18004ff44
cmp qword [rbx], r13
je 0x18004ff44
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18004ff36
mov rdx, r15
mov rcx, r14
call fcn.180074080
mov r9d, 1
mov dword [rsp + 0x20], edi
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0xe]
call fcn.180026570
mov r9d, 0xfffffff6
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180026b50
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x18004ff91
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 2
mov rax, qword [r14 + 0x1c0]
mov rcx, r14
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
jmp 0x18004ffe1
cmp byte [r14 + 0x1e], 0
mov r9d, r8d
mov r8, qword [rsp + 0xb0]
mov rcx, r14
mov byte [rsp + 0x48], dl
sete al
mov byte [rsp + 0x40], 0xa
mov rdx, r15
mov byte [rsp + 0x38], al
mov word [rsp + 0x30], bx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r12d
call fcn.180050240
cmp byte [rsp + 0x50], 0
je 0x180050016
mov eax, dword [rsp + 0x68]
mov r8, qword [rsi + 0x30]
not eax
test eax, eax
js 0x18005000b
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x18005000b
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
jmp 0x180050069
mov ebx, dword [rsp + 0x74]
mov rcx, rsi
mov dword [rsp + 0x20], 0
test rbp, rbp
je 0x18005003a
mov r8d, dword [rsp + 0x6c]
lea r9d, [rbx + 1]
mov edx, 9
jmp 0x180050044
xor r8d, r8d
mov r9d, ebx
lea edx, [r8 + 0x10]
call fcn.180026570
mov edx, dword [rsi + 0x3c]
cmp edx, ebx
jbe 0x18005005f
mov rax, qword [rsi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
cmp qword [rsp + 0xa8], 0
jne 0x1800500d4
test byte [r15 + 0x48], 0x10
jne 0x1800500d4
test rbp, rbp
jne 0x18005009a
mov r8d, dword [rsp + 0x60]
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], ebp
lea edx, [r9 + 0x3d]
call fcn.180026570
jmp 0x18005009c
xor ebp, ebp
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x1800500d6
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov rcx, rsi
lea edx, [r9 + 0x3d]
call fcn.180026570
mov rbx, qword [rbx + 0x28]
inc r12d
test rbx, rbx
jne 0x1800500b0
jmp 0x1800500d6
xor ebp, ebp
cmp byte [r14 + 0x1e], 0
jne 0x1800500ef
cmp qword [r14 + 0x1c8], 0
jne 0x1800500ef
mov rcx, r14
call fcn.1800580c0
test byte [r13 + 0x2c], 0x80
je 0x180050153
cmp byte [r14 + 0x1e], 0
jne 0x180050153
cmp qword [r14 + 0x1c8], 0
jne 0x180050153
mov r8d, dword [rsp + 0x78]
mov ebx, 1
mov r9d, ebx
mov dword [rsp + 0x20], ebp
mov rcx, rsi
lea edx, [rbx + 0x22]
call fcn.180026570
mov edx, ebx
mov rcx, rsi
call fcn.180027ed0
mov rax, qword [rsi]
cmp byte [rax + 0x50], 0
jne 0x180050153
mov rcx, qword [rsi + 0x20]
lea r8d, [rbx - 2]
movzx r9d, bl
mov qword [rsp + 0x20], rbp
lea rdx, str.rows_deleted
call fcn.180025970
mov rax, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xa0]
test rax, rax
je 0x180050177
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x230], rcx
mov r12, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x188]
mov r15, qword [rsp + 0x130]
mov rdx, rsi
mov rcx, r13
call fcn.18004ccf0
mov rdx, qword [rsp + 0x90]
mov rcx, r13
call fcn.18003b470
mov rcx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x138]
mov rsi, qword [rsp + 0x150]
mov rbp, qword [rsp + 0x158]
test rcx, rcx
je 0x180050224
test r13, r13
je 0x18005021f
cmp qword [r13 + 0x320], 0
je 0x1800501f3
mov rdx, rcx
mov rcx, r13
call fcn.180005ff0
jmp 0x180050224
cmp rcx, qword [r13 + 0x168]
jb 0x18005021f
cmp rcx, qword [r13 + 0x170]
jae 0x18005021f
mov rax, qword [r13 + 0x160]
mov qword [rcx], rax
dec dword [r13 + 0x14c]
mov qword [r13 + 0x160], rcx
jmp 0x180050224
call fcn.180005f40
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1800cd010
add rsp, 0x160
pop r13
ret