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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rdi, qword [rcx + 0x18]
mov eax, r9d
mov r9, qword [rcx]
mov esi, eax
mov dword [rsp + 0x5c], eax
inc eax
mov dword [rsp + 0x54], eax
inc eax
xor ebx, ebx
mov r12d, eax
mov dword [rsp + 0x3c], eax
inc eax
mov dword [rsp + 0x60], eax
inc eax
mov r15, rdx
mov dword [rsp + 0x44], eax
inc eax
mov r14, rcx
mov dword [rsp + 0x40], eax
inc eax
mov qword [rsp + 0x68], r9
mov dword [rsp + 0x48], eax
inc eax
mov r13d, ebx
mov dword [rsp + 0xe8], eax
mov dword [rsp + 0x38], ebx
test rdi, rdi
jne 0x1800f0331
mov rcx, r9
call fcn.1800bce30
mov rdi, rax
mov qword [r14 + 0x18], rax
test rax, rax
je 0x1800f032c
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rax
mov dword [rsp + 0x20], ebx
call fcn.1800b57b0
mov r9, qword [rsp + 0x68]
jmp 0x1800f0331
mov r9, qword [rsp + 0x68]
test rdi, rdi
je 0x1800f1232
test r15, r15
je 0x1800f1232
cmp dword [r15 + 0x20], ebx
je 0x1800f1232
mov r10, qword [r15]
lea rcx, str.sqlite_
mov edx, dword [r10]
cmp edx, dword [rcx]
jne 0x1800f0376
mov dx, word [r10 + 4]
cmp dx, word [rcx + 4]
jne 0x1800f0376
mov dl, byte [r10 + 6]
cmp dl, byte [rcx + 6]
jne 0x1800f0376
mov eax, ebx
jmp 0x1800f037b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1800f1232
mov rdx, qword [r15 + 0x78]
mov rcx, r9
call fcn.1800ae650
mov r8, r10
movsxd rbx, eax
mov rax, qword [r9 + 0x10]
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 0x1c]
mov dword [rsp + 0x50], ebx
shl rcx, 5
mov rcx, qword [rcx + rax]
mov qword [rsp + 0x20], rcx
mov rcx, r14
call fcn.1800bece0
test eax, eax
jne 0x1800f1232
mov rax, qword [r15]
mov r8d, dword [r15 + 0x20]
xor r9d, r9d
mov edx, ebx
mov rcx, r14
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x20], rax
call fcn.1800b7800
mov ebx, dword [r14 + 0x54]
xor r8d, r8d
lea eax, [rbx + 1]
mov r9d, esi
mov dword [r14 + 0x54], eax
mov rbp, qword [r15]
lea edx, [r8 + 0x5e]
mov rcx, rdi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x20], r13d
call fcn.1800b57b0
mov rsi, qword [rdi + 0x20]
mov rcx, qword [rdi]
test rsi, rsi
je 0x1800f048f
cmp byte [rcx + 0x2a], r13b
jne 0x1800f048f
test eax, eax
jns 0x1800f0429
mov eax, dword [rdi + 0x18]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rsi + rbx*8 + 1]
mov r8, qword [rsi + rbx*8 + 0x10]
call fcn.1800b5a30
xor eax, eax
mov qword [rsi + rbx*8 + 0x10], rax
test rbp, rbp
jne 0x1800f0459
mov qword [rsi + rbx*8 + 0x10], rax
mov byte [rsi + rbx*8 + 1], al
mov ebx, dword [rsp + 0x30]
jmp 0x1800f0499
mov rax, rbp
cmp byte [rbp], r13b
je 0x1800f046a
inc rax
cmp byte [rax], r13b
jne 0x1800f0462
mov rcx, qword [rdi]
sub eax, ebp
mov rdx, rbp
and eax, 0x3fffffff
mov r8d, eax
call fcn.1800b23b0
mov byte [rsi + rbx*8 + 1], 0xff
mov qword [rsi + rbx*8 + 0x10], rax
mov ebx, dword [rsp + 0x30]
jmp 0x1800f0499
mov r8, rbp
xor edx, edx
call fcn.1800b5a30
mov rbp, qword [r15 + 0x18]
lea rsi, [0x180190380]
mov qword [rsp + 0x78], rbp
test rbp, rbp
je 0x1800f1071
jmp 0x1800f04c4
mov ebx, dword [rsp + 0x30]
mov r13d, dword [rbp + 8]
mov rdx, rbp
mov rcx, r14
mov dword [rsp + 0x34], r13d
call fcn.1800e7200
lea r14d, [r13 + r13]
mov r12, rax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x70], r14d
lea ecx, [r14 + rax + 1]
mov rax, qword [rsp + 0xd0]
cmp ecx, dword [rax + 0x58]
jle 0x1800f0501
mov dword [rax + 0x58], ecx
mov eax, dword [rsp + 0x50]
mov r9d, dword [rbp + 0x28]
mov r8d, ebx
mov edx, 0x26
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1800b57b0
mov rbp, qword [rdi + 0x20]
mov rcx, qword [rdi]
test rbp, rbp
je 0x1800f0570
cmp byte [rcx + 0x2a], 0
jne 0x1800f0570
test eax, eax
jns 0x1800f0538
mov eax, dword [rdi + 0x18]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rbp + rbx*8 + 1]
mov r8, qword [rbp + rbx*8 + 0x10]
call fcn.1800b5a30
xor eax, eax
mov qword [rbp + rbx*8 + 0x10], rax
test r12, r12
jne 0x1800f0564
mov qword [rbp + rbx*8 + 0x10], rax
mov byte [rbp + rbx*8 + 1], al
jmp 0x1800f057f
mov qword [rbp + rbx*8 + 0x10], r12
mov byte [rbp + rbx*8 + 1], 0xfa
jmp 0x1800f057f
mov r8, r12
mov edx, 0xfffffff0
call fcn.1800b5a30
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
mov rbp, qword [rbp]
lea edx, [r8 + 0x5e]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1800b57b0
mov r12, qword [rdi + 0x20]
mov rcx, qword [rdi]
test r12, r12
je 0x1800f0620
cmp byte [rcx + 0x2a], 0
jne 0x1800f0620
test eax, eax
jns 0x1800f05bb
mov eax, dword [rdi + 0x18]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [r12 + rbx*8 + 1]
mov r8, qword [r12 + rbx*8 + 0x10]
call fcn.1800b5a30
mov qword [r12 + rbx*8 + 0x10], 0
test rbp, rbp
jne 0x1800f05eb
mov qword [r12 + rbx*8 + 0x10], rbp
mov byte [r12 + rbx*8 + 1], bpl
jmp 0x1800f062c
cmp byte [rbp], 0
mov rax, rbp
je 0x1800f05fc
inc rax
cmp byte [rax], 0
jne 0x1800f05f4
mov rcx, qword [rdi]
sub eax, ebp
mov rdx, rbp
and eax, 0x3fffffff
mov r8d, eax
call fcn.1800b23b0
mov byte [r12 + rbx*8 + 1], 0xff
xor ebp, ebp
mov qword [r12 + rbx*8 + 0x10], rax
jmp 0x1800f062c
mov r8, rbp
xor edx, edx
call fcn.1800b5a30
xor ebp, ebp
mov ebx, ebp
test r13d, r13d
js 0x1800f0660
mov r12d, dword [rsp + 0xe8]
nop dword [rax + rax]
xor r8d, r8d
lea r9d, [rbx + r12]
mov rcx, rdi
lea edx, [r8 + 7]
mov dword [rsp + 0x20], ebp
call fcn.1800b57b0
inc ebx
cmp ebx, r13d
jle 0x1800f0640
jmp 0x1800f0668
mov r12d, dword [rsp + 0xe8]
mov ebx, ebp
test r13d, r13d
jle 0x1800f06d2
nop
movsxd rbp, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebp
jg 0x1800f0685
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f06c9
inc dword [rdi + 0x18]
mov rdx, qword [rdi + 0x20]
lea r8, [rbp + rbp*2]
xor ebp, ebp
lea eax, [rbx + r13]
mov byte [rdx + r8*8], 0xa
lea ecx, [rax + r12 + 1]
mov byte [rdx + r8*8 + 3], 0
mov dword [rdx + r8*8 + 4], ebp
mov dword [rdx + r8*8 + 0xc], ebp
mov qword [rdx + r8*8 + 0x10], rbp
mov byte [rdx + r8*8 + 1], bpl
mov dword [rdx + r8*8 + 8], ecx
mov byte [rdi + 0xa2], bpl
jmp 0x1800f06cb
xor ebp, ebp
inc ebx
cmp ebx, r13d
jl 0x1800f0670
mov rcx, rdi
call fcn.1800b5850
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
mov r12d, eax
mov dword [rsp + 0x58], eax
jg 0x1800f06f6
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f072c
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0x30]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x41
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd r13, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], r13d
mov dword [rsp + 0x4c], r13d
jg 0x1800f0747
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0784
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0xe8]
lea rcx, [r13 + r13*2]
mov byte [rax + rcx*8], 0x14
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], 1
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
cmp dword [rsp + 0x34], 0
jle 0x1800f0881
mov r14d, dword [rsp + 0xe8]
mov r12d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x60]
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f07b6
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f07ed
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x1c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0802
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f084c
inc dword [rdi + 0x18]
mov rdx, qword [rdi + 0x20]
mov r9d, dword [rsp + 0x34]
lea r8, [rbx + rbx*2]
xor r10d, r10d
lea eax, [rbp + r9]
lea ecx, [rax + r14 + 1]
mov byte [rdx + r8*8], 0x4b
mov byte [rdx + r8*8 + 3], 0
mov dword [rdx + r8*8 + 4], r13d
mov dword [rdx + r8*8 + 8], r10d
mov qword [rdx + r8*8 + 0x10], r10
mov dword [rdx + r8*8 + 0xc], ecx
mov byte [rdx + r8*8 + 1], r10b
mov byte [rdi + 0xa2], r10b
jmp 0x1800f0851
mov r9d, dword [rsp + 0x34]
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x1800f0867
movsxd rax, dword [rdi + 0x18]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
inc ebp
cmp ebp, r9d
jl 0x1800f07a1
mov r12d, dword [rsp + 0x58]
mov r13d, dword [rsp + 0x4c]
mov r14d, dword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x2a], 0
jne 0x1800f122a
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f08a5
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f08de
inc dword [rdi + 0x18]
mov rax, qword [rdi + 0x20]
lea rcx, [rbx + rbx*2]
xor r8d, r8d
mov byte [rax + rcx*8], 1
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], r8b
mov byte [rdi + 0xa2], r8b
jmp 0x1800f08e1
xor r8d, r8d
cmp dword [rsp + 0x34], 0
mov ebp, r8d
jle 0x1800f09e6
mov r13d, dword [rsp + 0x34]
mov r12d, dword [rsp + 0xe8]
nop dword [rax]
mov edx, dword [rdi + 0x18]
mov eax, edx
sub eax, r14d
cmp edx, eax
jle 0x1800f091a
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x20]
mov dword [rax + rcx*8 + 8], edx
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0932
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f096d
xor r8d, r8d
mov rcx, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea rdx, [rbx + rbx*2]
lea eax, [rbp + r12 + 1]
mov byte [rcx + rdx*8], 0x14
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], 1
mov dword [rcx + rdx*8 + 0xc], r8d
mov qword [rcx + rdx*8 + 0x10], r8
mov dword [rcx + rdx*8 + 4], eax
mov byte [rcx + rdx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0982
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f09cb
mov rdx, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov eax, dword [rsp + 0x30]
lea r8, [rbx + rbx*2]
mov dword [rdx + r8*8 + 4], eax
lea eax, [rbp + r13]
mov byte [rdx + r8*8], 0x1c
lea ecx, [rax + r12 + 1]
mov byte [rdx + r8*8 + 3], 0
mov dword [rdx + r8*8 + 8], ebp
mov qword [rdx + r8*8 + 0x10], 0
mov byte [rdx + r8*8 + 1], 0
mov dword [rdx + r8*8 + 0xc], ecx
mov byte [rdi + 0xa2], 0
inc ebp
mov r8d, 0
cmp ebp, r13d
jl 0x1800f0900
mov r12d, dword [rsp + 0x58]
mov r13d, dword [rsp + 0x4c]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1800f0a02
movsxd rax, r12d
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rdi + 0x18]
mov dword [rcx], eax
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0a17
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0a53
inc dword [rdi + 0x18]
mov rax, qword [rdi + 0x20]
mov ebp, dword [rsp + 0x30]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], r13d
xor r13d, r13d
mov byte [rax + rcx*8], 0x43
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov byte [rax + rcx*8 + 1], r13b
mov byte [rdi + 0xa2], r13b
jmp 0x1800f0a5a
mov ebp, dword [rsp + 0x30]
xor r13d, r13d
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0a6f
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0aa2
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x2b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0ab7
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0af8
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov r12d, dword [rsp + 0xe8]
mov edx, dword [rsp + 0x3c]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0xf
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
jmp 0x1800f0b00
mov r12d, dword [rsp + 0xe8]
cmp dword [rsp + 0x38], 0
jne 0x1800f0b5e
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
mov dword [rsp + 0x38], ebx
jg 0x1800f0b2a
mov rcx, rdi
call fcn.1800b5710
test eax, eax
je 0x1800f0b2a
mov dword [rsp + 0x38], 1
jmp 0x1800f0b5e
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x1b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
mov ebp, dword [rsp + 0x34]
xor r12d, r12d
mov r14d, r12d
test ebp, ebp
jle 0x1800f0e69
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0b8c
mov rcx, rdi
call fcn.1800b5710
test eax, eax
je 0x1800f0b8c
mov ebx, 1
jmp 0x1800f0bc3
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0x40]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x5e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
mov r12, qword [rdi + 0x20]
mov rcx, qword [rdi]
test r12, r12
je 0x1800f0c5d
cmp byte [rcx + 0x2a], 0
jne 0x1800f0c5d
test ebx, ebx
jns 0x1800f0be6
mov ebx, dword [rdi + 0x18]
dec ebx
movsxd rax, ebx
lea r13, [rax + rax*2]
movsx edx, byte [r12 + r13*8 + 1]
mov r8, qword [r12 + r13*8 + 0x10]
call fcn.1800b5a30
lea rax, [0x18019de6c]
mov qword [r12 + r13*8 + 0x10], 0
mov rbx, rax
inc rbx
cmp byte [rbx], 0
jne 0x1800f0c10
mov rcx, qword [rdi]
sub ebx, eax
and ebx, 0x3fffffff
lea edx, [rbx + 1]
call fcn.1800b21e0
mov rbp, rax
test rax, rax
je 0x1800f0c4c
movsxd rbx, ebx
lea rdx, [0x18019de6c]
mov rcx, rax
mov r8, rbx
call fcn.180119850
mov byte [rbx + rbp], 0
mov qword [r12 + r13*8 + 0x10], rbp
mov ebp, dword [rsp + 0x34]
mov byte [r12 + r13*8 + 1], 0xff
jmp 0x1800f0c6b
lea r8, [0x18019de6c]
xor edx, edx
call fcn.1800b5a30
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0c80
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0cc1
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0x3c]
mov r13d, dword [rsp + 0x40]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x5b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
jmp 0x1800f0cc6
mov r13d, dword [rsp + 0x40]
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0cdb
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0d21
mov rcx, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov r12d, dword [rsp + 0xe8]
lea rdx, [rbx + rbx*2]
lea eax, [r14 + r12 + 1]
mov dword [rcx + rdx*8 + 8], eax
mov byte [rcx + rdx*8], 0x56
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], r12d
mov dword [rcx + rdx*8 + 0xc], r13d
mov qword [rcx + rdx*8 + 0x10], 0
mov byte [rcx + rdx*8 + 1], 0
mov byte [rdi + 0xa2], 0
jmp 0x1800f0d29
mov r12d, dword [rsp + 0xe8]
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0d3e
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0d74
inc dword [rdi + 0x18]
mov rax, qword [rdi + 0x20]
lea rcx, [rbx + rbx*2]
xor edx, edx
mov byte [rax + rcx*8], 0x14
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], 0xffffffff
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov byte [rdi + 0xa2], dl
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0d89
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0dc6
inc dword [rdi + 0x18]
mov rcx, qword [rdi + 0x20]
lea rdx, [rbx + rbx*2]
lea eax, [r14 + r12 + 1]
xor r12d, r12d
mov byte [rcx + rdx*8], 0x59
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], r13d
mov dword [rcx + rdx*8 + 0xc], r13d
mov dword [rcx + rdx*8 + 4], eax
mov qword [rcx + rdx*8 + 0x10], r12
mov byte [rcx + rdx*8 + 1], r12b
mov byte [rdi + 0xa2], r12b
jmp 0x1800f0dc9
xor r12d, r12d
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0dde
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0e12
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x90
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
movsxd rbx, dword [rdi + 0x18]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0e27
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0e5d
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0x3c]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x5b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
inc r14d
cmp r14d, ebp
jl 0x1800f0b70
movsxd rbx, dword [rdi + 0x18]
lea rbp, [rdi + 0x1c]
cmp dword [rdi + 0x1c], ebx
jg 0x1800f0e89
mov rcx, rdi
call fcn.1800b5710
test eax, eax
je 0x1800f0e89
mov ebx, 1
jmp 0x1800f0ec6
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0x5c]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x44]
mov byte [rax + rcx*8], 0x1e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], 3
mov qword [rax + rcx*8 + 0x10], r12
mov dword [rax + rcx*8 + 0xc], edx
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
mov r12, qword [rdi + 0x20]
mov rcx, qword [rdi]
test r12, r12
je 0x1800f0f60
cmp byte [rcx + 0x2a], 0
jne 0x1800f0f60
test ebx, ebx
jns 0x1800f0ee9
mov ebx, dword [rdi + 0x18]
dec ebx
movsxd rax, ebx
lea r13, [rax + rax*2]
movsx edx, byte [r12 + r13*8 + 1]
mov r8, qword [r12 + r13*8 + 0x10]
call fcn.1800b5a30
lea rax, [0x180190380]
mov qword [r12 + r13*8 + 0x10], 0
mov rbx, rax
inc rbx
cmp byte [rbx], 0
jne 0x1800f0f13
mov rcx, qword [rdi]
sub ebx, eax
and ebx, 0x3fffffff
lea edx, [rbx + 1]
call fcn.1800b21e0
mov rbp, rax
test rax, rax
je 0x1800f0f4f
movsxd rbx, ebx
lea rdx, [0x180190380]
mov rcx, rax
mov r8, rbx
call fcn.180119850
mov byte [rbx + rbp], 0
mov qword [r12 + r13*8 + 0x10], rbp
mov byte [r12 + r13*8 + 1], 0xff
lea rbp, [rdi + 0x1c]
jmp 0x1800f0f6e
lea r8, [0x180190380]
xor edx, edx
call fcn.1800b5a30
movsxd rbx, dword [rdi + 0x18]
cmp dword [rbp], ebx
jg 0x1800f0f83
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f0fc5
inc dword [rdi + 0x18]
mov rax, qword [rdi + 0x20]
mov r12d, dword [rsp + 0xe0]
mov r13d, dword [rsp + 0x48]
lea rcx, [rbx + rbx*2]
xor edx, edx
mov byte [rax + rcx*8], 0x36
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov byte [rdi + 0xa2], dl
jmp 0x1800f0fd2
mov r12d, dword [rsp + 0xe0]
mov r13d, dword [rsp + 0x48]
movsxd rbx, dword [rdi + 0x18]
cmp dword [rbp], ebx
jg 0x1800f0fe7
mov rcx, rdi
call fcn.1800b5710
test eax, eax
jne 0x1800f1022
mov rax, qword [rdi + 0x20]
inc dword [rdi + 0x18]
mov edx, dword [rsp + 0x44]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x37
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
mov byte [rdi + 0xa2], 0
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x1800f1039
movsxd rax, dword [rdi + 0x18]
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], 8
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0xd0]
mov rbp, qword [rbp + 0x38]
mov qword [rsp + 0x78], rbp
test rbp, rbp
jne 0x1800f04c0
mov r12d, dword [rsp + 0x3c]
mov r13d, dword [rsp + 0x38]
mov r15, qword [rsp + 0xd8]
lea rsi, [0x180190380]
cmp qword [r15 + 0x18], 0
jne 0x1800f10ce
mov eax, dword [rsp + 0x50]
mov ebx, dword [rsp + 0x30]
mov r9d, dword [r15 + 0x20]
mov r8d, ebx
mov edx, 0x26
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1800b57b0
xor r15d, r15d
lea edx, [r15 + 0x1f]
mov r9d, r12d
mov r8d, ebx
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.1800b57b0
lea edx, [r15 + 0x2b]
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.1800b57b0
mov r12d, r15d
jmp 0x1800f1104
xor r15d, r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.1800b57b0
mov r10d, dword [rdi + 0x18]
cmp r10d, r13d
mov r12d, eax
jle 0x1800f1104
movsxd rcx, r13d
lea rdx, [rcx + rcx*2]
mov rcx, qword [rdi + 0x20]
mov dword [rcx + rdx*8 + 8], r10d
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0xa]
mov dword [rsp + 0x20], r15d
call fcn.1800b57b0
mov ebp, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x5c]
mov r9d, 3
mov rcx, rdi
mov dword [rsp + 0x20], ebp
lea edx, [r9 + 0x1b]
call fcn.1800b57b0
mov rbx, qword [rdi + 0x20]
mov rcx, qword [rdi]
test rbx, rbx
je 0x1800f11a9
cmp byte [rcx + 0x2a], 0
jne 0x1800f11a9
test eax, eax
jns 0x1800f1157
mov eax, dword [rdi + 0x18]
dec eax
cdqe
lea rsi, [rax + rax*2]
movsx edx, byte [rbx + rsi*8 + 1]
mov r8, qword [rbx + rsi*8 + 0x10]
call fcn.1800b5a30
lea rcx, [0x180190380]
mov qword [rbx + rsi*8 + 0x10], r15
mov rax, rcx
nop dword [rax + rax]
inc rax
cmp byte [rax], 0
jne 0x1800f1180
sub eax, ecx
mov rdx, rcx
mov rcx, qword [rdi]
and eax, 0x3fffffff
mov r8d, eax
call fcn.1800b23b0
mov byte [rbx + rsi*8 + 1], 0xff
mov qword [rbx + rsi*8 + 0x10], rax
jmp 0x1800f11b3
mov r8, rsi
xor edx, edx
call fcn.1800b5a30
mov esi, dword [rsp + 0x48]
mov ebx, dword [rsp + 0xe0]
mov edx, 0x36
mov rcx, rdi
mov r9d, esi
mov r8d, ebx
mov dword [rsp + 0x20], r15d
call fcn.1800b57b0
mov r9d, ebp
mov r8d, ebx
mov edx, 0x37
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.1800b57b0
mov r11, qword [rdi + 0x20]
test r11, r11
je 0x1800f1204
movsxd rax, dword [rdi + 0x18]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], 8
cmp dword [r14 + 0x58], ebp
jge 0x1800f120e
mov dword [r14 + 0x58], ebp
test r13d, r13d
je 0x1800f122a
mov edx, dword [rdi + 0x18]
cmp edx, r12d
jle 0x1800f122a
movsxd rax, r12d
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x20]
mov dword [rax + rcx*8 + 8], edx
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret