Function at 0x1000c9d0
Capabilities:
Reference sql statements

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x5c
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 8]
cmp word [esi], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x48], eax
je 0x1000cf08
mov ebx, esi
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0
jne 0x1000ca10
sub ebx, esi
sar ebx, 1
mov eax, dword [ebp - 0x30]
cmp word [eax], 0
je 0x1000ca42
lea esi, cs:[esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x1000ca30
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
add ebx, eax
add ebx, 0x50
lea eax, [ebx + ebx]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x44], eax
call eax
mov edi, eax
test eax, eax
je 0x1000cf27
mov ecx, dword [ebp - 0x38]
mov eax, 0x10029324
test ecx, ecx
mov ecx, 0x1002931c
cmovns eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.SELECT__FROM___PARAMETERS_WHERE_Class_s_AND_Method_s_AND_Direction_s
call fcn.10009f10
lea eax, [ebp - 0x2c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.10011770
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [esp], edi
mov edi, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x40], edi
call edi
test ebx, ebx
je 0x1000cad0
mov eax, dword [ebp - 0x34]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov edi, dword [ebp - 0x2c]
jmp 0x1000cadb
add ebx, 1
mov eax, dword [edi]
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [eax + 0x1c]
sub esp, 0xc
test eax, eax
je 0x1000cad8
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 0xc]
sub esp, 4
test ebx, ebx
je 0x1000cda0
cmp word [esi], 0
mov eax, esi
mov ecx, 0xf
je 0x1000cb30
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000cb20
sub eax, esi
sar eax, 1
lea ecx, [eax + 0xf]
mov eax, dword [ebp - 0x30]
cmp word [eax], 0
je 0x1000cb52
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000cb40
mov edi, dword [ebp - 0x30]
sub eax, edi
sar eax, 1
add ecx, eax
lea eax, [ecx + ecx]
mov dword [ebp - 0x4c], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
mov ecx, dword [ebp - 0x4c]
test eax, eax
mov ebx, eax
je 0x1000cf19
cmp dword [ebp - 0x38], 1
mov edx, 0x1002932c
mov eax, 0x10029332
cmove eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.___s__s__s
mov dword [esp], ebx
call fcn.10009f10
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__wcsupr]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1000cf19
mov esi, dword [ebp - 0x2c]
xor ebx, ebx
jmp 0x1000cbc3
add ebx, 1
mov eax, dword [esi]
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [eax + 0x1c]
sub esp, 0xc
test eax, eax
je 0x1000cbc0
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0xc]
lea eax, [ebx*8]
mov dword [ebp - 0x24], ebx
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
mov edi, eax
test eax, eax
je 0x1000cf65
mov dword [esp + 4], 8
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_calloc]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1000cf6f
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0
jmp 0x1000cc54
mov dword [esp], eax
add esi, 1
call fcn.1001c7b0
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x24]
mov eax, dword [ecx]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], ecx
call dword [eax + 0x10]
mov edx, dword [ebp - 0x24]
sub esp, 0x14
test edx, edx
je 0x1000ce84
mov eax, dword [ebp - 0x28]
lea ebx, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], str.Parameter
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
jne 0x1000ce18
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [edi + esi*8], eax
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x28]
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10029364
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
jne 0x1000ce18
mov eax, dword [ebp - 0x18]
mov dword [edi + esi*8 + 4], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], str.DefaultValue
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
jne 0x1000ce18
mov edx, dword [ebp - 0x18]
mov eax, dword [edi + esi*8 + 4]
test edx, edx
je 0x1000cc38
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x30]
add ecx, ebx
cmp eax, 0x12
je 0x1000cd90
ja 0x1000cdd0
cmp eax, 2
je 0x1000cd90
cmp eax, 3
jne 0x1000cdd5
mov dword [ecx], edx
jmp 0x1000cc38
mov word [ecx], dx
jmp 0x1000cc38
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x34]
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
cmp eax, 0x13
je 0x1000cd86
test byte [0x100217c0], 1
je 0x1000cc38
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x10029000
mov dword [esp + 8], str.set_default_value
mov dword [esp + 4], 0x100217c0
mov dword [esp], 0
call fcn.1000a390
mov eax, dword [edi + esi*8 + 4]
jmp 0x1000cc38
mov dword [ebp - 0x34], esi
mov edx, eax
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x30], edx
lea ebx, [edi + eax*8]
lea esi, [esi]
mov edx, dword [ebx]
mov dword [esp], edx
call esi
mov edx, ebx
sub ebx, 8
cmp edx, edi
jne 0x1000ce30
mov dword [esp], edi
mov esi, dword [ebp - 0x40]
call esi
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x30]
sub esp, 4
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov eax, dword [ebp - 0x34]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x34], esi
mov dword [esp + 0x18], 0
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.1001d220
mov ebx, eax
test eax, eax
je 0x1000cf33
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.1001d290
test eax, eax
je 0x1000cf0f
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x48]
sub esp, 4
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.1001ae30
mov dword [ebp - 0x34], eax
jmp 0x1000ce6a
xor ebx, ebx
jmp 0x1000ca1d
mov dword [esp], ebx
call fcn.1001d030
jmp 0x1000ced2
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [ebp - 0x34], 0x8007000e
jmp 0x1000cac1
mov eax, dword [ebp - 0x34]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.1001cfe0
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push eax
mov dword [ebp - 0x34], 0x8007000e
jmp 0x1000ce6a
mov edx, 0x8007000e
jmp 0x1000ce53
mov edx, 0x8007000e
jmp 0x1000ce1d