Function at 0x10000e048
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x790
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x100027110]
xor rax, rsp
mov qword [rsp + 0x780], rax
mov esi, r8d
mov r14, rdx
mov r12, rcx
and qword [rsp + 0x60], 0
and dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x50]
call sub.framedynos.dll_public:_void___cdecl_CHString::constructor_void____ptr64
nop
lea rcx, [rsp + 0xc0]
lea rdx, [0x100002150]
mov r8d, 0xc0
call sub.msvcrt.dll_memcpy
lea rcx, [0x100002210]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r13, rax
and qword [rsp + 0x78], 0
and qword [rsp + 0x80], 0
lea rdi, [rsp + 0xa0]
xor eax, eax
lea edx, [rax + 8]
mov rcx, rdx
rep stosb byte [rdi], al
lea rdi, [rsp + 0x88]
mov rcx, rdx
rep stosb byte [rdi], al
lea rdi, [rsp + 0x90]
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
test r13, r13
jne 0x10000e117
mov ecx, 0x8007000e
mov dword [rsp + 0x58], ecx
xor edx, edx
call fcn.100018004
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x68]
call fcn.1000080e4
nop
cmp qword [rax], 0
je 0x10000e138
mov rax, qword [rax]
mov r8, qword [rax]
jmp 0x10000e13b
xor r8d, r8d
mov rax, qword [r14]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
and qword [rsp + 0x20], 0
mov r9d, 0x30
mov rdx, r13
mov rcx, r14
call qword [rax + 0xa0]
mov edi, eax
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x68]
call fcn.100008464
test edi, edi
jns 0x10000e17d
xor edx, edx
mov ecx, edi
call fcn.100018004
lea r13, [r12 + 0x28]
mov rdx, qword [r13]
mov rcx, qword [rsp + 0x78]
call fcn.1000064a8
mov dword [rsp + 0x58], eax
test eax, eax
jns 0x10000e1a1
xor edx, edx
mov ecx, eax
call fcn.100018004
and dword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x80]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
mov dword [rsp + 0x58], eax
test eax, eax
jns 0x10000e1dd
xor edx, edx
mov ecx, eax
call fcn.100018004
cmp dword [rsp + 0x70], 0
je 0x10000e333
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x10000e333
lea r8, [rsp + 0x90]
lea rdx, [0x100002218]
call fcn.100006eb0
test eax, eax
jne 0x10000e21d
xor edx, edx
mov ecx, 0x800300fd
call fcn.100018004
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea rcx, [rsp + 0x5c]
call fcn.1000199d0
lea rcx, [0x100001c80]
xor r9d, r9d
cmp dword [rsp + 0x5c], 1
cmove r9, rcx
mov r14d, 0xfe
mov dword [rsp + 0x28], r14d
lea rcx, [rsp + 0x580]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x90]
xor edx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
lea rax, [0x100001c98]
xor r9d, r9d
cmp dword [rsp + 0x5c], 1
cmove r9, rax
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x380]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x90]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea ecx, [r14 + 0x7b]
call fcn.100018cd0
mov r8, rax
lea rax, [rsp + 0x380]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x580]
mov rdx, r14
lea rcx, [rsp + 0x180]
call fcn.10000eae0
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x50]
call sub.framedynos.dll_public:_class_CHString_const____ptr64___cdecl_CHString::operator_unsigned_short_int_const____ptr64____ptr64
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x10000e350
mov ecx, 0x138d
call fcn.100018cd0
mov rdx, rax
lea rcx, [rsp + 0x50]
call sub.framedynos.dll_public:_class_CHString_const____ptr64___cdecl_CHString::operator_unsigned_short_int_const____ptr64____ptr64
mov r14d, 0xfe
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 0xbc
call fcn.100018cd0
mov rdi, rax
call qword [sym.imp.msvcrt.dll___iob_func]
mov rdx, rdi
lea rcx, [rax + 0x30]
call fcn.100019d78
call qword [sym.imp.msvcrt.dll___iob_func]
mov rdx, qword [rsp + 0x50]
lea rcx, [rax + 0x30]
call fcn.100019d78
mov ecx, 0x37
call fcn.100018cd0
mov rdi, rax
call qword [sym.imp.msvcrt.dll___iob_func]
mov rdx, rdi
lea rcx, [rax + 0x30]
call fcn.100019d78
lea rdx, [0x100001b40]
lea rcx, [rsp + 0x68]
call fcn.1000080e4
nop
cmp qword [rax], 0
je 0x10000e3cd
mov rax, qword [rax]
mov rcx, qword [rax]
jmp 0x10000e3cf
xor ecx, ecx
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], r13
mov rax, qword [r12 + 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [r12 + 0x30]
mov r8, qword [r12 + 0x48]
lea rdx, [rsp + 0x60]
mov rcx, qword [r12]
call fcn.100005648
nop
lea rcx, [rsp + 0x68]
call fcn.100008464
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jns 0x10000e42a
xor edx, edx
call fcn.100018004
dec esi
neg esi
sbb esi, esi
add esi, 0x80000002
mov ecx, 0x138d
call fcn.100018cd0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x100002230]
lea r8, [0x100002240]
mov edx, esi
mov rcx, qword [rsp + 0x60]
call fcn.100007778
mov rcx, qword [rsp + 0x50]
call fcn.10001bf9c
cmp eax, 1
jne 0x10000e4a4
lea r8d, [rax + 1]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call sub.framedynos.dll_public:_class_CHString___cdecl_CHString::Mid_int____ptr64
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call sub.framedynos.dll_public:_class_CHString_const____ptr64___cdecl_CHString::operator_class_CHString_const____ptr64____ptr64
nop
lea rcx, [rsp + 0x68]
call fcn.10001de98
mov ecx, 0xbd
call fcn.100018cd0
mov rdi, rax
call qword [sym.imp.msvcrt.dll___iob_func]
mov rdx, rdi
lea rcx, [rax + 0x30]
call fcn.100019d78
call qword [sym.imp.msvcrt.dll___iob_func]
mov rdx, qword [rsp + 0x50]
lea rcx, [rax + 0x30]
call fcn.100019d78
mov ecx, 0x37
call fcn.100018cd0
mov rdi, rax
call qword [sym.imp.msvcrt.dll___iob_func]
mov rdx, rdi
lea rcx, [rax + 0x30]
call fcn.100019d78
or edi, 0xffffffff
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
lea r9, [0x1000022c0]
lea r8, [0x100002300]
mov edx, esi
mov rcx, qword [rsp + 0x60]
call fcn.1000078fc
mov r9d, dword [rsp + 0x5c]
cmp r9d, edi
jne 0x10000e53e
lea rdx, [0x100002358]
lea rcx, [rsp + 0x50]
call sub.framedynos.dll_public:_class_CHString_const____ptr64___cdecl_CHString::operator_unsigned_short_int_const____ptr64____ptr64
jmp 0x10000e567
lea r8, [0x100002370]
mov rdx, r14
lea rcx, [rsp + 0x180]
call fcn.10000eae0
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x50]
call sub.framedynos.dll_public:_class_CHString_const____ptr64___cdecl_CHString::operator_unsigned_short_int_const____ptr64____ptr64
mov ecx, 0xbb
call fcn.100018cd0
mov rdi, rax
call qword [sym.imp.msvcrt.dll___iob_func]
mov rdx, rdi
lea rcx, [rax + 0x30]
call fcn.100019d78
call qword [sym.imp.msvcrt.dll___iob_func]
mov rdx, qword [rsp + 0x50]
lea rcx, [rax + 0x30]
call fcn.100019d78
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x10000e5b1
mov rdx, qword [rcx]
call qword [rdx + 0x10]
and qword [rsp + 0x60], 0
lea rcx, [rsp + 0x50]
call fcn.10001de98
mov eax, 1
jmp 0x10000e5dc
mov rcx, qword [rsp + 0x780]
xor rcx, rsp
call fcn.10001d950
lea r11, [rsp + 0x790]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret