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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push r15
sub rsp, 0x180
mov qword [rax - 0x10], rbx
mov r15, rcx
mov qword [rax - 0x18], rbp
mov ecx, 0xffffffff
mov qword [rax - 0x20], rsi
xorps xmm0, xmm0
xor esi, esi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r12
mov rdi, r8
mov qword [rax - 0x38], r13
mov r13b, 1
mov qword [rax - 0x40], r14
mov dword [rsp + 0x6c], esi
mov dword [rax - 0xd4], esi
xor eax, eax
mov rbx, qword [r15]
mov dword [rsp + 0x94], esi
mov dword [rsp + 0x90], ecx
mov dword [rsp + 0x70], esi
mov dword [rsp + 0xbc], esi
mov dword [rsp + 0xb8], esi
mov byte [rsp + 0x190], sil
mov qword [rsp + 0xa0], rsi
mov dword [rsp + 0xb0], esi
mov dword [rsp + 0xc0], esi
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xc8], rbx
movups xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0xf8], rax
cmp dword [r15 + 0x4c], eax
jne 0x180058a24
cmp byte [rbx + 0x50], al
jne 0x180058a24
test r8, r8
je 0x1800583fc
test byte [r8 + 0xa], 0x80
je 0x1800583fc
cmp qword [r8 + 0x50], rax
jne 0x1800583fc
mov rax, qword [r8]
mov rdx, r8
mov rcx, rbx
mov qword [rsp + 0xa0], rax
mov qword [r8], rsi
call fcn.1800645b0
mov edi, esi
mov qword [rsp + 0x1a0], rsi
mov rdx, qword [rsp + 0x198]
cmp qword [rdx + 0x18], rsi
je 0x180058a24
mov rcx, r15
call fcn.18004ef70
mov qword [rsp + 0x80], rax
mov r12, rax
test rax, rax
je 0x180058a24
mov rdx, qword [rax + 0x70]
mov r14d, 0xfff0bdc0
mov dword [rsp + 0x98], r14d
mov dword [rsp + 0x74], r14d
test rdx, rdx
je 0x180058476
mov ecx, dword [rbx + 0x28]
mov r14d, esi
mov dword [rsp + 0x74], esi
test ecx, ecx
jle 0x180058476
mov rax, qword [rbx + 0x20]
add rax, 0x18
nop dword [rax]
cmp qword [rax], rdx
je 0x180058471
inc r14d
add rax, 0x20
cmp r14d, ecx
jl 0x180058460
mov dword [rsp + 0x74], r14d
mov rax, qword [rbx + 0x20]
xor r9d, r9d
mov r8, qword [r12]
movsxd rbp, r14d
mov rsi, rbp
shl rsi, 5
lea edx, [r9 + 0x12]
mov rcx, qword [rsi + rax]
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.180045640
test eax, eax
jne 0x180058a24
movzx eax, byte [r12 + 0x48]
xor r8d, r8d
mov byte [rsp + 0x68], al
mov ebx, r8d
mov rax, qword [r15]
mov edx, r8d
mov dword [rsp + 0x78], ebx
test dword [rax + 0x2c], 0x800000
je 0x1800584dc
mov rdx, r12
mov rcx, r15
call fcn.18006e770
mov rdx, rax
xor r8d, r8d
mov rcx, rdx
test rdx, rdx
je 0x1800584fd
cmp byte [rcx + 0x10], 0x6c
jne 0x1800584f0
movzx eax, byte [rcx + 0x11]
or ebx, eax
mov rcx, qword [rcx + 0x40]
test rcx, rcx
jne 0x1800584e4
mov dword [rsp + 0x78], ebx
mov rax, r8
test ebx, ebx
mov rcx, r15
cmovne rax, rdx
mov rdx, r12
mov qword [rsp + 0xd0], rax
mov rax, qword [r12 + 0x18]
mov qword [rsp + 0xd8], rax
call fcn.180049660
test eax, eax
jne 0x180058a24
mov r8d, ebx
mov rdx, r12
mov rcx, r15
call fcn.18004f030
test eax, eax
jne 0x180058a24
mov rcx, qword [r15 + 0x10]
mov qword [rsp + 0x88], rcx
test rcx, rcx
jne 0x1800585af
mov rcx, r15
call fcn.180025fc0
mov qword [rsp + 0x88], rax
mov rcx, rax
mov qword [r15 + 0x10], rax
test rax, rax
je 0x18005858f
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov edx, 0x99
call fcn.180026120
mov rcx, qword [rsp + 0x88]
cmp qword [r15 + 0x1c0], 0
jne 0x1800585a6
mov rax, qword [r15]
test byte [rax + 0x4c], 8
jne 0x1800585a6
mov byte [r15 + 0x23], r13b
test rcx, rcx
je 0x180058a24
cmp byte [r15 + 0x1e], 0
jne 0x1800585bd
or dword [rcx + 0x8c], 0x10
test rdi, rdi
jne 0x1800585cc
cmp qword [rsp + 0xd0], rdi
je 0x1800585d0
movzx edi, r13b
mov rax, qword [r15 + 0x1c0]
mov rbx, r15
test rax, rax
cmovne rbx, rax
mov eax, dword [rbx + 0x16c]
bt eax, r14d
jb 0x18005861a
bts eax, r14d
mov dword [rbx + 0x16c], eax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + rsi + 0x18]
mov ecx, dword [rax]
mov dword [rbx + rbp*4 + 0x170], ecx
cmp r14d, 1
jne 0x18005861a
mov rcx, rbx
call fcn.18004cf80
mov eax, dword [rbx + 0x168]
or byte [rbx + 0x20], dil
bts eax, r14d
mov dword [rbx + 0x168], eax
mov rbx, qword [rsp + 0x1a8]
test rbx, rbx
jne 0x180058663
mov r9d, dword [rsp + 0x1b0]
mov rdx, r12
mov r8, qword [rsp + 0x1a0]
mov rcx, r15
mov dword [rsp + 0x20], r14d
call fcn.18005b870
test eax, eax
jne 0x180059f1f
mov r8, r12
mov edx, r14d
mov rcx, r15
call fcn.180057d70
mov ecx, dword [r15 + 0x54]
mov dword [rsp + 0xac], eax
movsx eax, word [r12 + 0x42]
inc eax
lea r8d, [rcx + 1]
add eax, ecx
mov edx, r8d
mov dword [r15 + 0x54], eax
test byte [r12 + 0x48], 0x10
mov dword [rsp + 0x64], edx
mov dword [rsp + 0xa8], r8d
je 0x1800586b3
lea edx, [r8 + 1]
inc eax
mov dword [rsp + 0x64], edx
mov dword [r15 + 0x54], eax
mov r8, qword [rsp + 0x1a8]
lea eax, [rdx + 1]
xor r10d, r10d
mov dword [rsp + 0x60], eax
test r8, r8
je 0x180058861
mov eax, dword [r8 + 8]
mov edx, r10d
test eax, eax
jle 0x1800586f9
mov ecx, r10d
nop dword [rax]
mov rax, qword [r8]
lea rcx, [rcx + 0x10]
inc edx
mov dword [rcx + rax - 8], 0xffffffff
mov eax, dword [r8 + 8]
cmp edx, eax
jl 0x1800586e0
mov ebp, r10d
test eax, eax
jle 0x180058861
movzx ebx, word [r12 + 0x42]
lea r9, [0x1801103d0]
mov r12, r10
nop dword [rax]
nop dword [rax + rax]
mov edi, r10d
mov r11, r10
cmp r10w, bx
jge 0x1800587f9
mov r14, qword [r8]
mov r10, qword [rsp + 0x80]
movsx rbx, bx
mov rsi, qword [r14 + r12]
mov r10, qword [r10 + 8]
nop word [rax + rax]
movzx r8d, byte [rsi]
mov rdx, qword [r10]
test r8b, r8b
je 0x18005879f
mov r9, rsi
movzx eax, r8b
sub r9, rdx
lea rsi, [0x1801103d0]
nop dword [rax]
movzx ecx, al
movzx r8d, al
movzx eax, byte [rdx]
movzx eax, byte [rax + rsi]
cmp byte [rcx + rsi], al
jne 0x180058794
movzx eax, byte [r9 + rdx + 1]
inc rdx
movzx r8d, al
test al, al
jne 0x180058770
mov rsi, qword [r14 + r12]
lea r9, [0x1801103d0]
movzx eax, r8b
movzx ecx, byte [rax + r9]
movzx eax, byte [rdx]
movzx eax, byte [rax + r9]
cmp ecx, eax
je 0x1800587c4
inc edi
inc r11
add r10, 0x30
cmp r11, rbx
jl 0x180058750
jmp 0x1800587f1
xor edx, edx
movzx eax, r13b
cmp ebp, edi
mov dword [r14 + r12 + 8], edi
mov ecx, edx
cmove ecx, eax
mov rax, qword [rsp + 0x80]
movzx r13d, cl
movsx eax, word [rax + 0x40]
cmp edi, eax
jne 0x1800587f1
mov dword [rsp + 0x90], ebp
mov r8, qword [rsp + 0x1a8]
mov rax, qword [rsp + 0x80]
movsx ebx, word [rax + 0x42]
cmp edi, ebx
jl 0x180058841
mov rdi, qword [r8]
mov rcx, qword [r12 + rdi]
call fcn.18003bf20
test eax, eax
je 0x1800589f7
test byte [rsp + 0x68], 0x20
jne 0x1800589f7
mov r8, qword [rsp + 0x1a8]
lea r9, [0x1801103d0]
mov dword [rsp + 0x90], ebp
xor r13b, r13b
inc ebp
add r12, 0x10
xor r10d, r10d
cmp ebp, dword [r8 + 8]
jl 0x180058720
mov r14d, dword [rsp + 0x74]
mov r12, qword [rsp + 0x80]
cmp qword [rsp + 0x1a0], 0
lea rsi, [0x180129db0]
je 0x180058cfc
inc dword [r15 + 0x54]
xor r9d, r9d
mov rbp, qword [rsp + 0x88]
mov edi, dword [r15 + 0x54]
mov rcx, rbp
mov r8d, edi
lea edx, [r9 + 0x14]
mov ebx, dword [rbp + 0x3c]
inc ebx
mov dword [rsp + 0x20], ebx
call fcn.180026120
xor edx, edx
mov word [rsp + 0xe8], 0xd
mov eax, edx
mov dword [rsp + 0xec], edi
test r13b, r13b
lea r8, [rsp + 0xe8]
mov r13, qword [rsp + 0x1a0]
mov rcx, r15
cmovne eax, dword [rsp + 0x60]
mov rdx, r13
mov dword [rsp + 0xf0], eax
movsx eax, word [r12 + 0x42]
mov dword [rsp + 0xf4], eax
call fcn.18006c3a0
mov ecx, dword [rsp + 0xf0]
mov dword [rsp + 0xb0], ecx
test eax, eax
jne 0x180058a24
mov rax, qword [rsp + 0xc8]
cmp byte [rax + 0x50], 0
jne 0x180058a24
xor eax, eax
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], eax
mov rcx, rbp
lea edx, [rax + 0x15]
call fcn.180026120
mov edx, dword [rbp + 0x3c]
dec ebx
cmp edx, ebx
jbe 0x180058945
mov rax, qword [rbp + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbp + 0x3c]
cmp qword [rsp + 0xd0], 0
lea ecx, [rdx - 1]
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x64], ecx
mov rax, qword [r13]
mov r13d, dword [rax]
mov dword [rsp + 0x74], r13d
jne 0x180058b68
mov rbx, qword [r15 + 0x10]
test rbx, rbx
jne 0x1800589b8
mov rcx, r15
call fcn.180025fc0
mov qword [r15 + 0x10], rax
mov rbx, rax
test rax, rax
je 0x1800589a0
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov edx, 0x99
mov rcx, rbx
call fcn.180026120
cmp qword [r15 + 0x1c0], 0
jne 0x1800589b8
mov rax, qword [r15]
test byte [rax + 0x4c], 8
jne 0x1800589b8
mov byte [r15 + 0x23], 1
test byte [r12 + 0x48], 0x10
mov r10d, dword [rbx + 0x3c]
je 0x180058ae4
mov rdx, qword [r12 + 0x60]
test rdx, rdx
je 0x180058ae8
mov rax, qword [r15]
nop dword [rax]
cmp qword [rdx], rax
je 0x180058ae8
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x1800589e0
jmp 0x180058ae8
mov r8, qword [rsp + 0x198]
lea rdx, str.table__S_has_no_column_named__s
mov eax, ebp
xor r9d, r9d
add rax, rax
mov rcx, r15
mov rax, qword [rdi + rax*8]
mov qword [rsp + 0x20], rax
call fcn.1800085c0
mov byte [r15 + 0x1d], 1
mov rbx, qword [rsp + 0x1a8]
mov r15, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x198]
mov rcx, r15
call fcn.18004c9e0
mov rdx, qword [rsp + 0xa0]
mov rcx, r15
call fcn.18003bb60
mov rdx, qword [rsp + 0x1a0]
mov rcx, r15
call fcn.1800645b0
mov rdx, rbx
mov rcx, r15
call fcn.18004c3e0
mov rcx, qword [rsp + 0xe0]
mov r14, qword [rsp + 0x148]
mov r13, qword [rsp + 0x150]
mov r12, qword [rsp + 0x158]
mov rdi, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x168]
mov rbp, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x178]
test rcx, rcx
je 0x180059f75
test r15, r15
je 0x180059f70
cmp qword [r15 + 0x320], 0
je 0x180059f3c
mov rdx, rcx
mov rcx, r15
call fcn.180005690
add rsp, 0x180
pop r15
ret
xor eax, eax
mov edx, eax
mov r8d, 1
cmp r10d, r8d
jle 0x180058d99
mov rax, qword [rbx]
movzx r9d, byte [rax + 0x50]
nop
test r9b, r9b
je 0x180058b0a
mov rax, rsi
jmp 0x180058b19
mov eax, r8d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
movzx ecx, byte [rax]
cmp cl, 0x36
jne 0x180058b50
cmp dword [rax + 0xc], r14d
jne 0x180058b5b
mov ecx, dword [rax + 8]
cmp ecx, dword [r12 + 0x3c]
je 0x180058b68
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x180058b5b
nop dword [rax + rax]
cmp ecx, dword [rax + 0x58]
je 0x180058b68
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x180058b40
jmp 0x180058b5b
cmp cl, 0x93
jne 0x180058b5b
cmp qword [rax + 0x10], rdx
je 0x180058b68
inc r8d
cmp r8d, r10d
jl 0x180058b00
jmp 0x180058d99
mov r14d, dword [r15 + 0x50]
mov byte [rsp + 0x190], 1
mov dword [rsp + 0x70], r14d
lea eax, [r14 + 1]
mov dword [r15 + 0x50], eax
movzx eax, byte [r15 + 0x1f]
test al, al
jne 0x180058b9c
inc dword [r15 + 0x54]
mov ebx, dword [r15 + 0x54]
inc dword [r15 + 0x54]
mov edi, dword [r15 + 0x54]
jmp 0x180058bc6
dec al
movzx eax, al
mov byte [r15 + 0x1f], al
mov ebx, dword [r15 + rax*4 + 0x24]
test al, al
jne 0x180058bb8
inc dword [r15 + 0x54]
mov edi, dword [r15 + 0x54]
jmp 0x180058bc6
dec al
movzx eax, al
mov byte [r15 + 0x1f], al
mov edi, dword [r15 + rax*4 + 0x24]
xor esi, esi
mov r9d, r13d
mov r8d, r14d
mov dword [rsp + 0x20], esi
mov rcx, rbp
lea edx, [rsi + 0x39]
call fcn.180026120
mov r8d, dword [rsp + 0xec]
lea edx, [rsi + 0x16]
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov rcx, rbp
call fcn.180026120
mov r8d, dword [rsp + 0xb0]
mov r9d, r13d
mov edx, 0x31
mov esi, eax
mov rcx, rbp
mov dword [rsp + 0x20], ebx
call fcn.180026120
xor eax, eax
mov r9d, edi
mov r8d, r14d
mov dword [rsp + 0x20], eax
mov rcx, rbp
lea edx, [rax + 0x4a]
call fcn.180026120
mov r9d, ebx
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov edx, 0x4b
mov rcx, rbp
call fcn.180026120
xor r14d, r14d
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov rcx, rbp
lea edx, [r14 + 0x10]
call fcn.180026120
mov edx, dword [rbp + 0x3c]
cmp edx, esi
jbe 0x180058c73
mov rax, qword [rbp + 8]
lea rcx, [rsi + rsi*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbp + 0x3c]
mov rax, qword [rbp + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test ebx, ebx
je 0x180058cb4
movzx edx, byte [r15 + 0x1f]
cmp dl, 8
jae 0x180058cb4
mov ecx, r14d
lea rax, [r15 + 0x88]
cmp dword [rax + 0xc], ebx
je 0x180058cb0
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180058c95
mov dword [r15 + rdx*4 + 0x24], ebx
inc byte [r15 + 0x1f]
jmp 0x180058cb4
mov byte [rax + 6], 1
xor ebx, ebx
test edi, edi
je 0x180058d9b
movzx edx, byte [r15 + 0x1f]
cmp dl, 8
jae 0x180058d9b
mov ecx, ebx
lea rax, [r15 + 0x88]
cmp dword [rax + 0xc], edi
je 0x180058cf3
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180058cd5
mov dword [r15 + rdx*4 + 0x24], edi
inc byte [r15 + 0x1f]
jmp 0x180058d9b
mov byte [rax + 6], 1
jmp 0x180058d9b
mov rax, qword [rsp + 0xa0]
xorps xmm0, xmm0
mov qword [rsp + 0x100], r15
xorps xmm1, xmm1
mov dword [rsp + 0x70], 0xffffffff
movdqu xmmword [rsp + 0x108], xmm0
movdqu xmmword [rsp + 0x118], xmm1
movdqu xmmword [rsp + 0x128], xmm0
test rax, rax
je 0x180058d3f
mov r13d, dword [rax]
jmp 0x180058d42
mov r13d, r10d
mov dword [rsp + 0x74], r13d
movsxd rsi, r13d
test r13d, r13d
jle 0x180058d91
mov rdi, r10
mov rbx, r10
nop word [rax + rax]
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0x100]
mov rdx, qword [rbx + rdx]
call fcn.180039c50
test eax, eax
jne 0x180058a24
mov rax, qword [rsp + 0xa0]
inc rdi
add rbx, 0x28
cmp rdi, rsi
jl 0x180058d60
mov rbp, qword [rsp + 0x88]
xor ebx, ebx
mov rax, qword [rsp + 0x1a8]
test rax, rax
jne 0x180058dba
test r13d, r13d
jle 0x180058dba
movsx ecx, word [r12 + 0x40]
mov dword [rsp + 0x90], ecx
test byte [r12 + 0x48], 0x10
je 0x180058e73
movsx r10, word [r12 + 0x42]
mov r8d, ebx
mov r9d, ebx
mov r11, rbx
cmp r10, 2
jl 0x180058e40
mov rbx, qword [r12 + 8]
lea rdx, [r10 - 2]
shr rdx, 1
inc rdx
lea rcx, [rbx + 0x5b]
lea r11, [rdx + rdx]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx - 0x30]
lea rcx, [rcx + 0x60]
shr eax, 1
and eax, 1
add r8d, eax
movzx eax, byte [rcx - 0x60]
shr eax, 1
and eax, 1
add r9d, eax
sub rdx, 1
jne 0x180058e00
cmp r11, r10
jl 0x180058e50
xor ebx, ebx
mov ecx, dword [rsp + 0x94]
lea eax, [r8 + r9]
add ecx, eax
mov rax, qword [rsp + 0x1a8]
jmp 0x180058e7a
test r10, r10
jle 0x180058e29
mov rbx, qword [r12 + 8]
nop word [rax + rax]
lea rax, [r11 + r11*2]
add rax, rax
movzx ecx, byte [rbx + rax*8 + 0x2b]
lea eax, [r8 + r9]
shr ecx, 1
xor ebx, ebx
and ecx, 1
add ecx, eax
mov rax, qword [rsp + 0x1a8]
jmp 0x180058e7a
mov ecx, dword [rsp + 0x94]
test rax, rax
jne 0x180058eb9
test r13d, r13d
je 0x180058ed9
movsx eax, word [r12 + 0x42]
sub eax, ecx
cmp r13d, eax
je 0x180058ed9
mov r8, qword [rsp + 0x198]
lea rdx, str.table__S_has__d_columns_but__d_values_were_supplied
mov dword [rsp + 0x28], r13d
xor r9d, r9d
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.1800085c0
jmp 0x180058a24
mov r9d, dword [rax + 8]
cmp r13d, r9d
je 0x180058ed9
mov r8d, r13d
lea rdx, str._d_values_for__d_columns
mov rcx, r15
call fcn.1800085c0
jmp 0x180058a24
mov rax, qword [rsp + 0xc8]
mov r13d, 0x19
test byte [rax + 0x2c], 0x80
je 0x180058f11
inc dword [r15 + 0x54]
xor r8d, r8d
mov eax, dword [r15 + 0x54]
mov edx, r13d
mov r9d, eax
mov dword [rsp + 0xc0], eax
mov rcx, rbp
mov dword [rsp + 0x20], ebx
call fcn.180026120
cmp qword [rsp + 0xd8], 0
jne 0x180059174
test byte [r12 + 0x48], 0x10
je 0x180058f30
mov r14d, ebx
jmp 0x18005911b
mov rdx, qword [r12 + 0x70]
test rdx, rdx
je 0x180058f7c
mov rax, qword [r15]
mov esi, ebx
mov dword [rsp + 0x98], ebx
movsxd rcx, dword [rax + 0x28]
test ecx, ecx
jle 0x180058f81
mov rax, qword [rax + 0x20]
mov r8, rcx
add rax, 0x18
mov rcx, rbx
nop dword [rax]
cmp qword [rax], rdx
je 0x180058f73
inc esi
inc rcx
add rax, 0x20
cmp rcx, r8
jl 0x180058f60
mov dword [rsp + 0x98], esi
jmp 0x180058f81
mov esi, 0xfff0bdc0
mov r12, qword [r15 + 0x10]
test r12, r12
jne 0x180058fcd
mov rcx, r15
call fcn.180025fc0
mov qword [r15 + 0x10], rax
mov r12, rax
test rax, rax
je 0x180058fb5
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026120
cmp qword [r15 + 0x1c0], 0
jne 0x180058fcd
mov rax, qword [r15]
test byte [rax + 0x4c], 8
jne 0x180058fcd
mov byte [r15 + 0x23], 1
mov ebp, dword [r15 + 0x50]
mov rcx, r15
mov rbx, qword [rsp + 0x80]
mov eax, ebp
inc ebp
mov dword [rsp + 0x6c], eax
test byte [rbx + 0x48], 0x20
jne 0x180059001
mov r9, rbx
mov dword [rsp + 0x20], 0x37
mov r8d, esi
mov edx, eax
call fcn.1800579d0
jmp 0x180059017
mov rax, qword [rbx]
mov r9b, 1
mov r8d, dword [rbx + 0x3c]
mov edx, esi
mov qword [rsp + 0x20], rax
call fcn.180045700
mov rdi, qword [rbx + 0x10]
xor eax, eax
mov dword [rsp + 0xb4], ebp
mov r14d, eax
test rdi, rdi
je 0x180059107
mov r13d, dword [rsp + 0x6c]
nop word [rax + rax]
mov eax, dword [rdi + 0x64]
mov r8d, ebp
and al, 3
inc ebp
cmp al, 2
jne 0x180059056
test byte [rbx + 0x48], 0x20
cmovne r13d, r8d
mov r9d, dword [rdi + 0x58]
mov edx, 0x37
mov rcx, r12
mov dword [rsp + 0x20], esi
call fcn.180026120
mov rbx, qword [r15 + 0x10]
mov rdx, rdi
mov rcx, r15
call fcn.18004dd40
mov r8, qword [rbx + 8]
mov rsi, rax
mov rcx, qword [rbx]
test r8, r8
je 0x1800590d0
cmp byte [rcx + 0x50], 0
jne 0x1800590d0
movsxd rax, dword [rbx + 0x3c]
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 - 0x17]
mov r8, qword [rbx - 8]
call fcn.1800264a0
test rsi, rsi
jne 0x1800590ba
xor eax, eax
mov qword [rbx - 8], rax
mov byte [rbx - 0x17], al
jmp 0x1800590dd
mov qword [rbx - 8], rsi
mov byte [rbx - 0x17], 0xfa
jmp 0x1800590dd
mov r8, rsi
mov edx, 0xfffffffa
call fcn.1800264a0
mov rdi, qword [rdi + 0x28]
inc r14d
mov rbx, qword [rsp + 0x80]
mov esi, dword [rsp + 0x98]
test rdi, rdi
jne 0x180059040
mov dword [rsp + 0x6c], r13d
mov r13d, 0x19
cmp ebp, dword [r15 + 0x50]
jle 0x180059111
mov dword [r15 + 0x50], ebp
mov r12, qword [rsp + 0x80]
xor ebx, ebx
mov rcx, qword [rsp + 0xc8]
lea eax, [r14 + 1]
movsxd rdx, eax
shl rdx, 2
call fcn.1800059e0
mov qword [rsp + 0xe0], rax
mov r8, rax
test rax, rax
je 0x180058a24
movsxd rdx, r14d
test r14d, r14d
jle 0x180059174
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
inc dword [r15 + 0x54]
mov eax, dword [r15 + 0x54]
mov dword [r8 + rcx*4], eax
inc rcx
cmp rcx, rdx
jl 0x180059160
movzx esi, byte [rsp + 0x190]
mov r14, qword [rsp + 0x88]
test sil, sil
je 0x1800591b7
mov ebp, dword [rsp + 0x70]
xor r9d, r9d
mov r8d, ebp
mov dword [rsp + 0x20], ebx
mov rcx, r14
lea edx, [r9 + 0x6c]
call fcn.180026120
mov dword [rsp + 0xbc], eax
mov eax, dword [r14 + 0x3c]
mov dword [rsp + 0xb8], eax
jmp 0x1800591ef
cmp qword [rsp + 0x1a0], 0
je 0x1800591eb
mov r8d, dword [rsp + 0xec]
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x16]
call fcn.180026120
mov dword [rsp + 0xb8], eax
mov dword [rsp + 0xbc], eax
mov ebp, dword [rsp + 0x70]
mov rbx, qword [r14 + 0x30]
mov edx, dword [rbx + 0x78]
mov dword [rsp + 0x94], edx
lea ecx, [rdx + 1]
mov dword [rbx + 0x78], ecx
lea ecx, [rdx - 1]
test edx, ecx
jne 0x180059235
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180005b90
mov edx, dword [rsp + 0x94]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18005924b
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
test byte [rsp + 0x78], 1
mov edi, edx
not edi
mov dword [rsp + 0x98], edi
je 0x18005972c
movsx ecx, word [r12 + 0x42]
mov edx, dword [r15 + 0x44]
inc ecx
mov esi, dword [r15 + 0x48]
mov dword [rsp + 0x78], esi
cmp ecx, edx
jg 0x180059288
lea eax, [rsi + rcx]
sub edx, ecx
mov dword [r15 + 0x48], eax
mov dword [r15 + 0x44], edx
jmp 0x180059299
mov eax, dword [r15 + 0x54]
lea esi, [rax + 1]
add eax, ecx
mov dword [r15 + 0x54], eax
mov dword [rsp + 0x78], esi
movsxd rax, dword [rsp + 0x90]
test eax, eax
jns 0x1800592bd
mov rbp, qword [rsp + 0xa0]
mov r8d, 0xffffffff
mov r9d, esi
xor ebx, ebx
jmp 0x1800593a8
cmp byte [rsp + 0x190], 0
je 0x1800592e8
mov r9d, eax
mov dword [rsp + 0x20], esi
mov r8d, ebp
mov edx, 0x2f
mov rcx, r14
call fcn.180026120
mov rbp, qword [rsp + 0xa0]
jmp 0x180059347
mov rbp, qword [rsp + 0xa0]
lea rcx, [rax + rax*4]
mov rax, qword [rbp + 8]
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x180059319
cmp byte [rdx], 0x9f
jne 0x180059319
mov r8d, dword [rdx + 0x2c]
xor eax, eax
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x21]
jmp 0x18005933f
mov r8d, esi
mov rcx, r15
call fcn.18003e340
cmp eax, esi
je 0x180059347
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x180059347
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x20], edx
mov edx, 0x22
mov r9d, esi
call fcn.180026120
xor eax, eax
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x4d]
call fcn.180026120
mov ebx, eax
mov r9d, esi
xor eax, eax
mov edx, r13d
mov rcx, r14
mov dword [rsp + 0x20], eax
lea r8d, [rax - 1]
call fcn.180026120
mov edx, dword [r14 + 0x3c]
cmp edx, ebx
jbe 0x180059390
mov rax, qword [r14 + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
xor ebx, ebx
mov r13d, 0x26
mov r8d, esi
mov r9d, ebx
mov dword [rax + 0x64], ecx
mov edx, r13d
mov dword [rsp + 0x20], ebx
mov rcx, r14
call fcn.180026120
movzx edx, word [r12 + 0x42]
cmp bx, dx
jge 0x1800595b6
mov r14d, esi
lea edi, [rsi + 1]
not r14d
mov r12, rbx
mov r13, rbx
nop word [rax + rax]
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
jne 0x1800593f6
lea r9d, [rdi + r14]
mov rdx, r12
jmp 0x18005942f
movsxd rax, dword [rcx + 8]
mov r9d, ebx
mov rdx, rbx
test eax, eax
jle 0x18005942f
mov rcx, qword [rcx]
mov r8, rax
add rcx, 8
nop
lea eax, [rdi + r14]
cmp dword [rcx], eax
je 0x180059427
inc r9d
inc rdx
add rcx, 0x10
cmp rdx, r8
jl 0x180059410
mov rcx, qword [rsp + 0x1a8]
movzx r8d, byte [rsp + 0x190]
mov rax, qword [rsp + 0xa0]
test r8b, r8b
jne 0x18005944a
test rax, rax
je 0x180059455
test rcx, rcx
je 0x1800594c7
cmp r9d, dword [rcx + 8]
jl 0x1800594c7
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov rdx, qword [rax + r13 + 8]
test rdx, rdx
je 0x18005948e
cmp byte [rdx], 0x9f
jne 0x18005948e
mov r8d, dword [rdx + 0x2c]
mov r9d, edi
mov rcx, qword [r15 + 0x10]
mov edx, 0x21
mov dword [rsp + 0x20], ebx
call fcn.180026120
jmp 0x180059577
mov r8d, edi
mov rcx, r15
call fcn.18003e340
cmp eax, edi
je 0x180059577
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x180059577
mov r9d, edi
mov dword [rsp + 0x20], ebx
mov r8d, eax
mov edx, 0x22
call fcn.180026120
jmp 0x180059577
test r8b, r8b
je 0x1800594ec
mov r8d, dword [rsp + 0x70]
mov edx, 0x2f
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x20], edi
call fcn.180026120
jmp 0x180059577
mov rax, qword [rax + 8]
lea rcx, [rdx + rdx*4]
mov rbp, qword [r15 + 0x10]
mov rsi, qword [rax + rcx*8]
test rsi, rsi
je 0x180059514
cmp byte [rsi], 0x9f
jne 0x180059514
mov r8d, dword [rsi + 0x2c]
mov edx, 0x21
mov rcx, rbp
jmp 0x180059537
mov r8d, edi
mov rdx, rsi
mov rcx, r15
call fcn.18003e340
cmp eax, edi
je 0x180059543
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x180059543
mov r8d, eax
mov edx, 0x22
mov r9d, edi
mov dword [rsp + 0x20], ebx
call fcn.180026120
inc dword [r15 + 0x54]
xor eax, eax
mov ebx, dword [r15 + 0x54]
mov r8d, edi
mov r9d, ebx
mov dword [rsp + 0x20], eax
mov rcx, rbp
lea edx, [rax + 0x21]
call fcn.180026120
movzx eax, byte [rsi]
and dword [rsi + 4], 0xffffefff
mov dword [rsi + 0x2c], ebx
xor ebx, ebx
mov byte [rsi + 0x36], al
mov byte [rsi], 0x9f
mov rax, qword [rsp + 0x80]
inc edi
inc r12
add r13, 0x30
movsx edx, word [rax + 0x42]
lea ecx, [rdi + r14]
cmp ecx, edx
jl 0x1800593e0
mov esi, dword [rsp + 0x78]
mov r12, rax
mov edi, dword [rsp + 0x98]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xa0]
cmp qword [rsp + 0xd8], 0
jne 0x1800595d6
lea r8d, [rsi + 1]
mov rdx, r12
mov rcx, r14
call fcn.180057c60
movzx edx, word [r12 + 0x42]
movsx eax, dx
mov ecx, esi
mov rdx, qword [rsp + 0xd0]
sub ecx, eax
mov eax, dword [rsp + 0x1b0]
dec ecx
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, r15
mov qword [rsp + 0x28], r12
lea r8d, [r9 + 0x6c]
mov dword [rsp + 0x20], 1
call fcn.1800706a0
movsx r11d, word [r12 + 0x42]
mov edx, esi
inc r11d
mov rcx, r15
mov r8d, r11d
call fcn.18003da70
cmp r11d, dword [r15 + 0x44]
jle 0x18005963a
mov dword [r15 + 0x44], r11d
mov dword [r15 + 0x48], esi
movzx esi, byte [rsp + 0x190]
cmp qword [rsp + 0xd8], 0
jne 0x180059caf
movzx eax, byte [r12 + 0x48]
xor r13d, r13d
test al, 0x10
je 0x180059680
mov r9d, dword [rsp + 0xa8]
lea edx, [r13 + 0x1c]
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov rcx, r14
call fcn.180026120
movzx eax, byte [r12 + 0x48]
movsxd rcx, dword [rsp + 0x90]
test ecx, ecx
js 0x18005984a
test sil, sil
je 0x180059739
mov esi, dword [rsp + 0x64]
mov r9d, ecx
mov r8d, dword [rsp + 0x70]
mov edx, 0x2f
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.180026120
test byte [r12 + 0x48], 0x10
jne 0x180059821
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, esi
mov rcx, r14
lea edx, [r9 + 0x4d]
call fcn.180026120
mov ecx, dword [rsp + 0xac]
mov r9d, esi
mov r8d, dword [rsp + 0x6c]
mov edx, 0x4a
mov dword [rsp + 0x20], ecx
mov rcx, r14
mov ebx, eax
call fcn.180026120
mov edx, dword [r14 + 0x3c]
cmp edx, ebx
jbe 0x180059713
mov rax, qword [r14 + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
xor r9d, r9d
mov r8d, esi
mov dword [rax + 0x64], ecx
lea edx, [r9 + 0x26]
jmp 0x18005988f
mov rbp, qword [rsp + 0xa0]
jmp 0x180059642
cmp qword [rsp + 0x1a0], 0
je 0x180059765
mov r8d, dword [rsp + 0xb0]
mov edx, 0x21
mov esi, dword [rsp + 0x64]
add r8d, ecx
mov dword [rsp + 0x20], r13d
mov r9d, esi
jmp 0x1800596ae
mov rax, qword [rbp + 8]
lea rcx, [rcx + rcx*4]
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x18005978e
cmp byte [rdx], 0x9f
jne 0x18005978e
mov r8d, dword [rdx + 0x2c]
mov edx, 0x21
mov esi, dword [rsp + 0x64]
mov rcx, qword [r15 + 0x10]
jmp 0x1800597b2
mov esi, dword [rsp + 0x64]
mov rcx, r15
mov r8d, esi
call fcn.18003e340
cmp eax, esi
je 0x1800597bf
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x1800597bf
mov r8d, eax
mov edx, 0x22
mov r9d, esi
mov dword [rsp + 0x20], r13d
call fcn.180026120
mov rax, qword [r14]
mov ecx, dword [r14 + 0x3c]
dec ecx
cmp byte [rax + 0x50], 0
je 0x1800597d7
lea rax, [0x180129db0]
jmp 0x1800597ef
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
test rax, rax
je 0x1800596b6
cmp byte [rax], 0x1c
jne 0x1800596b6
test byte [r12 + 0x48], 0x10
jne 0x180059821
mov r8d, dword [rsp + 0x6c]
mov r12d, 1
mov ecx, dword [rsp + 0xac]
mov dword [rax + 4], r8d
mov dword [rax + 0xc], ecx
mov byte [rax], 0x4a
mov dword [rax + 8], esi
jmp 0x18005989f
mov r9d, dword [r14 + 0x3c]
mov r8d, esi
add r9d, 2
mov dword [rsp + 0x20], r13d
mov edx, 0x4c
mov rcx, r14
call fcn.180026120
xor r9d, r9d
mov r8d, esi
lea edx, [r9 + 0x26]
jmp 0x18005988f
test al, 0x10
jne 0x180059881
test byte [rsp + 0x68], 0x20
jne 0x180059881
mov ecx, dword [rsp + 0xac]
mov edx, 0x4a
mov esi, dword [rsp + 0x64]
mov r9d, esi
mov r8d, dword [rsp + 0x6c]
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.180026120
mov r12d, 1
jmp 0x18005989f
mov esi, dword [rsp + 0x64]
xor r8d, r8d
mov r9d, esi
lea edx, [r8 + 0x1c]
mov rcx, r14
mov dword [rsp + 0x20], r13d
call fcn.180026120
mov r12d, r13d
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x64], r12d
test eax, eax
jle 0x1800598c8
mov rcx, qword [r15 + 0x10]
mov r9d, esi
mov r8d, eax
mov dword [rsp + 0x20], r13d
mov edx, 0x88
call fcn.180026120
mov rbx, qword [rsp + 0x80]
xor r10d, r10d
mov r13d, r10d
mov ebp, r10d
cmp r10w, word [rbx + 0x42]
jge 0x180059b34
mov r12d, dword [rsp + 0x74]
mov r14d, r10d
mov r8d, dword [rsp + 0x60]
movsx eax, word [rbx + 0x40]
lea esi, [r8 + rbp]
cmp ebp, eax
jne 0x180059919
mov rcx, qword [rsp + 0x88]
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, esi
lea edx, [r9 + 0x1d]
jmp 0x180059b01
mov r9, qword [rsp + 0x1a8]
test r9, r9
jne 0x18005995c
mov rax, qword [rbx + 8]
movzx edx, byte [rax + r14 + 0x2b]
and dl, 2
je 0x180059948
lea eax, [r13 + 1]
test dl, dl
lea ecx, [r9 - 1]
cmove eax, r13d
mov r13d, eax
jmp 0x18005998b
lea eax, [r13 + 1]
mov ecx, ebp
sub ecx, r13d
test dl, dl
cmove eax, r13d
mov r13d, eax
jmp 0x18005998b
movsxd rax, dword [r9 + 8]
mov ecx, r10d
mov rdx, r10
test eax, eax
jle 0x180059993
mov r8, rax
mov rax, qword [r9]
add rax, 8
cmp dword [rax], ebp
je 0x180059986
inc ecx
inc rdx
add rax, 0x10
cmp rdx, r8
jl 0x180059974
mov r8d, dword [rsp + 0x60]
test ecx, ecx
js 0x180059a43
test r12d, r12d
je 0x180059a43
test r9, r9
je 0x1800599ab
cmp ecx, dword [r9 + 8]
jge 0x180059a43
cmp byte [rsp + 0x190], 0
je 0x1800599d3
mov r8d, dword [rsp + 0x70]
mov r9d, ecx
mov rcx, qword [rsp + 0x88]
mov edx, 0x2f
mov dword [rsp + 0x20], esi
jmp 0x180059b01
cmp qword [rsp + 0x1a0], 0
je 0x180059a04
mov eax, dword [rsp + 0xb0]
cmp eax, r8d
je 0x180059b0e
lea r8d, [rcx + rax]
mov dword [rsp + 0x20], r10d
mov rcx, qword [rsp + 0x88]
jmp 0x180059af9
mov eax, ecx
lea rcx, [rax + rax*4]
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x180059ad8
cmp byte [rdx], 0x9f
jne 0x180059ad8
mov r8d, dword [rdx + 0x2c]
mov edx, 0x21
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], r10d
jmp 0x180059afe
cmp byte [r15 + 0x23], 0
mov rax, qword [rbx + 8]
mov rdi, qword [rax + r14 + 8]
je 0x180059ab7
mov edx, 1
mov rcx, rdi
call fcn.18003bda0
test eax, eax
je 0x180059ab4
mov rcx, qword [r15]
xor r9d, r9d
mov rbx, qword [r15 + 0x150]
xor r8d, r8d
mov rdx, rdi
call fcn.18003b040
mov r8, rax
mov rdx, rbx
mov rcx, r15
call fcn.18003ba70
test rax, rax
je 0x180059aa3
movsxd rcx, dword [rax]
lea rdx, [rcx + rcx*4]
mov rcx, qword [rax + 8]
and dword [rcx + rdx*8 - 0xc], 0xfffffffb
mov dword [rcx + rdx*8 - 8], esi
mov rbx, qword [rsp + 0x80]
mov qword [r15 + 0x150], rax
jmp 0x180059b06
xor r10d, r10d
test rdi, rdi
je 0x180059ad5
cmp byte [rdi], 0x9f
jne 0x180059ad5
mov r8d, dword [rdi + 0x2c]
mov edx, 0x21
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], r10d
jmp 0x180059afe
mov rdx, rdi
mov r8d, esi
mov rcx, r15
call fcn.18003e340
cmp eax, esi
je 0x180059b06
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x180059b06
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x20], edx
mov edx, 0x22
mov r9d, esi
call fcn.180026120
mov r8d, dword [rsp + 0x60]
xor r10d, r10d
movsx eax, word [rbx + 0x42]
inc ebp
add r14, 0x30
cmp ebp, eax
jl 0x1800598f1
mov r12d, dword [rsp + 0x64]
mov edi, dword [rsp + 0x98]
mov r14, qword [rsp + 0x88]
test byte [rbx + 0x48], 0x10
je 0x180059bf1
mov rbx, qword [rbx + 0x60]
test rbx, rbx
je 0x180059b5e
mov rax, qword [rsp + 0xc8]
nop
cmp qword [rbx], rax
je 0x180059b5e
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180059b50
mov rsi, qword [rsp + 0x80]
mov rcx, r15
mov rdx, rsi
call fcn.180074a60
movsx r9d, word [rsi + 0x42]
mov edx, 0xf
mov eax, dword [rsp + 0xa8]
add r9d, 2
mov rcx, r14
mov dword [rsp + 0x20], eax
lea r8d, [rdx - 0xe]
call fcn.180026120
mov r9d, 0xfffffff6
mov r8, rbx
mov edx, eax
mov rcx, r14
call fcn.180026760
mov r8, qword [r14 + 8]
test r8, r8
je 0x180059bd4
mov eax, dword [rsp + 0x1b0]
cmp eax, 0xa
movzx edx, al
mov eax, 2
cmove edx, eax
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], dl
mov rax, qword [r15 + 0x1c0]
mov rcx, r15
test rax, rax
mov rbx, rsi
cmovne rcx, rax
mov byte [rcx + 0x21], 1
jmp 0x180059cb7
mov eax, dword [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov rsi, qword [rsp + 0xe0]
mov rdx, rbx
mov r13d, dword [rsp + 0x6c]
mov r8, rsi
mov ebp, dword [rsp + 0xb4]
mov r9d, r13d
mov qword [rsp + 0x50], rcx
mov ecx, dword [rsp + 0x1b0]
mov dword [rsp + 0x48], edi
mov byte [rsp + 0x40], cl
mov rcx, r15
shr eax, 0x1f
xor al, 1
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
call fcn.180059f80
mov r9d, dword [rsp + 0xa8]
xor eax, eax
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, r15
call fcn.1800561b0
xor ecx, ecx
mov r9d, ebp
cmp dword [rsp + 0x78], ecx
mov eax, ecx
mov r8d, r13d
mov rdx, rbx
sete al
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], ecx
mov rcx, r15
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call fcn.18005b120
jmp 0x180059cc3
mov rbx, qword [rsp + 0x80]
mov r13d, dword [rsp + 0x6c]
mov ebp, dword [rsp + 0xb4]
mov rsi, qword [rsp + 0xc8]
mov r12d, dword [rsp + 0xc0]
test byte [rsi + 0x2c], 0x80
je 0x180059cf1
xor eax, eax
mov r8d, r12d
mov rcx, r14
mov dword [rsp + 0x20], eax
lea r9d, [rax + 1]
lea edx, [rax + 0x25]
call fcn.180026120
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x180059d3b
movsx eax, word [rbx + 0x42]
xor r9d, r9d
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov dword [rsp + 0x40], edi
mov eax, dword [rsp + 0x1b0]
sub ecx, 2
mov dword [rsp + 0x38], eax
mov eax, 2
mov dword [rsp + 0x30], ecx
mov rcx, r15
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
lea r8d, [rax + 0x6a]
call fcn.1800706a0
movsxd rax, dword [rsp + 0x94]
mov r8, qword [r14 + 0x30]
test eax, eax
js 0x180059d61
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x180059d61
mov rcx, rax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
dec eax
cmp byte [rsp + 0x190], 0
mov dword [r8 + 0x64], eax
je 0x180059ec6
mov edi, dword [rsp + 0x70]
xor eax, eax
mov r9d, dword [rsp + 0xb8]
mov r8d, edi
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 9]
call fcn.180026120
mov eax, dword [rsp + 0xbc]
mov edx, dword [r14 + 0x3c]
cmp edx, eax
jbe 0x180059db8
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
xor r9d, r9d
mov r8d, edi
mov dword [rax + 0x64], ecx
xor eax, eax
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x3d]
call fcn.180026120
xor edi, edi
test byte [rbx + 0x48], 0x10
jne 0x180059e31
cmp qword [rsp + 0xd8], 0
jne 0x180059e31
cmp r13d, ebp
jge 0x180059e07
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, r13d
mov rcx, r14
lea edx, [r9 + 0x3d]
call fcn.180026120
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x180059e31
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, r14
lea edx, [r9 + 0x3d]
call fcn.180026120
mov rbx, qword [rbx + 0x28]
inc ebp
test rbx, rbx
jne 0x180059e10
mov rbx, qword [rsp + 0x1a8]
cmp byte [r15 + 0x1e], 0
jne 0x180059e52
cmp qword [r15 + 0x1c8], 0
jne 0x180059e52
mov rcx, r15
call fcn.1800580e0
test byte [rsi + 0x2c], 0x80
je 0x180058a2c
cmp byte [r15 + 0x1e], 0
jne 0x180058a2c
cmp qword [r15 + 0x1c8], 0
jne 0x180058a2c
xor edi, edi
mov r8d, r12d
mov rcx, r14
mov dword [rsp + 0x20], edi
lea r9d, [rdi + 1]
lea edx, [rdi + 0x23]
call fcn.180026120
lea edx, [rdi + 1]
mov rcx, r14
call fcn.180027ad0
mov rax, qword [r14]
cmp byte [rax + 0x50], dil
jne 0x180058a2c
mov rcx, qword [r14 + 0x20]
lea r8d, [rdi - 1]
mov r9b, 1
mov qword [rsp + 0x20], rdi
lea rdx, str.rows_inserted
call fcn.180025510
jmp 0x180058a2c
cmp qword [rsp + 0x1a0], 0
je 0x180059dd9
mov r9d, dword [rsp + 0xb8]
xor edi, edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, r14
lea edx, [rdi + 0x10]
call fcn.180026120
mov eax, dword [rsp + 0xbc]
mov edx, dword [r14 + 0x3c]
cmp edx, eax
jbe 0x180059f10
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
jmp 0x180059ddb
mov r14, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xc8]
mov r12d, dword [rsp + 0xc0]
jmp 0x180059e39
cmp rcx, qword [r15 + 0x168]
jb 0x180059f70
cmp rcx, qword [r15 + 0x170]
jae 0x180059f70
mov rax, qword [r15 + 0x160]
mov qword [rcx], rax
dec dword [r15 + 0x14c]
mov qword [r15 + 0x160], rcx
add rsp, 0x180
pop r15
ret
call fcn.1800055e0
add rsp, 0x180
pop r15
ret