Function at 0x180004430
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
jmp 0x1800e0b90
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov r12, rcx
xor edi, edi
mov eax, edi
add rcx, 0x58
mov dword [rsp + 0x30], eax
mov r14, r9
mov dword [rsp + 0x38], eax
mov r15, r8
mov rsi, rdx
call fcn.1800046dd
test eax, eax
jne 0x1800e1cc0
test rsi, rsi
jne 0x1800e0bfb
mov edx, 0x200
xor ecx, ecx
call fcn.180005df3
mov rdi, rax
mov word [rax], si
jmp 0x1800e0c37
mov ebx, edi
mov rax, rsi
cmp di, word [rsi]
je 0x1800e0c10
inc ebx
lea rax, [rax + 2]
cmp di, word [rax]
jne 0x1800e0c05
lea edx, [rbx + 0x100]
xor ecx, ecx
add rdx, rdx
call fcn.180005df3
lea r8d, [rbx + 1]
mov rdx, rsi
add r8, r8
mov rcx, rax
mov rdi, rax
call fcn.180004e58
xor esi, esi
test rdi, rdi
jne 0x1800e0c6f
cmp dword [r12 + 0x3c], edi
ja 0x1800e0c60
mov rcx, qword [r12 + 0x30]
mov edx, 0x200
mov dword [r12 + 0x3c], 0xff
call fcn.180005df3
mov qword [r12 + 0x30], rax
mov dword [r12 + 0x38], esi
mov rax, qword [r12 + 0x30]
mov word [rax], si
jmp 0x1800e0cd3
mov ebx, esi
mov rax, rdi
cmp si, word [rdi]
je 0x1800e0c8b
nop dword [rax]
inc ebx
lea rax, [rax + 2]
cmp si, word [rax]
jne 0x1800e0c80
cmp ebx, dword [r12 + 0x3c]
jb 0x1800e0cb2
mov rcx, qword [r12 + 0x30]
lea eax, [rbx + 0xff]
lea edx, [rax + 1]
mov dword [r12 + 0x3c], eax
add rdx, rdx
call fcn.180005df3
mov qword [r12 + 0x30], rax
mov dword [r12 + 0x38], ebx
lea r8d, [rbx + 1]
mov rcx, qword [r12 + 0x30]
add r8, r8
mov rdx, rdi
call fcn.180004e58
mov rcx, rdi
call fcn.180003427
movsx eax, word [rbp + 0xb8]
mov r13d, esi
mov dword [r12 + 0x50], eax
lea rax, [r12 + 0x68]
mov qword [rbp - 0x38], rax
lea rax, str.SELECT_CallerEntryIndex__pid__StackEntries_FROM_StackTrace_WHERE_rowid___
mov qword [rbp - 0x30], rax
lea rax, [r12 + 0x90]
mov qword [rbp - 0x28], rax
lea rax, str.SELECT_Name__DemangledName__FileName__ModulePath__FunctionName__LineNumber__rowid_FROM_StackEntry_WHERE_Snapshot_id____AND_pid____AND_Address____ORDER_BY_rowid
mov qword [r12 + 0x40], r15
lea r15, [rbp - 0x38]
mov qword [rbp - 0x20], rax
mov qword [r12 + 0x48], r14
nop dword [rax + rax]
mov rbx, qword [r15]
mov r14, qword [r15 + 8]
mov r12, qword [r12 + 0x60]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800e0d3d
call qword [0x1802495e0]
mov qword [rbx], rsi
test r14, r14
jne 0x1800e0d58
mov edx, 0x200
xor ecx, ecx
call fcn.180005df3
xor ecx, ecx
mov rsi, rax
mov word [rax], cx
jmp 0x1800e0d95
mov edi, esi
mov rax, r14
cmp si, word [r14]
je 0x1800e0d6e
inc edi
lea rax, [rax + 2]
cmp si, word [rax]
jne 0x1800e0d63
lea edx, [rdi + 0x100]
xor ecx, ecx
add rdx, rdx
call fcn.180005df3
lea r8d, [rdi + 1]
mov rdx, r14
add r8, r8
mov rcx, rax
mov rsi, rax
call fcn.180004e58
xor ecx, ecx
test rsi, rsi
jne 0x1800e0dc6
cmp dword [rbx + 0x24], esi
ja 0x1800e0db8
mov rcx, qword [rbx + 0x18]
mov edx, 0x200
mov dword [rbx + 0x24], 0xff
call fcn.180005df3
mov qword [rbx + 0x18], rax
xor esi, esi
mov dword [rbx + 0x20], esi
mov rax, qword [rbx + 0x18]
mov word [rax], si
jmp 0x1800e0e1c
mov edi, ecx
mov rax, rsi
cmp cx, word [rsi]
je 0x1800e0ddb
inc edi
lea rax, [rax + 2]
cmp cx, word [rax]
jne 0x1800e0dd0
cmp edi, dword [rbx + 0x24]
jb 0x1800e0dfc
mov rcx, qword [rbx + 0x18]
lea eax, [rdi + 0xff]
lea edx, [rax + 1]
mov dword [rbx + 0x24], eax
add rdx, rdx
call fcn.180005df3
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x20], edi
lea r8d, [rdi + 1]
mov rcx, qword [rbx + 0x18]
add r8, r8
mov rdx, rsi
call fcn.180004e58
mov rcx, rsi
call fcn.180003427
xor esi, esi
mov rcx, r14
mov qword [rbx + 8], r12
call qword [0x180259130]
mov r9, rbx
mov qword [rsp + 0x20], rsi
mov rdx, r14
mov rcx, r12
lea r8d, [rax + rax]
call qword [0x1802495f0]
mov dword [rbx + 0x10], eax
test eax, eax
je 0x1800e0eeb
cmp eax, 0x65
je 0x1800e0eeb
mov rcx, r12
call qword [0x180249668]
cmp dword [0x1802492d4], 0
mov rdi, rax
je 0x1800e0f4c
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Prepare
call fcn.180002621
mov rcx, rax
lea rdx, str.:_sqlite3_prepare16__
call fcn.180001faa
mov rcx, rax
mov rdx, r14
call fcn.180001faa
mov rcx, rax
lea rdx, str.___failed__error_
call fcn.180002621
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.1800010a0
mov rcx, rax
lea rdx, str.__message:__
call fcn.180002621
mov rcx, rax
mov rdx, rdi
call fcn.180001faa
mov rcx, rax
lea rdx, [0x180158e9c]
call fcn.180002621
lea rcx, [rbp - 0x18]
jmp 0x1800e0f47
cmp dword [0x1802492d4], 0
je 0x1800e0f4c
cmp dword [0x1802492d8], 4
jb 0x1800e0f4c
mov edx, 4
lea rcx, [rbp - 8]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Prepare
call fcn.180002621
mov rcx, rax
lea rdx, str.:_sqlite3_prepare16__
call fcn.180001faa
mov rcx, rax
mov rdx, r14
call fcn.180001faa
mov rcx, rax
lea rdx, str.___returned_OK_r_n
call fcn.180002621
lea rcx, [rbp - 8]
call fcn.18000561e
cmp dword [rbx + 0x10], 0
jne 0x1800e1cc0
mov r12, qword [rbp + 0x90]
inc r13d
add r15, 0x10
cmp r13d, 2
jb 0x1800e0d20
mov rbx, qword [rbp + 0xb0]
xor r13d, r13d
test rbx, rbx
je 0x1800e10b3
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x70], r13
mov rcx, rbx
mov dword [rbp - 0x80], 0x8000ffff
call qword [0x180259608]
mov rcx, qword [rsp + 0x70]
mov r14d, r13d
test eax, eax
mov dword [rbp - 0x80], eax
cmove rcx, rbx
mov qword [rsp + 0x70], rcx
cmp dword [rcx + 0x18], r13d
jbe 0x1800e10a9
mov r15, r12
nop
mov rax, qword [rsp + 0x78]
movsxd rcx, r14d
mov rsi, qword [rax + rcx*8]
test rsi, rsi
jne 0x1800e0ff8
mov edx, 0x200
mov dword [rsp + 0x4c], 0xff
xor ecx, ecx
call fcn.180005df3
mov rdi, rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r13d
mov word [rax], r13w
jmp 0x1800e1048
mov ebx, r13d
mov rax, rsi
cmp r13w, word [rsi]
je 0x1800e1010
inc ebx
lea rax, [rax + 2]
cmp r13w, word [rax]
jne 0x1800e1004
lea eax, [rbx + 0xff]
xor ecx, ecx
lea edx, [rbx + 0x100]
mov dword [rsp + 0x4c], eax
add rdx, rdx
call fcn.180005df3
lea r8d, [rbx + 1]
mov qword [rsp + 0x40], rax
add r8, r8
mov dword [rsp + 0x48], ebx
mov rdx, rsi
mov rcx, rax
mov rdi, rax
call fcn.180004e58
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], r13d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [r15 + 0xc0]
call fcn.180002040
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1800e107d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov qword [rsp + 0x60], r13
test rdi, rdi
je 0x1800e1094
mov rcx, rdi
call fcn.180003427
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov rcx, qword [rsp + 0x70]
inc r14d
cmp r14d, dword [rcx + 0x18]
jb 0x1800e0fc0
mov eax, dword [rbp - 0x80]
test eax, eax
jne 0x1800e10b3
call qword [0x180259640]
mov rsi, qword [rbp + 0x90]
mov rcx, rsi
mov rax, qword [rsi]
call qword [rax + 0x20]
test eax, eax
jne 0x1800e1cc5
lea rcx, [rsi + 0x68]
call fcn.1800010d7
mov r8, qword [rsi + 0x48]
mov edx, 1
mov rcx, qword [rsi + 0x68]
call qword [0x180249620]
lea rcx, [rsi + 0x68]
call fcn.180001f23
cmp eax, 0x64
jne 0x1800e1cc0
mov rcx, qword [rsi + 0x68]
xor edx, edx
call qword [0x180249650]
mov rcx, qword [rsi + 0x68]
mov edx, 1
mov dword [rsi + 0xb8], eax
call qword [0x180249650]
mov rcx, qword [rsi + 0x68]
mov edx, 2
mov dword [rsi + 0xe8], eax
call qword [0x180249640]
mov rcx, qword [rsi + 0x68]
mov edx, 2
mov r12, rax
mov qword [rbp - 0x40], rax
call qword [0x180249648]
movsxd rdx, eax
mov rcx, r13
mov eax, dword [rbp + 0xc0]
cmp eax, 1
setne cl
add rcx, 2
shr rdx, cl
movsxd r14, edx
mov qword [rbp - 0x48], r14
cmp qword [rsi + 0xe0], r14
jae 0x1800e1223
mov rax, qword [rsi + 0xd8]
test rax, rax
je 0x1800e11b6
mov rdi, qword [rax - 8]
lea rsi, [rax - 8]
lea rbx, [rax + rdi*8]
test rdi, rdi
je 0x1800e11ae
nop
mov rcx, qword [rbx - 8]
lea rbx, [rbx - 8]
dec rdi
test rcx, rcx
je 0x1800e11a9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbx], r13
test rdi, rdi
jne 0x1800e1190
mov rcx, rsi
call fcn.1800060dc
test r14, r14
je 0x1800e1209
mov rcx, 0xffffffffffffffff
mov eax, 8
mul r14
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.1800025a4
test rax, rax
je 0x1800e1209
lea rsi, [rax + 8]
mov qword [rax], r14
mov rdi, rsi
mov rbx, r14
mov edx, 8
mov rcx, rdi
call fcn.180006087
add rdi, 8
sub rbx, 1
jne 0x1800e11f0
jmp 0x1800e120c
mov rsi, r13
mov rax, qword [rbp + 0x90]
mov qword [rax + 0xd8], rsi
mov rsi, rax
mov eax, dword [rbp + 0xc0]
mov qword [rsi + 0xe0], r14
mov dword [rsi + 0xec], r13d
mov byte [rsi + 0xbc], 0
mov dword [rsp + 0x34], r13d
test r14, r14
jle 0x1800e1cb5
mov r15, qword [rbp + 0x90]
mov rdi, r13
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r13
nop word [rax + rax]
cmp eax, 1
jne 0x1800e126b
mov edi, dword [r12 + rdi*4]
jmp 0x1800e126f
mov rdi, qword [r12 + rdi*8]
lea r14, [rsi + 0x90]
mov qword [rsp + 0x68], rdi
mov rcx, qword [r14]
test rcx, rcx
je 0x1800e1369
call qword [0x180249618]
mov dword [r14 + 0x10], eax
mov ebx, eax
test eax, eax
je 0x1800e1307
cmp dword [0x1802492d4], 0
je 0x1800e1369
xor edx, edx
lea rcx, [rbp + 8]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Reset
call fcn.180002621
mov rcx, rax
lea rdx, str.:_sqlite3_reset__
call fcn.180001faa
mov rdx, qword [r14 + 0x18]
mov rcx, rax
call fcn.180001faa
mov rcx, rax
lea rdx, str.___failed__error_
call fcn.180002621
mov rcx, rax
mov edx, ebx
call fcn.1800010a0
mov rcx, rax
lea rdx, [0x180158dc8]
call fcn.180002621
lea rcx, [rbp + 8]
jmp 0x1800e1364
cmp dword [0x1802492d4], 0
je 0x1800e1369
cmp dword [0x1802492d8], 4
jb 0x1800e1369
mov edx, 4
lea rcx, [rbp + 0x18]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Reset
call fcn.180002621
mov rcx, rax
lea rdx, str.:_sqlite3_reset__
call fcn.180001faa
mov rdx, qword [r14 + 0x18]
mov rcx, rax
call fcn.180001faa
mov rcx, rax
lea rdx, str.___returned_OK_r_n
call fcn.180002621
lea rcx, [rbp + 0x18]
call fcn.18000561e
mov r8, qword [rsi + 0x40]
mov edx, 1
mov rcx, qword [r14]
call qword [0x180249620]
mov r8d, dword [rsi + 0xe8]
mov edx, 2
mov rcx, qword [r14]
call qword [0x180249610]
mov rcx, qword [r14]
mov r8, rdi
mov edx, 3
call qword [0x180249620]
mov rcx, qword [r14]
call qword [0x1802495e8]
mov dword [r14 + 0x10], eax
mov ebx, eax
cmp eax, 5
jne 0x1800e147f
nop dword [rax]
mov rcx, qword [r14 + 8]
call qword [0x180249668]
cmp dword [0x1802492d4], 0
mov rbx, rax
je 0x1800e145c
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Step
call fcn.180002621
mov rcx, rax
lea rdx, [0x180175a88]
call fcn.180001faa
mov rdx, qword [r14 + 0x18]
mov rcx, rax
call fcn.180001faa
mov rcx, rax
lea rdx, str.___failed__error_
call fcn.180002621
mov edx, dword [r14 + 0x10]
mov rcx, rax
call fcn.1800010a0
mov rcx, rax
lea rdx, str.__message:__
call fcn.180002621
mov rcx, rax
mov rdx, rbx
call fcn.180001faa
mov rcx, rax
lea rdx, str.___database_is_locaked_so_lets_wait_and_try_again_r_n
call fcn.180002621
lea rcx, [rbp + 0x28]
call fcn.18000561e
mov ecx, 0x64
call qword [0x1802593b8]
mov rcx, qword [r14]
call qword [0x1802495e8]
mov dword [r14 + 0x10], eax
mov ebx, eax
cmp eax, 5
je 0x1800e13c0
test ebx, ebx
je 0x1800e152c
lea eax, [rbx - 0x64]
cmp eax, 1
jbe 0x1800e152c
mov rcx, qword [r14 + 8]
call qword [0x180249668]
cmp dword [0x1802492d4], 0
mov rbx, rax
je 0x1800e15a7
xor edx, edx
lea rcx, [rbp + 0x38]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Step
call fcn.180002621
mov rcx, rax
lea rdx, [0x180175a88]
call fcn.180001faa
mov rdx, qword [r14 + 0x18]
mov rcx, rax
call fcn.180001faa
mov rcx, rax
lea rdx, str.___failed__error_
call fcn.180002621
mov edx, dword [r14 + 0x10]
mov rcx, rax
call fcn.1800010a0
mov rcx, rax
lea rdx, str.__message:__
call fcn.180002621
mov rcx, rax
mov rdx, rbx
call fcn.180001faa
mov rcx, rax
lea rdx, [0x180158e9c]
call fcn.180002621
lea rcx, [rbp + 0x38]
jmp 0x1800e15a2
cmp dword [0x1802492d4], 0
je 0x1800e15a7
cmp dword [0x1802492d8], 4
jb 0x1800e15a7
mov edx, 4
lea rcx, [rbp + 0x48]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Step
call fcn.180002621
mov rcx, rax
lea rdx, str.:_sqlite3_step__
call fcn.180002621
mov rdx, qword [r14 + 0x18]
mov rcx, rax
call fcn.180001faa
mov rcx, rax
lea rdx, str.___returned_
call fcn.180002621
mov rcx, rax
mov edx, ebx
call fcn.1800010a0
mov rcx, rax
lea rdx, [0x180158dc8]
call fcn.180002621
lea rcx, [rbp + 0x48]
call fcn.18000561e
cmp dword [r14 + 0x10], 0x64
jne 0x1800e1cc0
mov rcx, qword [r14]
xor edx, edx
call qword [0x180249660]
mov rcx, qword [r14]
mov edx, 1
mov qword [rbp - 0x70], rax
call qword [0x180249660]
mov rcx, qword [r14]
mov edx, 2
mov qword [rbp - 0x68], rax
call qword [0x180249660]
mov rcx, qword [r14]
mov edx, 3
mov rdi, rax
mov qword [rbp - 0x60], rax
call qword [0x180249660]
mov rcx, qword [r14]
mov edx, 4
mov qword [rbp - 0x58], rax
call qword [0x180249660]
mov rcx, qword [r14]
mov edx, 5
mov qword [rbp - 0x50], rax
call qword [0x180249650]
mov rcx, qword [r14]
mov edx, 6
mov dword [rsp + 0x38], eax
call qword [0x180249630]
cmp dword [rsi + 0xd4], 0
mov qword [rbp - 0x78], rax
jne 0x1800e164e
cmp r13w, word [rdi]
mov r12d, r13d
mov r13d, dword [rsp + 0x30]
setne r12b
jmp 0x1800e17cf
test rdi, rdi
jne 0x1800e166d
mov edx, 0x200
xor ecx, ecx
call fcn.180005df3
mov r15, rax
mov qword [rsp + 0x50], rax
mov word [rax], r13w
jmp 0x1800e16b6
mov ebx, r13d
mov rax, rdi
cmp r13w, word [rdi]
je 0x1800e168c
nop dword [rax]
inc ebx
lea rax, [rax + 2]
cmp r13w, word [rax]
jne 0x1800e1680
lea edx, [rbx + 0x100]
xor ecx, ecx
add rdx, rdx
call fcn.180005df3
lea r8d, [rbx + 1]
mov qword [rsp + 0x50], rax
add r8, r8
mov rdx, rdi
mov rcx, rax
mov r15, rax
call fcn.180004e58
mov r13d, dword [rsp + 0x30]
mov edx, 0x200
or r13d, 1
xor ecx, ecx
mov dword [rsp + 0x30], r13d
call fcn.180005df3
xor r12d, r12d
mov r14, rax
mov word [rax], r12w
mov rcx, qword [rsi + 0xc0]
mov rbx, qword [rcx + 0x38]
cmp rbx, qword [rsi + 0xc8]
je 0x1800e17c2
mov rdx, qword [rbx + 0x10]
mov r8d, 1
mov rcx, r15
call fcn.180004381
test eax, eax
js 0x1800e171e
mov rcx, qword [rbx + 0x10]
mov r8d, 1
mov rdx, r15
call fcn.180004381
test eax, eax
jns 0x1800e1749
mov rcx, qword [rbx + 0x10]
mov r8d, 1
mov rdx, r15
call fcn.180004381
test eax, eax
js 0x1800e173a
mov rbx, qword [rbx + 0x38]
jmp 0x1800e173e
mov rbx, qword [rbx + 0x40]
cmp rbx, qword [rsi + 0xc8]
jne 0x1800e16f2
jmp 0x1800e17c2
test rbx, rbx
je 0x1800e17c2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
jne 0x1800e1766
mov word [r14], r12w
jmp 0x1800e17ac
mov edi, r12d
mov rax, rsi
cmp r12w, word [rsi]
je 0x1800e179a
inc edi
lea rax, [rax + 2]
cmp r12w, word [rax]
jne 0x1800e1772
cmp edi, 0xff
jb 0x1800e179a
lea edx, [rdi + 0x100]
mov rcx, r14
add rdx, rdx
call fcn.180005df3
mov r14, rax
lea r8d, [rdi + 1]
mov rdx, rsi
add r8, r8
mov rcx, r14
call fcn.180004e58
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rsi, qword [rbp + 0x90]
mov r12d, 1
test r14, r14
je 0x1800e17cf
mov rcx, r14
call fcn.180003427
test r13b, 1
je 0x1800e17f4
and r13d, 0xfffffffe
mov dword [rsp + 0x30], r13d
test r15, r15
je 0x1800e17f4
mov rcx, r15
call fcn.180003427
mov qword [rsp + 0x50], 0
mov rax, qword [rsi + 0xd8]
xor r15d, r15d
mov r14, qword [rsi + 0x40]
mov ecx, 0xb0
mov rdi, qword [rsp + 0x58]
lea r13, [rax + rdi*8]
mov eax, dword [rsp + 0x34]
cmp dword [rsi + 0xb8], eax
mov rsi, qword [rsi + 0x30]
sete r15b
call fcn.180002928
mov rbx, rax
test rax, rax
je 0x1800e1c4d
lea rax, [0x1801855c0]
mov edx, 8
lea rcx, [rbx + 0x10]
mov qword [rbx + 8], rax
call fcn.180006087
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [0x180259998]
xor edx, edx
lea rax, [0x180158d38]
mov qword [rbx + 0x20], rax
lea rax, [0x1801855d0]
mov qword [rbx], rax
lea rax, [0x180185670]
mov qword [rbx + 8], rax
lea rax, [0x180185680]
mov qword [rbx + 0x20], rax
mov dword [rbx + 0x28], edx
mov qword [rbx + 0x30], rdx
mov qword [rbx + 0x38], rdx
test rsi, rsi
jne 0x1800e18bb
mov edx, 0x200
mov dword [rbx + 0x3c], 0xff
xor ecx, ecx
call fcn.180005df3
mov qword [rbx + 0x30], rax
xor ecx, ecx
mov dword [rbx + 0x38], ecx
mov rax, qword [rbx + 0x30]
mov word [rax], cx
jmp 0x1800e1904
mov edi, edx
mov rax, rsi
cmp dx, word [rsi]
je 0x1800e18d4
inc edi
lea rax, [rax + 2]
cmp dx, word [rax]
jne 0x1800e18c5
cmp edi, edx
jb 0x1800e18ee
lea eax, [rdi + 0xff]
xor ecx, ecx
lea edx, [rax + 1]
mov dword [rbx + 0x3c], eax
add rdx, rdx
call fcn.180005df3
mov qword [rbx + 0x30], rax
mov dword [rbx + 0x38], edi
lea r8d, [rdi + 1]
mov rcx, qword [rbx + 0x30]
add r8, r8
mov rdx, rsi
call fcn.180004e58
mov rax, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x70]
mov qword [rbx + 0x40], r14
xor r14d, r14d
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], r14
mov qword [rbx + 0x58], r14
test rsi, rsi
jne 0x1800e1949
mov edx, 0x200
mov dword [rbx + 0x5c], 0xff
xor ecx, ecx
call fcn.180005df3
mov qword [rbx + 0x50], rax
mov dword [rbx + 0x58], r14d
mov rax, qword [rbx + 0x50]
mov word [rax], r14w
jmp 0x1800e19a1
mov edi, r14d
mov rax, rsi
cmp r14w, word [rsi]
je 0x1800e1971
nop word [rax + rax]
inc edi
lea rax, [rax + 2]
cmp r14w, word [rax]
jne 0x1800e1960
cmp edi, r14d
jb 0x1800e198b
lea eax, [rdi + 0xff]
xor ecx, ecx
lea edx, [rax + 1]
mov dword [rbx + 0x5c], eax
add rdx, rdx
call fcn.180005df3
mov qword [rbx + 0x50], rax
mov dword [rbx + 0x58], edi
lea r8d, [rdi + 1]
mov rcx, qword [rbx + 0x50]
add r8, r8
mov rdx, rsi
call fcn.180004e58
mov rsi, qword [rbp - 0x68]
mov qword [rbx + 0x60], r14
mov qword [rbx + 0x68], r14
test rsi, rsi
jne 0x1800e19d7
mov edx, 0x200
mov dword [rbx + 0x6c], 0xff
xor ecx, ecx
call fcn.180005df3
mov qword [rbx + 0x60], rax
mov dword [rbx + 0x68], r14d
mov rax, qword [rbx + 0x60]
mov word [rax], r14w
jmp 0x1800e1a24
mov edi, r14d
mov rax, rsi
cmp r14w, word [rsi]
je 0x1800e19f4
inc edi
lea rax, [rax + 2]
cmp r14w, word [rax]
jne 0x1800e19e3
cmp edi, r14d
jb 0x1800e1a0e
lea eax, [rdi + 0xff]
xor ecx, ecx
lea edx, [rax + 1]
mov dword [rbx + 0x6c], eax
add rdx, rdx
call fcn.180005df3
mov qword [rbx + 0x60], rax
mov dword [rbx + 0x68], edi
lea r8d, [rdi + 1]
mov rcx, qword [rbx + 0x60]
add r8, r8
mov rdx, rsi
call fcn.180004e58
mov rsi, qword [rbp - 0x60]
mov qword [rbx + 0x70], r14
mov qword [rbx + 0x78], r14
test rsi, rsi
jne 0x1800e1a5a
mov edx, 0x200
mov dword [rbx + 0x7c], 0xff
xor ecx, ecx
call fcn.180005df3
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x78], r14d
mov rax, qword [rbx + 0x70]
mov word [rax], r14w
jmp 0x1800e1ab1
mov edi, r14d
mov rax, rsi
cmp r14w, word [rsi]
je 0x1800e1a81
nop word [rax + rax]
inc edi
lea rax, [rax + 2]
cmp r14w, word [rax]
jne 0x1800e1a70
cmp edi, r14d
jb 0x1800e1a9b
lea eax, [rdi + 0xff]
xor ecx, ecx
lea edx, [rax + 1]
mov dword [rbx + 0x7c], eax
add rdx, rdx
call fcn.180005df3
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x78], edi
lea r8d, [rdi + 1]
mov rcx, qword [rbx + 0x70]
add r8, r8
mov rdx, rsi
call fcn.180004e58
mov rsi, qword [rbp - 0x58]
mov qword [rbx + 0x80], r14
mov qword [rbx + 0x88], r14
test rsi, rsi
jne 0x1800e1af9
mov edx, 0x200
mov dword [rbx + 0x8c], 0xff
xor ecx, ecx
call fcn.180005df3
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x88], r14d
mov rax, qword [rbx + 0x80]
mov word [rax], r14w
jmp 0x1800e1b5d
mov edi, r14d
mov rax, rsi
cmp r14w, word [rsi]
je 0x1800e1b21
nop word [rax + rax]
inc edi
lea rax, [rax + 2]
cmp r14w, word [rax]
jne 0x1800e1b10
cmp edi, r14d
jb 0x1800e1b41
lea eax, [rdi + 0xff]
xor ecx, ecx
lea edx, [rax + 1]
mov dword [rbx + 0x8c], eax
add rdx, rdx
call fcn.180005df3
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x88], edi
lea r8d, [rdi + 1]
mov rcx, qword [rbx + 0x80]
add r8, r8
mov rdx, rsi
call fcn.180004e58
mov rax, qword [rsp + 0x68]
mov rsi, qword [rbp - 0x50]
mov qword [rbx + 0x90], rax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x98], eax
mov word [rbx + 0x9c], r15w
mov word [rbx + 0x9e], r12w
mov qword [rbx + 0xa0], r14
mov qword [rbx + 0xa8], r14
test rsi, rsi
jne 0x1800e1bd9
mov edx, 0x200
mov dword [rbx + 0xac], 0xff
xor ecx, ecx
call fcn.180005df3
mov qword [rbx + 0xa0], rax
mov rcx, rbx
mov dword [rbx + 0xa8], r14d
mov rax, qword [rbx + 0xa0]
mov word [rax], r14w
mov rax, qword [rbx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x58]
jmp 0x1800e1c50
mov edi, r14d
mov rax, rsi
cmp r14w, word [rsi]
je 0x1800e1c01
nop word [rax + rax]
inc edi
lea rax, [rax + 2]
cmp r14w, word [rax]
jne 0x1800e1bf0
cmp edi, r14d
jb 0x1800e1c21
lea eax, [rdi + 0xff]
xor ecx, ecx
lea edx, [rax + 1]
mov dword [rbx + 0xac], eax
add rdx, rdx
call fcn.180005df3
mov qword [rbx + 0xa0], rax
mov dword [rbx + 0xa8], edi
lea r8d, [rdi + 1]
mov rcx, qword [rbx + 0xa0]
add r8, r8
mov rdx, rsi
call fcn.180004e58
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rdi, qword [rsp + 0x58]
jmp 0x1800e1c50
mov rbx, rax
test r13, r13
je 0x1800e1c69
mov qword [r13], rbx
test rbx, rbx
je 0x1800e1c77
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x1800e1c6e
test rbx, rbx
je 0x1800e1c77
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rsi, qword [rbp + 0x90]
test r12d, r12d
je 0x1800e1c8a
mov byte [rsi + 0xbc], 1
inc dword [rsp + 0x34]
inc rdi
mov r13d, 0
mov r15, qword [rsp + 0x50]
mov r12, qword [rbp - 0x40]
mov eax, dword [rbp + 0xc0]
mov qword [rsp + 0x58], rdi
cmp rdi, qword [rbp - 0x48]
jl 0x1800e1260
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
jmp 0x1800e1cc5
mov eax, 0x80004005
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret