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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov r12d, dword [rsp + 0x100]
mov eax, dword [rcx + 0x54]
mov r11, qword [rcx]
mov dword [rsp + 0x4c], r12d
inc r12d
mov r14, rcx
mov rdi, qword [r14 + 0x10]
mov dword [rsp + 0x3c], r12d
inc r12d
mov dword [rsp + 0x5c], r12d
inc r12d
mov sil, 1
mov dword [rsp + 0x74], r12d
inc r12d
mov r13, rdx
mov dword [rsp + 0x38], r12d
inc r12d
mov qword [rsp + 0x78], r11
mov r15d, r12d
mov dword [rsp + 0x58], r12d
inc r12d
mov dword [rsp + 0x70], r12d
inc r12d
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x50], r12d
inc r12d
cmp eax, r12d
mov ecx, r12d
mov dword [rsp + 0x100], r12d
cmovg ecx, eax
xor ebp, ebp
mov dword [r14 + 0x54], ecx
test rdi, rdi
jne 0x180075a2e
mov rcx, r14
call fcn.1800335e0
mov rdi, rax
mov qword [r14 + 0x10], rax
test rax, rax
je 0x180075a04
xor r9d, r9d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
mov dword [rsp + 0x20], ebp
call fcn.180042780
cmp qword [r14 + 0x1c0], rbp
jne 0x180075a29
mov rax, qword [r14]
test byte [rax + 0x4c], 8
jne 0x180075a22
mov r11, qword [rsp + 0x78]
mov byte [r14 + 0x23], 1
jmp 0x180075a2e
mov r11, qword [rsp + 0x78]
jmp 0x180075a2e
mov r11, qword [rsp + 0x78]
test rdi, rdi
je 0x180076ba3
test r13, r13
je 0x180076ba3
cmp dword [r13 + 0x3c], ebp
je 0x180076ba3
mov r10, qword [r13]
mov qword [rsp + 0x98], rbx
mov edx, 7
test r10, r10
je 0x180075ab7
mov r8, r10
lea r9, str.sqlite_
lea rbx, [0x1800e6870]
movzx ecx, byte [r8]
dec edx
test cl, cl
je 0x180075a97
movzx eax, byte [r9]
movzx ecx, cl
movzx eax, byte [rax + rbx]
cmp byte [rcx + rbx], al
jne 0x180075a97
inc r8
inc r9
test edx, edx
jg 0x180075a71
dec edx
test edx, edx
js 0x180076b9b
movzx eax, byte [r9]
movzx edx, byte [rax + rbx]
movzx eax, byte [r8]
movzx ecx, byte [rax + rbx]
sub ecx, edx
je 0x180076b9b
mov rcx, qword [r13 + 0x70]
mov ebx, 0xfff0bdc0
mov dword [rsp + 0x60], ebx
test rcx, rcx
je 0x180075af5
mov ebx, ebp
cmp dword [r11 + 0x28], ebx
mov dword [rsp + 0x60], ebx
jle 0x180075af5
mov rax, qword [r11 + 0x20]
add rax, 0x18
nop dword [rax]
cmp qword [rax], rcx
je 0x180075af1
inc ebx
add rax, 0x20
cmp ebx, dword [r11 + 0x28]
jl 0x180075ae0
mov dword [rsp + 0x60], ebx
mov rax, qword [r11 + 0x20]
xor r9d, r9d
movsxd rcx, ebx
shl rcx, 5
lea edx, [r9 + 0x1c]
mov r8, r10
mov rcx, qword [rcx + rax]
mov qword [rsp + 0x20], rcx
mov rcx, r14
call fcn.180045cc0
test eax, eax
jne 0x180076b9b
mov rax, qword [r13]
mov r8d, dword [r13 + 0x3c]
xor r9d, r9d
mov edx, ebx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.180040aa0
mov eax, dword [r14 + 0x50]
mov r11d, dword [rsp + 0x108]
mov ecx, r11d
inc r11d
mov r9, r13
mov dword [rsp + 0x30], r11d
inc r11d
mov dword [rsp + 0x54], ecx
cmp eax, r11d
mov edx, ecx
mov r8d, ebx
cmovg r11d, eax
mov rcx, r14
mov dword [rsp + 0x20], 0x36
mov dword [r14 + 0x50], r11d
call fcn.18006a620
mov rbp, qword [r13]
xor eax, eax
mov r9d, r15d
xor r8d, r8d
lea edx, [rax + 0x61]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180042780
mov rbx, qword [rdi + 8]
mov rcx, qword [rdi]
test rbx, rbx
je 0x180075c1e
cmp byte [rcx + 0x51], 0
jne 0x180075c1e
test eax, eax
jns 0x180075bb4
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rsi, [rax + rax*2]
movsx edx, byte [rbx + rsi*8 + 1]
mov r8, qword [rbx + rsi*8 + 0x10]
call fcn.180046990
xor ecx, ecx
mov qword [rbx + rsi*8 + 0x10], rcx
test rbp, rbp
jne 0x180075be4
mov qword [rbx + rsi*8 + 0x10], rcx
mov byte [rbx + rsi*8 + 1], cl
mov esi, dword [rsp + 0x44]
jmp 0x180075c2a
mov rax, rbp
cmp byte [rbp], cl
je 0x180075bf7
nop dword [rax]
inc rax
cmp byte [rax], cl
jne 0x180075bf0
mov rcx, qword [rdi]
sub eax, ebp
mov rdx, rbp
and eax, 0x3fffffff
movsxd r8, eax
call fcn.180034f20
mov byte [rbx + rsi*8 + 1], 0xff
xor ecx, ecx
mov qword [rbx + rsi*8 + 0x10], rax
mov esi, dword [rsp + 0x44]
jmp 0x180075c2a
mov r8, rbp
xor edx, edx
call fcn.180046990
xor ecx, ecx
mov r15, qword [r13 + 0x10]
mov qword [rsp + 0x68], r15
test r15, r15
je 0x180076a29
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x180075c52
cmp rax, r15
jne 0x180076a0e
cmp qword [r15 + 0x48], 0
movzx esi, sil
cmove esi, ecx
test byte [r13 + 0x48], 0x20
mov dword [rsp + 0x44], esi
je 0x180075c8b
mov eax, dword [r15 + 0x5c]
and al, 3
cmp al, 2
jne 0x180075c8b
movzx esi, word [r15 + 0x56]
mov rbp, qword [r13]
lea r13d, [rsi - 1]
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], r13d
jmp 0x180075cb6
test byte [r15 + 0x5c], 8
movzx esi, word [r15 + 0x58]
mov rbp, qword [r15]
mov dword [rsp + 0x48], esi
je 0x180075cad
movzx r13d, word [r15 + 0x56]
dec r13d
mov dword [rsp + 0x40], r13d
jmp 0x180075cb6
lea r13d, [rsi - 1]
mov dword [rsp + 0x40], r13d
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov dword [rsp + 0x20], ecx
lea edx, [r8 + 0x61]
mov rcx, rdi
call fcn.180042780
mov rbx, qword [rdi + 8]
mov rcx, qword [rdi]
test rbx, rbx
je 0x180075d4b
cmp byte [rcx + 0x51], 0
jne 0x180075d4b
test eax, eax
jns 0x180075ce9
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rsi, [rax + rax*2]
movsx edx, byte [rbx + rsi*8 + 1]
mov r8, qword [rbx + rsi*8 + 0x10]
call fcn.180046990
xor eax, eax
mov qword [rbx + rsi*8 + 0x10], rax
test rbp, rbp
jne 0x180075d15
mov qword [rbx + rsi*8 + 0x10], rbp
mov byte [rbx + rsi*8 + 1], al
jmp 0x180075d57
cmp byte [rbp], 0
mov rax, rbp
je 0x180075d28
nop
inc rax
cmp byte [rax], 0
jne 0x180075d20
mov rcx, qword [rdi]
sub eax, ebp
mov rdx, rbp
and eax, 0x3fffffff
movsxd r8, eax
call fcn.180034f20
mov byte [rbx + rsi*8 + 1], 0xff
xor ebp, ebp
mov qword [rbx + rsi*8 + 0x10], rax
jmp 0x180075d57
mov r8, rbp
xor edx, edx
call fcn.180046990
xor ebp, ebp
mov eax, dword [r14 + 0x54]
mov ebx, dword [rsp + 0x30]
lea ecx, [r13 + r12]
cmp eax, ecx
mov r8d, ebx
mov edx, 0x36
cmovg ecx, eax
mov eax, dword [rsp + 0x60]
mov dword [r14 + 0x54], ecx
mov r9d, dword [r15 + 0x50]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180042780
mov rdx, r15
mov rcx, r14
call fcn.180068e00
mov esi, dword [rsp + 0x3c]
mov r8d, ebx
lea r9d, [rsi + 3]
mov edx, 0x32
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.180042780
mov r8d, dword [rsp + 0x48]
lea r9d, [rsi + 1]
mov edx, 0x19
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.180042780
movzx r8d, word [r15 + 0x56]
lea r9d, [rsi + 2]
mov edx, 0x19
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.180042780
xor r8d, r8d
lea r9d, [rsi + 1]
lea edx, [r8 + 1]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.180042780
mov rsi, qword [rdi + 8]
mov rcx, qword [rdi]
test rsi, rsi
je 0x180075e40
cmp byte [rcx + 0x51], 0
jne 0x180075e40
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rsi + rbx*8 + 1]
mov r8, qword [rsi + rbx*8 + 0x10]
call fcn.180046990
lea rax, [0x1800e7550]
mov byte [rsi + rbx*8 + 1], 0xfb
mov qword [rsi + rbx*8 + 0x10], rax
jmp 0x180075e51
lea r8, [0x1800e7550]
mov edx, 0xfffffffb
call fcn.180046990
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x180075e67
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 3
mov ebx, dword [rsp + 0x30]
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 0x6c]
mov r8d, ebx
mov dword [rsp + 0x20], ebp
call fcn.180042780
mov r9d, dword [rsp + 0x5c]
xor r8d, r8d
lea edx, [r8 + 0x19]
mov rcx, rdi
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x80], eax
call fcn.180042780
mov esi, dword [rdi + 0x3c]
mov dword [rsp + 0x34], esi
test r13d, r13d
jle 0x1800761da
mov rcx, rdi
call fcn.180042710
mov rcx, qword [rsp + 0x78]
movsxd rdx, r13d
shl rdx, 2
mov r14d, eax
mov dword [rsp + 0x64], eax
call fcn.18002e4c0
mov rbp, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1800769f6
xor eax, eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 0x10]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180042780
mov esi, dword [rdi + 0x3c]
mov dword [rsp + 0x34], esi
cmp r13d, 1
jne 0x180075f2d
cmp word [r15 + 0x56], r13w
jne 0x180075f2d
cmp byte [r15 + 0x5a], 0
je 0x180075f2d
xor eax, eax
mov r9d, r14d
mov r8d, r12d
lea edx, [rax + 0x4d]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180042780
xor r8d, r8d
mov r12d, r8d
test r13d, r13d
jle 0x18007607b
mov r15, r8
mov r13, rbp
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rax + 0x40]
mov rdx, qword [r15 + rdx]
call fcn.180062bd0
mov r9d, dword [rsp + 0x5c]
mov r8d, r12d
mov rbp, rax
xor eax, eax
mov rcx, rdi
lea edx, [rax + 0x19]
mov dword [rsp + 0x20], eax
call fcn.180042780
mov esi, dword [rsp + 0x38]
mov r9d, r12d
mov r8d, ebx
mov edx, 0x2f
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.180042780
mov eax, dword [rsp + 0x100]
xor r9d, r9d
lea r11d, [r12 + rax]
mov r8d, esi
lea edx, [r9 + 0x4e]
mov rcx, rdi
mov dword [rsp + 0x20], r11d
call fcn.180042780
mov rsi, qword [rdi + 8]
mov rcx, qword [rdi]
mov r14d, eax
mov edx, eax
test rsi, rsi
je 0x180076020
cmp byte [rcx + 0x51], 0
jne 0x180076020
test eax, eax
jns 0x180075fd5
mov edx, dword [rdi + 0x3c]
dec edx
movsxd rax, edx
lea rbx, [rax + rax*2]
movsx edx, byte [rsi + rbx*8 + 1]
mov r8, qword [rsi + rbx*8 + 0x10]
call fcn.180046990
xor r8d, r8d
mov qword [rsi + rbx*8 + 0x10], r8
test rbp, rbp
jne 0x180076008
mov qword [rsi + rbx*8 + 0x10], r8
mov byte [rsi + rbx*8 + 1], r8b
mov ebx, dword [rsp + 0x30]
jmp 0x180076030
mov qword [rsi + rbx*8 + 0x10], rbp
mov byte [rsi + rbx*8 + 1], 0xfc
mov ebx, dword [rsp + 0x30]
jmp 0x180076030
mov r8, rbp
mov edx, 0xfffffffc
call fcn.180046990
xor r8d, r8d
mov dword [r13], r14d
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x18007604a
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x80
inc r12d
add r15, 8
add r13, 4
cmp r12d, dword [rsp + 0x40]
jl 0x180075f42
mov r13d, dword [rsp + 0x40]
mov rbp, qword [rsp + 0x88]
mov r14d, dword [rsp + 0x64]
mov r15, qword [rsp + 0x68]
mov esi, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x5c]
mov dword [rsp + 0x20], r8d
mov edx, 0x19
mov r8d, r13d
mov rcx, rdi
call fcn.180042780
xor ebx, ebx
mov r9d, r14d
lea edx, [rbx + 0x10]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.180042780
mov edx, dword [rdi + 0x3c]
lea r11d, [rsi - 1]
cmp edx, r11d
jbe 0x1800760c4
mov rax, qword [rdi + 8]
lea rcx, [r11 + r11*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
test r13d, r13d
jle 0x180076131
mov r12d, dword [rsp + 0x100]
mov r15d, dword [rsp + 0x30]
mov rsi, rbp
mov eax, dword [rsi]
mov edx, dword [rdi + 0x3c]
cmp edx, eax
jbe 0x1800760fa
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
mov r9d, ebx
dec ecx
mov r8d, r15d
mov edx, 0x2f
mov dword [rax + 0x64], ecx
lea eax, [rbx + r12]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180042780
inc ebx
add rsi, 4
cmp ebx, r13d
jl 0x1800760e5
mov r15, qword [rsp + 0x68]
mov r8, qword [rdi + 0x30]
or r10d, 0xffffffff
mov eax, r10d
sub eax, r14d
js 0x180076156
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x180076156
movsxd rcx, eax
mov eax, dword [rdi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rdi + 0x3c]
mov rcx, qword [rsp + 0x78]
dec eax
mov dword [r8 + 0x64], eax
cmp qword [rcx + 0x320], 0
je 0x180076188
mov rdx, rbp
call fcn.1800255d0
mov r14, qword [rsp + 0xe0]
mov ebx, dword [rsp + 0x30]
or r10d, 0xffffffff
jmp 0x1800761de
cmp rbp, qword [rcx + 0x168]
jb 0x1800761c0
cmp rbp, qword [rcx + 0x170]
jae 0x1800761c0
mov rax, qword [rcx + 0x160]
mov r14, qword [rsp + 0xe0]
mov ebx, dword [rsp + 0x30]
mov qword [rbp], rax
dec dword [rcx + 0x14c]
mov qword [rcx + 0x160], rbp
jmp 0x1800761de
mov rcx, rbp
call sym.SQLite.Interop.dll_sqlite3_free
mov r14, qword [rsp + 0xe0]
mov ebx, dword [rsp + 0x30]
or r10d, 0xffffffff
jmp 0x1800761de
or r10d, 0xffffffff
mov rax, qword [rsp + 0xe8]
test byte [rax + 0x48], 0x20
jne 0x18007620d
mov r9d, dword [rsp + 0x74]
xor r13d, r13d
mov r8d, ebx
lea edx, [r13 + 0x70]
mov rcx, rdi
mov dword [rsp + 0x20], r13d
call fcn.180042780
jmp 0x180076366
mov rax, qword [r15 + 0x18]
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x180076232
nop word [rax + rax]
mov eax, dword [rbx + 0x5c]
and al, 3
cmp al, 2
je 0x180076232
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180076220
movzx ecx, word [rbx + 0x56]
mov edx, dword [r14 + 0x44]
mov r12d, dword [r14 + 0x48]
cmp ecx, edx
jg 0x180076252
lea eax, [r12 + rcx]
sub edx, ecx
mov dword [r14 + 0x48], eax
mov dword [r14 + 0x44], edx
jmp 0x180076260
mov eax, dword [r14 + 0x54]
lea r12d, [rax + 1]
add eax, ecx
mov dword [r14 + 0x54], eax
xor r13d, r13d
mov esi, r13d
cmp r13w, word [rbx + 0x56]
jae 0x1800762ec
mov r14d, dword [rsp + 0x30]
mov rbp, r13
nop word [rax + rax]
movzx edx, word [r15 + 0x58]
mov ecx, r13d
test edx, edx
jle 0x1800762b0
mov rax, qword [rbx + 8]
mov r8, qword [r15 + 8]
movzx r9d, word [rax + rbp]
nop dword [rax]
movsxd rax, ecx
cmp r9w, word [r8 + rax*2]
je 0x1800762b4
inc ecx
cmp ecx, edx
jl 0x1800762a0
mov cx, r10w
lea eax, [r12 + rsi]
movsx r9d, cx
mov r8d, r14d
mov edx, 0x2f
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180042780
movzx eax, word [rbx + 0x56]
inc esi
add rbp, 2
cmp esi, eax
mov r10d, 0xffffffff
jl 0x180076280
mov r14, qword [rsp + 0xe0]
mov eax, dword [rsp + 0x74]
movzx r9d, word [rbx + 0x56]
mov r8d, r12d
mov edx, 0x31
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180042780
movzx r11d, word [rbx + 0x56]
lea rcx, [r14 + 0x94]
lea r9d, [r11 + r12 - 1]
mov r8d, 0xa
mov edx, dword [rcx]
cmp edx, r12d
jl 0x18007634e
cmp edx, r9d
jg 0x18007634e
cmp byte [rcx - 6], r13b
je 0x18007634b
movzx eax, byte [r14 + 0x1f]
cmp al, 8
jae 0x180076347
movzx eax, al
mov dword [r14 + rax*4 + 0x24], edx
inc byte [r14 + 0x1f]
mov byte [rcx - 6], r13b
mov dword [rcx], r13d
add rcx, 0x14
sub r8, 1
jne 0x180076320
cmp r11d, dword [r14 + 0x44]
jle 0x180076366
mov dword [r14 + 0x44], r11d
mov dword [r14 + 0x48], r12d
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x180076384
mov edx, 1
mov rcx, rdi
call fcn.18003af10
test eax, eax
jne 0x1800763be
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
mov r12d, dword [rsp + 0x3c]
mov ebp, dword [rsp + 0x38]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 1
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r13
mov byte [rax + rcx*8 + 1], 0
jmp 0x1800763c7
mov ebp, dword [rsp + 0x38]
mov r12d, dword [rsp + 0x3c]
mov rsi, qword [rdi + 8]
mov rcx, qword [rdi]
test rsi, rsi
je 0x180076410
cmp byte [rcx + 0x51], 0
jne 0x180076410
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rsi + rbx*8 + 1]
mov r8, qword [rsi + rbx*8 + 0x10]
call fcn.180046990
lea rax, [0x1800e75b0]
mov byte [rsi + rbx*8 + 1], 0xfb
mov qword [rsi + rbx*8 + 0x10], rax
jmp 0x180076421
lea r8, [0x1800e75b0]
mov edx, 0xfffffffb
call fcn.180046990
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x180076437
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 3
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x180076455
mov edx, 1
mov rcx, rdi
call fcn.18003af10
test eax, eax
jne 0x180076488
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
mov edx, dword [rsp + 0x30]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x34]
mov byte [rax + rcx*8], 9
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], 0
mov r13d, dword [rsp + 0x50]
xor r8d, r8d
mov edx, r12d
mov r9d, r13d
mov rcx, rdi
call fcn.1800533b0
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x1800764c6
mov edx, 1
mov rcx, rdi
call fcn.18003af10
test eax, eax
je 0x1800764c6
mov ebx, 1
xor r12d, r12d
jmp 0x1800764fb
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
mov edx, dword [rsp + 0x58]
lea rcx, [rbx + rbx*2]
xor r12d, r12d
mov byte [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], 3
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], r12b
mov rsi, qword [rdi + 8]
mov rcx, qword [rdi]
test rsi, rsi
je 0x180076569
cmp byte [rcx + 0x51], 0
jne 0x180076569
test ebx, ebx
jns 0x180076516
mov ebx, dword [rdi + 0x3c]
dec ebx
movsxd rax, ebx
lea rbx, [rax + rax*2]
movsx edx, byte [rsi + rbx*8 + 1]
mov r8, qword [rsi + rbx*8 + 0x10]
call fcn.180046990
lea rcx, [0x1800edac0]
mov qword [rsi + rbx*8 + 0x10], r12
mov rax, rcx
nop dword [rax + rax]
inc rax
cmp byte [rax], 0
jne 0x180076540
sub eax, ecx
mov rdx, rcx
mov rcx, qword [rdi]
and eax, 0x3fffffff
movsxd r8, eax
call fcn.180034f20
mov byte [rsi + rbx*8 + 1], 0xff
mov qword [rsi + rbx*8 + 0x10], rax
jmp 0x180076577
lea r8, [0x1800edac0]
xor edx, edx
call fcn.180046990
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x180076595
mov edx, 1
mov rcx, rdi
call fcn.18003af10
test eax, eax
jne 0x1800765cd
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
mov esi, dword [rsp + 0x4c]
lea rcx, [rbx + rbx*2]
mov ebx, dword [rsp + 0xf8]
mov byte [rax + rcx*8], 0x4a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], 0
jmp 0x1800765d8
mov ebx, dword [rsp + 0xf8]
mov esi, dword [rsp + 0x4c]
mov r9d, ebp
mov r8d, ebx
mov edx, 0x4b
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.180042780
mov r11, qword [rdi + 8]
test r11, r11
je 0x180076606
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], 8
mov eax, dword [rsp + 0x48]
mov edx, dword [rsp + 0x3c]
lea r15d, [r13 + 3]
lea ebp, [r13 + 1]
lea r12d, [r13 + 2]
add r13d, 4
lea esi, [r13 + rax]
mov rax, qword [rsp + 0xe8]
mov r8d, 1
movzx ebx, byte [rax + 0x48]
mov eax, dword [r14 + 0x54]
mov ecx, esi
shr bl, 4
mov r9d, esi
mov dword [rsp + 0x40], r15d
not bl
mov dword [rsp + 0x64], r13d
and bl, 2
or bl, 0x44
cmp eax, esi
cmovg ecx, eax
mov dword [r14 + 0x54], ecx
mov eax, dword [rdi + 0x3c]
mov rcx, rdi
mov dword [rsp + 0x34], eax
call fcn.1800533b0
mov rax, qword [rdi + 0x30]
movsxd r14, dword [rdi + 0x3c]
cmp dword [rax + 0x60], r14d
jg 0x180076692
mov edx, 1
mov rcx, rdi
call fcn.18003af10
test eax, eax
je 0x180076692
mov r14d, 1
jmp 0x1800766bd
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
lea rcx, [r14 + r14*2]
xor edx, edx
mov byte [rax + rcx*8], 0x4c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov r9d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x3c]
mov r8d, 2
mov rcx, rdi
call fcn.1800533b0
mov r9d, ebp
mov ebp, dword [rsp + 0x3c]
mov r8d, 3
mov rcx, rdi
mov edx, ebp
call fcn.1800533b0
mov r9d, r12d
mov r8d, 4
mov edx, ebp
mov rcx, rdi
call fcn.1800533b0
mov r12d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x54]
mov r9d, r12d
movzx edx, bl
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.180042780
mov rsi, qword [rdi + 8]
mov rcx, qword [rdi]
test rsi, rsi
je 0x180076760
cmp byte [rcx + 0x51], 0
jne 0x180076760
test eax, eax
jns 0x180076735
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rsi + rbx*8 + 1]
mov r8, qword [rsi + rbx*8 + 0x10]
call fcn.180046990
xor eax, eax
mov byte [rsi + rbx*8 + 1], 0xf2
mov qword [rsi + rbx*8 + 0x10], rax
mov dword [rsi + rbx*8 + 0x10], eax
jmp 0x18007676e
xor r8d, r8d
lea edx, [r8 - 0xe]
call fcn.180046990
xor eax, eax
movsxd rsi, dword [rsp + 0x48]
mov rbx, rax
mov rbp, rsi
test esi, esi
jle 0x1800767d9
mov r12, qword [rsp + 0x68]
mov r15, qword [rsp + 0xe8]
mov esi, r13d
mov r13d, dword [rsp + 0x54]
nop word [rax + rax]
mov rax, qword [r12 + 8]
mov r8d, r13d
mov rdx, r15
movsx r9d, word [rax + rbx*2]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.180072570
inc rbx
inc esi
cmp rbx, rbp
jl 0x1800767a0
mov r13d, dword [rsp + 0x64]
mov r15d, dword [rsp + 0x40]
mov r12d, dword [rsp + 0x34]
mov esi, dword [rsp + 0x48]
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x1800767f7
mov edx, 1
mov rcx, rdi
call fcn.18003af10
test eax, eax
jne 0x180076828
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 0xc], r15d
xor r15d, r15d
mov byte [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], esi
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], r15b
jmp 0x18007682b
xor r15d, r15d
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x180076849
mov edx, 1
mov rcx, rdi
call fcn.18003af10
test eax, eax
jne 0x180076881
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
mov edx, dword [rsp + 0x58]
mov esi, dword [rsp + 0x38]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], 6
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], 0
jmp 0x180076885
mov esi, dword [rsp + 0x38]
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x1800768a3
mov edx, 1
mov rcx, rdi
call fcn.18003af10
test eax, eax
jne 0x1800768e0
mov rcx, qword [rdi + 8]
inc dword [rdi + 0x3c]
mov ebp, dword [rsp + 0xf8]
mov r13d, dword [rsp + 0x4c]
lea rdx, [rbx + rbx*2]
lea eax, [rbp + 1]
mov dword [rcx + rdx*8 + 4], eax
mov byte [rcx + rdx*8], 0x4a
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], r13d
mov dword [rcx + rdx*8 + 0xc], r15d
mov qword [rcx + rdx*8 + 0x10], r15
mov byte [rcx + rdx*8 + 1], 0
jmp 0x1800768ec
mov ebp, dword [rsp + 0xf8]
mov r13d, dword [rsp + 0x4c]
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x18007690a
mov edx, 1
mov rcx, rdi
call fcn.18003af10
test eax, eax
jne 0x180076938
mov rcx, qword [rdi + 8]
inc dword [rdi + 0x3c]
lea rdx, [rbx + rbx*2]
lea eax, [rbp + 1]
mov byte [rcx + rdx*8], 0x4b
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], esi
mov dword [rcx + rdx*8 + 0xc], r13d
mov qword [rcx + rdx*8 + 0x10], r15
mov dword [rcx + rdx*8 + 4], eax
mov byte [rcx + rdx*8 + 1], 0
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x180076956
mov edx, 1
mov rcx, rdi
call fcn.18003af10
test eax, eax
jne 0x180076986
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x10
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], 0
mov edx, dword [rdi + 0x3c]
cmp edx, r14d
jbe 0x18007699d
mov eax, r14d
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov edx, dword [rdi + 0x3c]
mov eax, dword [rsp + 0x80]
cmp edx, eax
jbe 0x1800769c3
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0xe0]
mov r12d, dword [rsp + 0x100]
mov r13, qword [rsp + 0xe8]
dec ecx
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0xf0]
jmp 0x180076a0e
mov r14, qword [rsp + 0xe0]
mov r13, qword [rsp + 0xe8]
mov rax, qword [rsp + 0xf0]
mov r15, qword [r15 + 0x28]
mov esi, dword [rsp + 0x44]
mov ecx, 0
mov qword [rsp + 0x68], r15
test r15, r15
jne 0x180075c44
cmp qword [rsp + 0xf0], 0
jne 0x180076b9b
cmp byte [rsp + 0x44], 0
je 0x180076b9b
mov ebx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x54]
xor r13d, r13d
lea edx, [r13 + 0x32]
mov rcx, rdi
mov r9d, ebx
mov dword [rsp + 0x20], r13d
call fcn.180042780
lea edx, [r13 + 0x2e]
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
mov dword [rsp + 0x20], r13d
call fcn.180042780
mov r9d, dword [rsp + 0x70]
lea edx, [r13 + 0x1c]
xor r8d, r8d
mov rcx, rdi
mov ebp, eax
mov dword [rsp + 0x20], r13d
call fcn.180042780
mov r12d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x58]
lea r9d, [r13 + 3]
lea edx, [r13 + 0x31]
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.180042780
mov rbx, qword [rdi + 8]
mov rcx, qword [rdi]
test rbx, rbx
je 0x180076b1c
cmp byte [rcx + 0x51], r13b
jne 0x180076b1c
test eax, eax
jns 0x180076acf
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rsi, [rax + rax*2]
movsx edx, byte [rbx + rsi*8 + 1]
mov r8, qword [rbx + rsi*8 + 0x10]
call fcn.180046990
lea rcx, [0x1800edac0]
mov qword [rbx + rsi*8 + 0x10], r13
mov rax, rcx
inc rax
cmp byte [rax], r13b
jne 0x180076af3
sub eax, ecx
mov rdx, rcx
mov rcx, qword [rdi]
and eax, 0x3fffffff
movsxd r8, eax
call fcn.180034f20
mov byte [rbx + rsi*8 + 1], 0xff
mov qword [rbx + rsi*8 + 0x10], rax
jmp 0x180076b2a
lea r8, [0x1800edac0]
xor edx, edx
call fcn.180046990
mov esi, dword [rsp + 0x4c]
mov ebx, dword [rsp + 0xf8]
mov edx, 0x4a
mov rcx, rdi
mov r9d, esi
mov r8d, ebx
mov dword [rsp + 0x20], r13d
call fcn.180042780
mov r9d, r12d
mov r8d, ebx
mov edx, 0x4b
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.180042780
mov r11, qword [rdi + 8]
test r11, r11
je 0x180076b7b
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], 8
mov edx, dword [rdi + 0x3c]
cmp edx, ebp
jbe 0x180076b8f
mov rax, qword [rdi + 8]
lea rcx, [rbp + rbp*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov rbx, qword [rsp + 0x98]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret