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

Disassembly:
mov r11, rsp
push r13
sub rsp, 0x160
mov rax, qword [0x18012a010]
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 + 0xa8], rdx
mov dword [rsp + 0x78], 0xffffffff
mov qword [rsp + 0x98], rbp
mov dword [rsp + 0x6c], ebp
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x88], ebp
mov dword [rsp + 0x68], ebp
mov dword [rsp + 0x74], ebp
mov dword [rsp + 0xa0], ebp
mov dword [rsp + 0x80], ebp
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xe0], r13
cmp dword [rcx + 0x4c], ebp
jne 0x180050504
cmp byte [r13 + 0x50], bpl
jne 0x180050504
mov qword [r11 - 0x38], r15
call fcn.18004f5e0
mov r15, rax
test rax, rax
je 0x1800504fc
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 0x18004f978
mov rdx, r15
mov rcx, r14
call fcn.18006e3e0
mov rdx, rax
mov rcx, rdx
test rdx, rdx
je 0x18004f995
cmp byte [rcx + 0x10], 0x6d
jne 0x18004f98c
movzx eax, byte [rcx + 0x11]
or ebx, eax
mov rcx, qword [rcx + 0x40]
test rcx, rcx
jne 0x18004f980
test ebx, ebx
mov rdi, rbp
mov rbx, qword [r15 + 0x18]
mov rcx, r14
cmovne rdi, rdx
mov qword [rsp + 0xb0], rbx
mov rdx, r15
mov qword [rsp + 0xc0], rdi
call fcn.180049da0
test eax, eax
jne 0x1800504ec
mov r8d, ebp
test rdi, rdi
mov rdx, r15
mov rcx, r14
setne r8b
call fcn.18004f6a0
test eax, eax
jne 0x1800504ec
mov rdx, qword [r15 + 0x70]
mov edi, 0xfff0bdc0
mov qword [rsp + 0x140], r12
test rdx, rdx
je 0x18004fa1f
mov ecx, dword [r13 + 0x28]
mov edi, ebp
test ecx, ecx
jle 0x18004fa1f
mov rax, qword [r13 + 0x20]
add rax, 0x18
nop word [rax + rax]
cmp qword [rax], rdx
je 0x18004fa1f
inc edi
add rax, 0x20
cmp edi, ecx
jl 0x18004fa10
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.180045de0
mov dword [rsp + 0x60], eax
cmp eax, 1
je 0x1800504e4
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 + 0x54], eax
mov rax, qword [r15 + 0x10]
mov dword [rsp + 0x7c], edx
test rax, rax
je 0x18004fa95
nop word [rax + rax]
inc ecx
inc edx
mov dword [r14 + 0x50], ecx
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x18004fa80
mov dword [rsp + 0x7c], edx
test rbx, rbx
je 0x18004fabb
mov rax, qword [r14 + 0x230]
mov qword [rsp + 0xd0], rax
mov rax, qword [r15]
mov qword [r14 + 0x230], rax
mov qword [rsp + 0xc8], r14
mov rsi, qword [r14 + 0x10]
test rsi, rsi
jne 0x18004fb14
mov rcx, r14
call fcn.180026a30
mov qword [r14 + 0x10], rax
mov rsi, rax
test rax, rax
je 0x18004faf3
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026b90
cmp qword [r14 + 0x1c0], 0
jne 0x18004fb0b
mov rax, qword [r14]
test byte [rax + 0x4c], 8
jne 0x18004fb0b
mov byte [r14 + 0x23], 1
test rsi, rsi
je 0x1800504c0
cmp byte [r14 + 0x1e], 0
jne 0x18004fb22
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 0x18004fb69
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 0x18004fb69
mov rcx, rbx
call fcn.18004d5f0
mov eax, dword [rbx + 0x168]
or byte [rbx + 0x20], 1
bts eax, edi
cmp qword [rsp + 0xb0], 0
mov dword [rbx + 0x168], eax
je 0x18004fbb5
mov ebx, dword [rsp + 0x54]
mov rdx, r15
mov r8, qword [rsp + 0x90]
mov r9d, ebx
mov rcx, r14
call fcn.18004f740
mov dword [rsp + 0xa4], ebx
mov dword [rsp + 0x84], ebx
mov dword [rsp + 0x5c], ebx
jmp 0x18004fbc3
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0xa8]
lea rcx, [rsp + 0xf0]
mov rbx, qword [rsp + 0x90]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rsp + 0xf0], r14
xor r12d, r12d
mov qword [rsp + 0xf8], rax
mov rdx, rbx
mov qword [rsp + 0x120], r12
movdqu xmmword [rsp + 0x100], xmm0
movdqu xmmword [rsp + 0x110], xmm1
call fcn.18003a520
test eax, eax
jne 0x1800504c0
test byte [r13 + 0x2c], 0x80
je 0x18004fc49
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], r12d
call fcn.180026b90
jmp 0x18004fc4d
mov ebp, dword [rsp + 0x78]
mov eax, 1
cmp dword [rsp + 0x60], r12d
jne 0x18004fd48
test rbx, rbx
jne 0x18004fd48
cmp qword [rsp + 0xc0], r12
jne 0x18004fd48
test byte [r15 + 0x48], 0x10
jne 0x18004fd48
mov rax, qword [r14]
mov rbx, qword [r15]
test dword [rax + 0x2c], 0x80000
je 0x18004fcbc
mov rcx, qword [r15 + 0x70]
lea r8, [rsp + 0x60]
add rcx, 0x50
mov rdx, rbx
call fcn.18000a940
test rax, rax
je 0x18004fcb2
cmp qword [rax + 0x10], r12
jne 0x18004fd3b
cmp qword [r15 + 0x20], r12
jne 0x18004fd3b
mov r8d, dword [r15 + 0x3c]
mov r9b, 1
mov edx, edi
mov qword [rsp + 0x20], rbx
mov rcx, r14
call fcn.180045ea0
test byte [r15 + 0x48], 0x20
jne 0x18004fd07
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.180026b90
mov r9d, 0xfffffffe
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180027170
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x180050442
mov r8d, dword [rbx + 0x58]
mov r9d, edi
mov edx, 0x76
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.180026b90
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18004fd14
jmp 0x180050442
mov rbx, qword [rsp + 0x90]
mov eax, 1
test byte [r15 + 0x48], 0x20
jne 0x18004fd85
inc dword [r14 + 0x54]
xor r8d, r8d
mov rbp, r12
mov word [rsp + 0x58], ax
movzx r12d, ax
mov dword [rsp + 0x20], ebp
mov eax, dword [r14 + 0x54]
mov rcx, rsi
lea edx, [r8 + 0x1c]
mov dword [rsp + 0x88], eax
mov r9d, eax
call fcn.180026b90
jmp 0x18004fe1b
mov rbp, qword [r15 + 0x10]
test rbp, rbp
je 0x18004fda2
nop
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
je 0x18004fda2
mov rbp, qword [rbp + 0x28]
test rbp, rbp
jne 0x18004fd90
movsx r12d, word [rbp + 0x5e]
mov edx, 0x39
mov eax, dword [r14 + 0x54]
mov r9d, r12d
mov word [rsp + 0x58], r12w
mov dword [rsp + 0x20], 0
lea ecx, [rax + 1]
add eax, r12d
mov dword [rsp + 0x6c], ecx
mov ecx, dword [r14 + 0x50]
mov r8d, ecx
mov dword [r14 + 0x54], eax
mov dword [rsp + 0x70], ecx
lea eax, [rcx + 1]
mov rcx, rsi
mov dword [r14 + 0x50], eax
call fcn.180026b90
mov rbx, qword [r14 + 0x10]
mov rdx, rbp
mov rcx, r14
mov dword [rsp + 0x80], eax
call fcn.18004e3b0
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbx
lea r9d, [rdx - 5]
call fcn.180027170
mov rbx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x54]
mov ecx, 0xc
mov rdx, qword [rsp + 0xa8]
inc eax
mov dword [rsp + 0x30], eax
xor r9d, r9d
mov word [rsp + 0x28], cx
mov r8, rbx
mov rcx, r14
mov qword [rsp + 0x20], 0
call fcn.18007d9f0
mov qword [rsp + 0xb8], rax
mov rdi, rax
test rax, rax
je 0x1800504c0
test byte [r13 + 0x2c], 0x80
mov rbx, qword [rax + 0x4c]
movzx eax, byte [rax + 0x36]
mov byte [rsp + 0x50], al
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe8], rbx
je 0x18004fea4
mov r8d, dword [rsp + 0x78]
mov r9d, 1
mov rcx, rsi
mov dword [rsp + 0x20], 0
lea edx, [r9 + 0x24]
call fcn.180026b90
test rbp, rbp
je 0x18004ff07
movsx rax, r12w
test rax, rax
jle 0x18004ff00
mov r12d, dword [rsp + 0x6c]
xor edi, edi
mov r13d, dword [rsp + 0x54]
mov rbx, rax
mov rax, qword [rbp + 8]
mov r8d, r13d
mov rdx, r15
mov dword [rsp + 0x20], r12d
mov rcx, rsi
movsx r9d, word [rax + rdi*2]
call fcn.18003e800
inc r12d
inc rdi
cmp rdi, rbx
jl 0x18004fec1
mov rbx, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xb8]
mov r12d, dword [rsp + 0x6c]
jmp 0x18004ff39
mov eax, dword [r14 + 0x54]
mov r8d, 0xffffffff
mov r9d, dword [rsp + 0x54]
inc eax
mov byte [rsp + 0x28], 0
mov rdx, r15
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.18003e8e0
mov r12d, eax
cmp eax, dword [r14 + 0x54]
jle 0x18004ff39
mov dword [r14 + 0x54], eax
cmp byte [rsp + 0x50], 0
je 0x180050039
movzx eax, word [rsp + 0x58]
mov rcx, r13
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x7c]
add eax, 2
movsxd rdx, eax
call fcn.1800069a0
mov qword [rsp + 0x98], rax
mov rcx, rax
test rax, rax
jne 0x18004ff7c
mov rcx, rdi
call fcn.18007e600
jmp 0x1800504c0
movsxd rdi, dword [rsp + 0x7c]
mov edx, 1
lea eax, [rdi + 1]
movsxd r8, eax
call fcn.1800d33c0
mov ecx, dword [rsp + 0x54]
mov rax, rdi
mov rdi, qword [rsp + 0x98]
mov byte [rax + rdi + 1], 0
test ebx, ebx
js 0x18004ffb2
sub ebx, ecx
movsxd rax, ebx
mov byte [rax + rdi], 0
mov eax, dword [rsp + 0xec]
test eax, eax
js 0x18004ffc5
sub eax, ecx
cdqe
mov byte [rax + rdi], 0
movsxd rax, dword [rsp + 0x80]
test eax, eax
je 0x180050013
cmp eax, dword [rsi + 0x3c]
jge 0x180050013
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.180026eb0
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 + 0x80], eax
jne 0x180050013
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.180026b90
mov dword [rsp + 0xa0], eax
jmp 0x1800500c7
mov rcx, rsi
test rbp, rbp
je 0x18005009a
inc dword [r14 + 0x54]
mov rdx, rbp
mov r12d, dword [r14 + 0x54]
mov dword [rsp + 0x60], 0
call fcn.180057f10
movsx ebx, word [rsp + 0x58]
mov edx, 0x31
mov r8d, dword [rsp + 0x6c]
mov r9d, ebx
mov rcx, rsi
mov dword [rsp + 0x20], r12d
mov rdi, rax
call fcn.180026b90
mov r9d, ebx
mov r8, rdi
mov edx, eax
mov rcx, rsi
call fcn.180027170
mov r8d, dword [rsp + 0x70]
mov edx, 0x6e
mov rcx, rsi
jmp 0x1800500af
mov r8d, dword [rsp + 0x88]
mov eax, 1
mov word [rsp + 0x60], ax
lea edx, [rax + 0x7f]
mov r9d, r12d
mov dword [rsp + 0x20], 0
call fcn.180026b90
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xb8]
call fcn.18007e600
cmp byte [rsp + 0x50], 0
je 0x18005017c
mov rbx, qword [rsi + 0x30]
mov edx, dword [rbx + 0x78]
mov dword [rsp + 0x68], edx
lea eax, [rdx + 1]
mov dword [rbx + 0x78], eax
lea eax, [rdx - 1]
test edx, eax
jne 0x18005011f
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180006b50
mov edx, dword [rsp + 0x68]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x180050135
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.180026b90
mov eax, dword [rsp + 0xa0]
mov edx, dword [rsi + 0x3c]
cmp edx, eax
jbe 0x180050172
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]
mov dword [rax + 0x64], ecx
cmp qword [rsp + 0xb0], 0
mov ebx, dword [rsp + 0x54]
jne 0x1800501c4
lea rax, [rsp + 0x84]
mov r9d, ebx
mov qword [rsp + 0x30], rax
mov r8d, 0x37
lea rax, [rsp + 0x5c]
mov rdx, r15
mov qword [rsp + 0x28], rax
mov rcx, r14
mov qword [rsp + 0x20], rdi
call fcn.18005b670
mov edi, dword [rsp + 0x84]
jmp 0x1800501cb
mov edi, dword [rsp + 0xa4]
movzx edx, byte [rsp + 0x50]
test dl, dl
je 0x18005022e
mov r8d, dword [rsp + 0x5c]
mov eax, r8d
mov rcx, qword [rsp + 0x98]
sub eax, ebx
cdqe
cmp byte [rax + rcx], 0
je 0x180050294
mov r9d, dword [rsp + 0x68]
mov edx, 0x44
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.180026b90
movsxd rbx, dword [rsp + 0x60]
mov r9d, 0xfffffff2
movsx r8, bx
mov edx, eax
mov rcx, rsi
call fcn.180027170
movzx edx, byte [rsp + 0x50]
mov r8d, dword [rsp + 0x5c]
jmp 0x180050298
xor r9d, r9d
mov rcx, rsi
test rbp, rbp
je 0x18005026f
mov r8d, dword [rsp + 0x70]
lea edx, [r9 + 0x6c]
mov dword [rsp + 0x20], r9d
call fcn.180026b90
mov r8d, dword [rsp + 0x70]
mov r9d, r12d
mov edx, 0x65
mov dword [rsp + 0x74], eax
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.180026b90
jmp 0x18005028a
mov r8d, dword [rsp + 0x88]
mov edx, 0x81
mov dword [rsp + 0x20], r12d
call fcn.180026b90
mov dword [rsp + 0x74], eax
mov r8d, dword [rsp + 0x5c]
movzx edx, byte [rsp + 0x50]
mov ebx, dword [rsp + 0x60]
test byte [r15 + 0x48], 0x10
je 0x18005031b
mov rbx, qword [r15 + 0x60]
test rbx, rbx
je 0x1800502b6
cmp qword [rbx], r13
je 0x1800502b6
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800502a8
mov rdx, r15
mov rcx, r14
call fcn.180074410
mov r9d, 1
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0xe]
call fcn.180026b90
mov r9d, 0xfffffff6
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180027170
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x180050304
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 0x180050354
cmp byte [r14 + 0x1e], 0
mov r9d, r8d
mov r8, qword [rsp + 0xc0]
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], r12d
mov dword [rsp + 0x20], edi
call fcn.1800505b0
cmp byte [rsp + 0x50], 0
je 0x18005038c
mov eax, dword [rsp + 0x68]
mov r8, qword [rsi + 0x30]
not eax
test eax, eax
js 0x18005037e
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x18005037e
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
xor r12d, r12d
jmp 0x1800503df
mov ebx, dword [rsp + 0x74]
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
test rbp, rbp
je 0x1800503b0
mov r8d, dword [rsp + 0x70]
lea r9d, [rbx + 1]
lea edx, [r12 + 9]
jmp 0x1800503ba
xor r8d, r8d
mov r9d, ebx
lea edx, [r8 + 0x10]
call fcn.180026b90
mov edx, dword [rsi + 0x3c]
cmp edx, ebx
jbe 0x1800503d5
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 + 0xb0], 0
jne 0x180050442
test byte [r15 + 0x48], 0x10
jne 0x180050442
test rbp, rbp
jne 0x18005040e
mov r8d, dword [rsp + 0x5c]
lea edx, [rbp + 0x3d]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.180026b90
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x180050442
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, edi
mov rcx, rsi
lea edx, [r9 + 0x3d]
call fcn.180026b90
mov rbx, qword [rbx + 0x28]
inc edi
test rbx, rbx
jne 0x180050420
cmp byte [r14 + 0x1e], 0
jne 0x18005045b
cmp qword [r14 + 0x1c8], 0
jne 0x18005045b
mov rcx, r14
call fcn.180058450
test byte [r13 + 0x2c], 0x80
je 0x1800504c0
cmp byte [r14 + 0x1e], 0
jne 0x1800504c0
cmp qword [r14 + 0x1c8], 0
jne 0x1800504c0
mov r8d, dword [rsp + 0x78]
mov ebx, 1
mov r9d, ebx
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [rbx + 0x22]
call fcn.180026b90
mov edx, ebx
mov rcx, rsi
call fcn.180028500
mov rax, qword [rsi]
cmp byte [rax + 0x50], 0
jne 0x1800504c0
mov rcx, qword [rsi + 0x20]
lea r8d, [rbx - 2]
movzx r9d, bl
mov qword [rsp + 0x20], r12
lea rdx, str.rows_deleted
call fcn.180025f80
mov rax, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xa8]
test rax, rax
je 0x1800504e4
mov rcx, qword [rsp + 0xd0]
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.18004d050
mov rdx, qword [rsp + 0x90]
mov rcx, r13
call fcn.18003b840
mov rcx, qword [rsp + 0x98]
mov r14, qword [rsp + 0x138]
mov rsi, qword [rsp + 0x150]
mov rbp, qword [rsp + 0x158]
test rcx, rcx
je 0x180050591
test r13, r13
je 0x18005058c
cmp qword [r13 + 0x320], 0
je 0x180050560
mov rdx, rcx
mov rcx, r13
call fcn.180006650
jmp 0x180050591
cmp rcx, qword [r13 + 0x168]
jb 0x18005058c
cmp rcx, qword [r13 + 0x170]
jae 0x18005058c
mov rax, qword [r13 + 0x160]
mov qword [rcx], rax
dec dword [r13 + 0x14c]
mov qword [r13 + 0x160], rcx
jmp 0x180050591
call fcn.1800065a0
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1800cfc90
add rsp, 0x160
pop r13
ret