Function at 0x433e20
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4341c6
push rbp
mov rbp, rsp
sub rsp, 0xa8
mov qword [rsp + 0x48], 0
mov rax, qword [sym.imp.kernel32.dll_DuplicateHandle]
lea rcx, [rsp + 0x48]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
call sym.runtime.stdcall7.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
nop
je 0x434165
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x98], rax
test byte [rax], al
lea rcx, [rax + 0x310]
mov qword [rsp + 0xa0], rcx
nop
mov rax, rcx
call sym.runtime.lock2
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x98]
mov qword [rdx + 0x318], rcx
mov rax, qword [sym.imp.kernel32.dll_GetCurrentThreadId]
call sym.runtime.stdcall0
mov rcx, qword [rsp + 0x98]
mov qword [rcx + 0x48], rax
cmp qword [rcx + 0x330], 0
jne 0x433f69
cmp byte [0x007c4794], 0
je 0x433f69
mov rax, qword [sym.imp.kernel32.dll_CreateWaitableTimerExW]
mov qword [rsp], rax
movups xmmword [rsp + 8], xmm15
mov qword [rsp + 0x18], 2
mov qword [rsp + 0x20], 0x100003
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
mov qword [rcx + 0x330], rax
nop dword [rax]
test rax, rax
je 0x43410a
nop
nop
mov rax, qword [rsp + 0xa0]
call sym.runtime.unlock2
movups xmmword [rsp + 0x68], xmm15
movups xmmword [rsp + 0x78], xmm15
movups xmmword [rsp + 0x88], xmm15
mov rcx, qword [sym.imp.kernel32.dll_VirtualQuery]
lea rdx, [rsp + 0x68]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0x30
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
je 0x4340ac
mov rax, qword [rsp + 0x70]
lea rcx, [rax + 0x4000]
mov qword [rsp + 0x50], rcx
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x60], rdx
cmp rdx, rcx
jb 0x434041
sub rdx, rax
lea rax, [rdx - 0x4000]
nop dword [rax]
cmp rax, 0x4000000
ja 0x434041
mov qword [r14], rcx
mov rax, qword [r14]
add rax, 0x13a0
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
nop dword [rax]
call sym.runtime.stackcheck.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0xa8
pop rbp
nop
ret
call sym.runtime.printlock
lea rax, [0x005e1db3]
mov ebx, 0x13
call sym.runtime.printstring
mov rax, qword [rsp + 0x50]
nop dword [rax]
call sym.runtime.printhex
lea rax, [0x006350b8]
mov ebx, 1
call sym.runtime.printstring
mov rax, qword [rsp + 0x60]
nop dword [rax + rax]
call sym.runtime.printhex
lea rax, [0x005dd09f]
mov ebx, 2
call sym.runtime.printstring
call sym.runtime.printunlock
lea rax, [0x005df331]
mov ebx, 0xc
call sym.runtime.throw
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x58], rax
call sym.runtime.printlock
lea rax, [0x005e8e7b]
mov ebx, 0x24
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x58]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x005e86dd]
mov ebx, 0x22
call sym.runtime.throw
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x58], rax
call sym.runtime.printlock
lea rax, [0x005eae9e]
mov ebx, 0x2d
call sym.runtime.printstring
mov rax, qword [rsp + 0x58]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x005eb7a6]
mov ebx, 0x30
nop
call sym.runtime.throw
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x58], rax
call sym.runtime.printlock
lea rax, [0x005eae71]
mov ebx, 0x2d
call sym.runtime.printstring
mov rax, qword [rsp + 0x58]
nop
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x005e9271]
mov ebx, 0x25
nop dword [rax + rax]
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt.abi0
jmp sym.runtime.minit