Function at 0x180057aa0
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 0x1800581c4
cmp byte [rbx + 0x50], al
jne 0x1800581c4
test r8, r8
je 0x180057b9c
test byte [r8 + 0xa], 0x80
je 0x180057b9c
cmp qword [r8 + 0x50], rax
jne 0x180057b9c
mov rax, qword [r8]
mov rdx, r8
mov rcx, rbx
mov qword [rsp + 0xa0], rax
mov qword [r8], rsi
call fcn.180063d50
mov edi, esi
mov qword [rsp + 0x1a0], rsi
mov rdx, qword [rsp + 0x198]
cmp qword [rdx + 0x18], rsi
je 0x1800581c4
mov rcx, r15
call fcn.18004e710
mov qword [rsp + 0x80], rax
mov r12, rax
test rax, rax
je 0x1800581c4
mov rdx, qword [rax + 0x70]
mov r14d, 0xfff0bdc0
mov dword [rsp + 0x98], r14d
mov dword [rsp + 0x74], r14d
test rdx, rdx
je 0x180057c16
mov ecx, dword [rbx + 0x28]
mov r14d, esi
mov dword [rsp + 0x74], esi
test ecx, ecx
jle 0x180057c16
mov rax, qword [rbx + 0x20]
add rax, 0x18
nop dword [rax]
cmp qword [rax], rdx
je 0x180057c11
inc r14d
add rax, 0x20
cmp r14d, ecx
jl 0x180057c00
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.180044de0
test eax, eax
jne 0x1800581c4
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 0x180057c7c
mov rdx, r12
mov rcx, r15
call fcn.18006df10
mov rdx, rax
xor r8d, r8d
mov rcx, rdx
test rdx, rdx
je 0x180057c9d
cmp byte [rcx + 0x10], 0x6c
jne 0x180057c90
movzx eax, byte [rcx + 0x11]
or ebx, eax
mov rcx, qword [rcx + 0x40]
test rcx, rcx
jne 0x180057c84
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.180048e00
test eax, eax
jne 0x1800581c4
mov r8d, ebx
mov rdx, r12
mov rcx, r15
call fcn.18004e7d0
test eax, eax
jne 0x1800581c4
mov rcx, qword [r15 + 0x10]
mov qword [rsp + 0x88], rcx
test rcx, rcx
jne 0x180057d4f
mov rcx, r15
call fcn.180025760
mov qword [rsp + 0x88], rax
mov rcx, rax
mov qword [r15 + 0x10], rax
test rax, rax
je 0x180057d2f
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov edx, 0x99
call fcn.1800258c0
mov rcx, qword [rsp + 0x88]
cmp qword [r15 + 0x1c0], 0
jne 0x180057d46
mov rax, qword [r15]
test byte [rax + 0x4c], 8
jne 0x180057d46
mov byte [r15 + 0x23], r13b
test rcx, rcx
je 0x1800581c4
cmp byte [r15 + 0x1e], 0
jne 0x180057d5d
or dword [rcx + 0x8c], 0x10
test rdi, rdi
jne 0x180057d6c
cmp qword [rsp + 0xd0], rdi
je 0x180057d70
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 0x180057dba
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 0x180057dba
mov rcx, rbx
call fcn.18004c720
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 0x180057e03
mov r9d, dword [rsp + 0x1b0]
mov rdx, r12
mov r8, qword [rsp + 0x1a0]
mov rcx, r15
mov dword [rsp + 0x20], r14d
call fcn.18005b010
test eax, eax
jne 0x1800596bf
mov r8, r12
mov edx, r14d
mov rcx, r15
call fcn.180057510
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 0x180057e53
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 0x180058001
mov eax, dword [r8 + 8]
mov edx, r10d
test eax, eax
jle 0x180057e99
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 0x180057e80
mov ebp, r10d
test eax, eax
jle 0x180058001
movzx ebx, word [r12 + 0x42]
lea r9, [0x1800eec60]
mov r12, r10
nop dword [rax]
nop dword [rax + rax]
mov edi, r10d
mov r11, r10
cmp r10w, bx
jge 0x180057f99
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 0x180057f3f
mov r9, rsi
movzx eax, r8b
sub r9, rdx
lea rsi, [0x1800eec60]
nop dword [rax]
movzx ecx, al
movzx r8d, al
movzx eax, byte [rdx]
movzx eax, byte [rax + rsi]
cmp byte [rcx + rsi], al
jne 0x180057f34
movzx eax, byte [r9 + rdx + 1]
inc rdx
movzx r8d, al
test al, al
jne 0x180057f10
mov rsi, qword [r14 + r12]
lea r9, [0x1800eec60]
movzx eax, r8b
movzx ecx, byte [rax + r9]
movzx eax, byte [rdx]
movzx eax, byte [rax + r9]
cmp ecx, eax
je 0x180057f64
inc edi
inc r11
add r10, 0x30
cmp r11, rbx
jl 0x180057ef0
jmp 0x180057f91
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 0x180057f91
mov dword [rsp + 0x90], ebp
mov r8, qword [rsp + 0x1a8]
mov rax, qword [rsp + 0x80]
movsx ebx, word [rax + 0x42]
cmp edi, ebx
jl 0x180057fe1
mov rdi, qword [r8]
mov rcx, qword [r12 + rdi]
call fcn.18003b6c0
test eax, eax
je 0x180058197
test byte [rsp + 0x68], 0x20
jne 0x180058197
mov r8, qword [rsp + 0x1a8]
lea r9, [0x1800eec60]
mov dword [rsp + 0x90], ebp
xor r13b, r13b
inc ebp
add r12, 0x10
xor r10d, r10d
cmp ebp, dword [r8 + 8]
jl 0x180057ec0
mov r14d, dword [rsp + 0x74]
mov r12, qword [rsp + 0x80]
cmp qword [rsp + 0x1a0], 0
lea rsi, [0x180106630]
je 0x18005849c
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.1800258c0
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.18006bb40
mov ecx, dword [rsp + 0xf0]
mov dword [rsp + 0xb0], ecx
test eax, eax
jne 0x1800581c4
mov rax, qword [rsp + 0xc8]
cmp byte [rax + 0x50], 0
jne 0x1800581c4
xor eax, eax
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], eax
mov rcx, rbp
lea edx, [rax + 0x15]
call fcn.1800258c0
mov edx, dword [rbp + 0x3c]
dec ebx
cmp edx, ebx
jbe 0x1800580e5
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 0x180058308
mov rbx, qword [r15 + 0x10]
test rbx, rbx
jne 0x180058158
mov rcx, r15
call fcn.180025760
mov qword [r15 + 0x10], rax
mov rbx, rax
test rax, rax
je 0x180058140
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov edx, 0x99
mov rcx, rbx
call fcn.1800258c0
cmp qword [r15 + 0x1c0], 0
jne 0x180058158
mov rax, qword [r15]
test byte [rax + 0x4c], 8
jne 0x180058158
mov byte [r15 + 0x23], 1
test byte [r12 + 0x48], 0x10
mov r10d, dword [rbx + 0x3c]
je 0x180058284
mov rdx, qword [r12 + 0x60]
test rdx, rdx
je 0x180058288
mov rax, qword [r15]
nop dword [rax]
cmp qword [rdx], rax
je 0x180058288
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x180058180
jmp 0x180058288
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.180007d60
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.18004c180
mov rdx, qword [rsp + 0xa0]
mov rcx, r15
call fcn.18003b300
mov rdx, qword [rsp + 0x1a0]
mov rcx, r15
call fcn.180063d50
mov rdx, rbx
mov rcx, r15
call fcn.18004bb80
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 0x180059715
test r15, r15
je 0x180059710
cmp qword [r15 + 0x320], 0
je 0x1800596dc
mov rdx, rcx
mov rcx, r15
call fcn.180004e30
add rsp, 0x180
pop r15
ret
xor eax, eax
mov edx, eax
mov r8d, 1
cmp r10d, r8d
jle 0x180058539
mov rax, qword [rbx]
movzx r9d, byte [rax + 0x50]
nop
test r9b, r9b
je 0x1800582aa
mov rax, rsi
jmp 0x1800582b9
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 0x1800582f0
cmp dword [rax + 0xc], r14d
jne 0x1800582fb
mov ecx, dword [rax + 8]
cmp ecx, dword [r12 + 0x3c]
je 0x180058308
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x1800582fb
nop dword [rax + rax]
cmp ecx, dword [rax + 0x58]
je 0x180058308
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1800582e0
jmp 0x1800582fb
cmp cl, 0x93
jne 0x1800582fb
cmp qword [rax + 0x10], rdx
je 0x180058308
inc r8d
cmp r8d, r10d
jl 0x1800582a0
jmp 0x180058539
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 0x18005833c
inc dword [r15 + 0x54]
mov ebx, dword [r15 + 0x54]
inc dword [r15 + 0x54]
mov edi, dword [r15 + 0x54]
jmp 0x180058366
dec al
movzx eax, al
mov byte [r15 + 0x1f], al
mov ebx, dword [r15 + rax*4 + 0x24]
test al, al
jne 0x180058358
inc dword [r15 + 0x54]
mov edi, dword [r15 + 0x54]
jmp 0x180058366
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.1800258c0
mov r8d, dword [rsp + 0xec]
lea edx, [rsi + 0x16]
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov rcx, rbp
call fcn.1800258c0
mov r8d, dword [rsp + 0xb0]
mov r9d, r13d
mov edx, 0x31
mov esi, eax
mov rcx, rbp
mov dword [rsp + 0x20], ebx
call fcn.1800258c0
xor eax, eax
mov r9d, edi
mov r8d, r14d
mov dword [rsp + 0x20], eax
mov rcx, rbp
lea edx, [rax + 0x4a]
call fcn.1800258c0
mov r9d, ebx
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov edx, 0x4b
mov rcx, rbp
call fcn.1800258c0
xor r14d, r14d
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov rcx, rbp
lea edx, [r14 + 0x10]
call fcn.1800258c0
mov edx, dword [rbp + 0x3c]
cmp edx, esi
jbe 0x180058413
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 0x180058454
movzx edx, byte [r15 + 0x1f]
cmp dl, 8
jae 0x180058454
mov ecx, r14d
lea rax, [r15 + 0x88]
cmp dword [rax + 0xc], ebx
je 0x180058450
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180058435
mov dword [r15 + rdx*4 + 0x24], ebx
inc byte [r15 + 0x1f]
jmp 0x180058454
mov byte [rax + 6], 1
xor ebx, ebx
test edi, edi
je 0x18005853b
movzx edx, byte [r15 + 0x1f]
cmp dl, 8
jae 0x18005853b
mov ecx, ebx
lea rax, [r15 + 0x88]
cmp dword [rax + 0xc], edi
je 0x180058493
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180058475
mov dword [r15 + rdx*4 + 0x24], edi
inc byte [r15 + 0x1f]
jmp 0x18005853b
mov byte [rax + 6], 1
jmp 0x18005853b
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 0x1800584df
mov r13d, dword [rax]
jmp 0x1800584e2
mov r13d, r10d
mov dword [rsp + 0x74], r13d
movsxd rsi, r13d
test r13d, r13d
jle 0x180058531
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.1800393f0
test eax, eax
jne 0x1800581c4
mov rax, qword [rsp + 0xa0]
inc rdi
add rbx, 0x28
cmp rdi, rsi
jl 0x180058500
mov rbp, qword [rsp + 0x88]
xor ebx, ebx
mov rax, qword [rsp + 0x1a8]
test rax, rax
jne 0x18005855a
test r13d, r13d
jle 0x18005855a
movsx ecx, word [r12 + 0x40]
mov dword [rsp + 0x90], ecx
test byte [r12 + 0x48], 0x10
je 0x180058613
movsx r10, word [r12 + 0x42]
mov r8d, ebx
mov r9d, ebx
mov r11, rbx
cmp r10, 2
jl 0x1800585e0
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 0x1800585a0
cmp r11, r10
jl 0x1800585f0
xor ebx, ebx
mov ecx, dword [rsp + 0x94]
lea eax, [r8 + r9]
add ecx, eax
mov rax, qword [rsp + 0x1a8]
jmp 0x18005861a
test r10, r10
jle 0x1800585c9
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 0x18005861a
mov ecx, dword [rsp + 0x94]
test rax, rax
jne 0x180058659
test r13d, r13d
je 0x180058679
movsx eax, word [r12 + 0x42]
sub eax, ecx
cmp r13d, eax
je 0x180058679
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.180007d60
jmp 0x1800581c4
mov r9d, dword [rax + 8]
cmp r13d, r9d
je 0x180058679
mov r8d, r13d
lea rdx, str._d_values_for__d_columns
mov rcx, r15
call fcn.180007d60
jmp 0x1800581c4
mov rax, qword [rsp + 0xc8]
mov r13d, 0x19
test byte [rax + 0x2c], 0x80
je 0x1800586b1
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.1800258c0
cmp qword [rsp + 0xd8], 0
jne 0x180058914
test byte [r12 + 0x48], 0x10
je 0x1800586d0
mov r14d, ebx
jmp 0x1800588bb
mov rdx, qword [r12 + 0x70]
test rdx, rdx
je 0x18005871c
mov rax, qword [r15]
mov esi, ebx
mov dword [rsp + 0x98], ebx
movsxd rcx, dword [rax + 0x28]
test ecx, ecx
jle 0x180058721
mov rax, qword [rax + 0x20]
mov r8, rcx
add rax, 0x18
mov rcx, rbx
nop dword [rax]
cmp qword [rax], rdx
je 0x180058713
inc esi
inc rcx
add rax, 0x20
cmp rcx, r8
jl 0x180058700
mov dword [rsp + 0x98], esi
jmp 0x180058721
mov esi, 0xfff0bdc0
mov r12, qword [r15 + 0x10]
test r12, r12
jne 0x18005876d
mov rcx, r15
call fcn.180025760
mov qword [r15 + 0x10], rax
mov r12, rax
test rax, rax
je 0x180058755
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.1800258c0
cmp qword [r15 + 0x1c0], 0
jne 0x18005876d
mov rax, qword [r15]
test byte [rax + 0x4c], 8
jne 0x18005876d
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 0x1800587a1
mov r9, rbx
mov dword [rsp + 0x20], 0x37
mov r8d, esi
mov edx, eax
call fcn.180057170
jmp 0x1800587b7
mov rax, qword [rbx]
mov r9b, 1
mov r8d, dword [rbx + 0x3c]
mov edx, esi
mov qword [rsp + 0x20], rax
call fcn.180044ea0
mov rdi, qword [rbx + 0x10]
xor eax, eax
mov dword [rsp + 0xb4], ebp
mov r14d, eax
test rdi, rdi
je 0x1800588a7
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 0x1800587f6
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.1800258c0
mov rbx, qword [r15 + 0x10]
mov rdx, rdi
mov rcx, r15
call fcn.18004d4e0
mov r8, qword [rbx + 8]
mov rsi, rax
mov rcx, qword [rbx]
test r8, r8
je 0x180058870
cmp byte [rcx + 0x50], 0
jne 0x180058870
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.180025c40
test rsi, rsi
jne 0x18005885a
xor eax, eax
mov qword [rbx - 8], rax
mov byte [rbx - 0x17], al
jmp 0x18005887d
mov qword [rbx - 8], rsi
mov byte [rbx - 0x17], 0xfa
jmp 0x18005887d
mov r8, rsi
mov edx, 0xfffffffa
call fcn.180025c40
mov rdi, qword [rdi + 0x28]
inc r14d
mov rbx, qword [rsp + 0x80]
mov esi, dword [rsp + 0x98]
test rdi, rdi
jne 0x1800587e0
mov dword [rsp + 0x6c], r13d
mov r13d, 0x19
cmp ebp, dword [r15 + 0x50]
jle 0x1800588b1
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.180005180
mov qword [rsp + 0xe0], rax
mov r8, rax
test rax, rax
je 0x1800581c4
movsxd rdx, r14d
test r14d, r14d
jle 0x180058914
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 0x180058900
movzx esi, byte [rsp + 0x190]
mov r14, qword [rsp + 0x88]
test sil, sil
je 0x180058957
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.1800258c0
mov dword [rsp + 0xbc], eax
mov eax, dword [r14 + 0x3c]
mov dword [rsp + 0xb8], eax
jmp 0x18005898f
cmp qword [rsp + 0x1a0], 0
je 0x18005898b
mov r8d, dword [rsp + 0xec]
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x16]
call fcn.1800258c0
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 0x1800589d5
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180005330
mov edx, dword [rsp + 0x94]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1800589eb
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 0x180058ecc
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 0x180058a28
lea eax, [rsi + rcx]
sub edx, ecx
mov dword [r15 + 0x48], eax
mov dword [r15 + 0x44], edx
jmp 0x180058a39
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 0x180058a5d
mov rbp, qword [rsp + 0xa0]
mov r8d, 0xffffffff
mov r9d, esi
xor ebx, ebx
jmp 0x180058b48
cmp byte [rsp + 0x190], 0
je 0x180058a88
mov r9d, eax
mov dword [rsp + 0x20], esi
mov r8d, ebp
mov edx, 0x2f
mov rcx, r14
call fcn.1800258c0
mov rbp, qword [rsp + 0xa0]
jmp 0x180058ae7
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 0x180058ab9
cmp byte [rdx], 0x9f
jne 0x180058ab9
mov r8d, dword [rdx + 0x2c]
xor eax, eax
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x21]
jmp 0x180058adf
mov r8d, esi
mov rcx, r15
call fcn.18003dae0
cmp eax, esi
je 0x180058ae7
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x180058ae7
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x20], edx
mov edx, 0x22
mov r9d, esi
call fcn.1800258c0
xor eax, eax
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x4d]
call fcn.1800258c0
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.1800258c0
mov edx, dword [r14 + 0x3c]
cmp edx, ebx
jbe 0x180058b30
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.1800258c0
movzx edx, word [r12 + 0x42]
cmp bx, dx
jge 0x180058d56
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 0x180058b96
lea r9d, [rdi + r14]
mov rdx, r12
jmp 0x180058bcf
movsxd rax, dword [rcx + 8]
mov r9d, ebx
mov rdx, rbx
test eax, eax
jle 0x180058bcf
mov rcx, qword [rcx]
mov r8, rax
add rcx, 8
nop
lea eax, [rdi + r14]
cmp dword [rcx], eax
je 0x180058bc7
inc r9d
inc rdx
add rcx, 0x10
cmp rdx, r8
jl 0x180058bb0
mov rcx, qword [rsp + 0x1a8]
movzx r8d, byte [rsp + 0x190]
mov rax, qword [rsp + 0xa0]
test r8b, r8b
jne 0x180058bea
test rax, rax
je 0x180058bf5
test rcx, rcx
je 0x180058c67
cmp r9d, dword [rcx + 8]
jl 0x180058c67
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov rdx, qword [rax + r13 + 8]
test rdx, rdx
je 0x180058c2e
cmp byte [rdx], 0x9f
jne 0x180058c2e
mov r8d, dword [rdx + 0x2c]
mov r9d, edi
mov rcx, qword [r15 + 0x10]
mov edx, 0x21
mov dword [rsp + 0x20], ebx
call fcn.1800258c0
jmp 0x180058d17
mov r8d, edi
mov rcx, r15
call fcn.18003dae0
cmp eax, edi
je 0x180058d17
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x180058d17
mov r9d, edi
mov dword [rsp + 0x20], ebx
mov r8d, eax
mov edx, 0x22
call fcn.1800258c0
jmp 0x180058d17
test r8b, r8b
je 0x180058c8c
mov r8d, dword [rsp + 0x70]
mov edx, 0x2f
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x20], edi
call fcn.1800258c0
jmp 0x180058d17
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 0x180058cb4
cmp byte [rsi], 0x9f
jne 0x180058cb4
mov r8d, dword [rsi + 0x2c]
mov edx, 0x21
mov rcx, rbp
jmp 0x180058cd7
mov r8d, edi
mov rdx, rsi
mov rcx, r15
call fcn.18003dae0
cmp eax, edi
je 0x180058ce3
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x180058ce3
mov r8d, eax
mov edx, 0x22
mov r9d, edi
mov dword [rsp + 0x20], ebx
call fcn.1800258c0
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.1800258c0
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 0x180058b80
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 0x180058d76
lea r8d, [rsi + 1]
mov rdx, r12
mov rcx, r14
call fcn.180057400
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.18006fe40
movsx r11d, word [r12 + 0x42]
mov edx, esi
inc r11d
mov rcx, r15
mov r8d, r11d
call fcn.18003d210
cmp r11d, dword [r15 + 0x44]
jle 0x180058dda
mov dword [r15 + 0x44], r11d
mov dword [r15 + 0x48], esi
movzx esi, byte [rsp + 0x190]
cmp qword [rsp + 0xd8], 0
jne 0x18005944f
movzx eax, byte [r12 + 0x48]
xor r13d, r13d
test al, 0x10
je 0x180058e20
mov r9d, dword [rsp + 0xa8]
lea edx, [r13 + 0x1c]
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov rcx, r14
call fcn.1800258c0
movzx eax, byte [r12 + 0x48]
movsxd rcx, dword [rsp + 0x90]
test ecx, ecx
js 0x180058fea
test sil, sil
je 0x180058ed9
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.1800258c0
test byte [r12 + 0x48], 0x10
jne 0x180058fc1
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, esi
mov rcx, r14
lea edx, [r9 + 0x4d]
call fcn.1800258c0
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.1800258c0
mov edx, dword [r14 + 0x3c]
cmp edx, ebx
jbe 0x180058eb3
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 0x18005902f
mov rbp, qword [rsp + 0xa0]
jmp 0x180058de2
cmp qword [rsp + 0x1a0], 0
je 0x180058f05
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 0x180058e4e
mov rax, qword [rbp + 8]
lea rcx, [rcx + rcx*4]
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x180058f2e
cmp byte [rdx], 0x9f
jne 0x180058f2e
mov r8d, dword [rdx + 0x2c]
mov edx, 0x21
mov esi, dword [rsp + 0x64]
mov rcx, qword [r15 + 0x10]
jmp 0x180058f52
mov esi, dword [rsp + 0x64]
mov rcx, r15
mov r8d, esi
call fcn.18003dae0
cmp eax, esi
je 0x180058f5f
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x180058f5f
mov r8d, eax
mov edx, 0x22
mov r9d, esi
mov dword [rsp + 0x20], r13d
call fcn.1800258c0
mov rax, qword [r14]
mov ecx, dword [r14 + 0x3c]
dec ecx
cmp byte [rax + 0x50], 0
je 0x180058f77
lea rax, [0x180106630]
jmp 0x180058f8f
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
test rax, rax
je 0x180058e56
cmp byte [rax], 0x1c
jne 0x180058e56
test byte [r12 + 0x48], 0x10
jne 0x180058fc1
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 0x18005903f
mov r9d, dword [r14 + 0x3c]
mov r8d, esi
add r9d, 2
mov dword [rsp + 0x20], r13d
mov edx, 0x4c
mov rcx, r14
call fcn.1800258c0
xor r9d, r9d
mov r8d, esi
lea edx, [r9 + 0x26]
jmp 0x18005902f
test al, 0x10
jne 0x180059021
test byte [rsp + 0x68], 0x20
jne 0x180059021
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.1800258c0
mov r12d, 1
jmp 0x18005903f
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.1800258c0
mov r12d, r13d
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x64], r12d
test eax, eax
jle 0x180059068
mov rcx, qword [r15 + 0x10]
mov r9d, esi
mov r8d, eax
mov dword [rsp + 0x20], r13d
mov edx, 0x88
call fcn.1800258c0
mov rbx, qword [rsp + 0x80]
xor r10d, r10d
mov r13d, r10d
mov ebp, r10d
cmp r10w, word [rbx + 0x42]
jge 0x1800592d4
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 0x1800590b9
mov rcx, qword [rsp + 0x88]
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, esi
lea edx, [r9 + 0x1d]
jmp 0x1800592a1
mov r9, qword [rsp + 0x1a8]
test r9, r9
jne 0x1800590fc
mov rax, qword [rbx + 8]
movzx edx, byte [rax + r14 + 0x2b]
and dl, 2
je 0x1800590e8
lea eax, [r13 + 1]
test dl, dl
lea ecx, [r9 - 1]
cmove eax, r13d
mov r13d, eax
jmp 0x18005912b
lea eax, [r13 + 1]
mov ecx, ebp
sub ecx, r13d
test dl, dl
cmove eax, r13d
mov r13d, eax
jmp 0x18005912b
movsxd rax, dword [r9 + 8]
mov ecx, r10d
mov rdx, r10
test eax, eax
jle 0x180059133
mov r8, rax
mov rax, qword [r9]
add rax, 8
cmp dword [rax], ebp
je 0x180059126
inc ecx
inc rdx
add rax, 0x10
cmp rdx, r8
jl 0x180059114
mov r8d, dword [rsp + 0x60]
test ecx, ecx
js 0x1800591e3
test r12d, r12d
je 0x1800591e3
test r9, r9
je 0x18005914b
cmp ecx, dword [r9 + 8]
jge 0x1800591e3
cmp byte [rsp + 0x190], 0
je 0x180059173
mov r8d, dword [rsp + 0x70]
mov r9d, ecx
mov rcx, qword [rsp + 0x88]
mov edx, 0x2f
mov dword [rsp + 0x20], esi
jmp 0x1800592a1
cmp qword [rsp + 0x1a0], 0
je 0x1800591a4
mov eax, dword [rsp + 0xb0]
cmp eax, r8d
je 0x1800592ae
lea r8d, [rcx + rax]
mov dword [rsp + 0x20], r10d
mov rcx, qword [rsp + 0x88]
jmp 0x180059299
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 0x180059278
cmp byte [rdx], 0x9f
jne 0x180059278
mov r8d, dword [rdx + 0x2c]
mov edx, 0x21
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], r10d
jmp 0x18005929e
cmp byte [r15 + 0x23], 0
mov rax, qword [rbx + 8]
mov rdi, qword [rax + r14 + 8]
je 0x180059257
mov edx, 1
mov rcx, rdi
call fcn.18003b540
test eax, eax
je 0x180059254
mov rcx, qword [r15]
xor r9d, r9d
mov rbx, qword [r15 + 0x150]
xor r8d, r8d
mov rdx, rdi
call fcn.18003a7e0
mov r8, rax
mov rdx, rbx
mov rcx, r15
call fcn.18003b210
test rax, rax
je 0x180059243
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 0x1800592a6
xor r10d, r10d
test rdi, rdi
je 0x180059275
cmp byte [rdi], 0x9f
jne 0x180059275
mov r8d, dword [rdi + 0x2c]
mov edx, 0x21
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], r10d
jmp 0x18005929e
mov rdx, rdi
mov r8d, esi
mov rcx, r15
call fcn.18003dae0
cmp eax, esi
je 0x1800592a6
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x1800592a6
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x20], edx
mov edx, 0x22
mov r9d, esi
call fcn.1800258c0
mov r8d, dword [rsp + 0x60]
xor r10d, r10d
movsx eax, word [rbx + 0x42]
inc ebp
add r14, 0x30
cmp ebp, eax
jl 0x180059091
mov r12d, dword [rsp + 0x64]
mov edi, dword [rsp + 0x98]
mov r14, qword [rsp + 0x88]
test byte [rbx + 0x48], 0x10
je 0x180059391
mov rbx, qword [rbx + 0x60]
test rbx, rbx
je 0x1800592fe
mov rax, qword [rsp + 0xc8]
nop
cmp qword [rbx], rax
je 0x1800592fe
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800592f0
mov rsi, qword [rsp + 0x80]
mov rcx, r15
mov rdx, rsi
call fcn.180074200
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.1800258c0
mov r9d, 0xfffffff6
mov r8, rbx
mov edx, eax
mov rcx, r14
call fcn.180025f00
mov r8, qword [r14 + 8]
test r8, r8
je 0x180059374
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 0x180059457
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.180059720
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.180055950
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.18005a8c0
jmp 0x180059463
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 0x180059491
xor eax, eax
mov r8d, r12d
mov rcx, r14
mov dword [rsp + 0x20], eax
lea r9d, [rax + 1]
lea edx, [rax + 0x25]
call fcn.1800258c0
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x1800594db
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.18006fe40
movsxd rax, dword [rsp + 0x94]
mov r8, qword [r14 + 0x30]
test eax, eax
js 0x180059501
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x180059501
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 0x180059666
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.1800258c0
mov eax, dword [rsp + 0xbc]
mov edx, dword [r14 + 0x3c]
cmp edx, eax
jbe 0x180059558
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.1800258c0
xor edi, edi
test byte [rbx + 0x48], 0x10
jne 0x1800595d1
cmp qword [rsp + 0xd8], 0
jne 0x1800595d1
cmp r13d, ebp
jge 0x1800595a7
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, r13d
mov rcx, r14
lea edx, [r9 + 0x3d]
call fcn.1800258c0
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x1800595d1
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, r14
lea edx, [r9 + 0x3d]
call fcn.1800258c0
mov rbx, qword [rbx + 0x28]
inc ebp
test rbx, rbx
jne 0x1800595b0
mov rbx, qword [rsp + 0x1a8]
cmp byte [r15 + 0x1e], 0
jne 0x1800595f2
cmp qword [r15 + 0x1c8], 0
jne 0x1800595f2
mov rcx, r15
call fcn.180057880
test byte [rsi + 0x2c], 0x80
je 0x1800581cc
cmp byte [r15 + 0x1e], 0
jne 0x1800581cc
cmp qword [r15 + 0x1c8], 0
jne 0x1800581cc
xor edi, edi
mov r8d, r12d
mov rcx, r14
mov dword [rsp + 0x20], edi
lea r9d, [rdi + 1]
lea edx, [rdi + 0x23]
call fcn.1800258c0
lea edx, [rdi + 1]
mov rcx, r14
call fcn.180027270
mov rax, qword [r14]
cmp byte [rax + 0x50], dil
jne 0x1800581cc
mov rcx, qword [r14 + 0x20]
lea r8d, [rdi - 1]
mov r9b, 1
mov qword [rsp + 0x20], rdi
lea rdx, str.rows_inserted
call fcn.180024cb0
jmp 0x1800581cc
cmp qword [rsp + 0x1a0], 0
je 0x180059579
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.1800258c0
mov eax, dword [rsp + 0xbc]
mov edx, dword [r14 + 0x3c]
cmp edx, eax
jbe 0x1800596b0
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 0x18005957b
mov r14, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xc8]
mov r12d, dword [rsp + 0xc0]
jmp 0x1800595d9
cmp rcx, qword [r15 + 0x168]
jb 0x180059710
cmp rcx, qword [r15 + 0x170]
jae 0x180059710
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.180004d80
add rsp, 0x180
pop r15
ret