Function at 0x1000c890
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 + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x10]
cmp word [esi], 0
mov edi, dword [ecx + 8]
mov dword [ebp - 0x44], eax
je 0x1000cda0
mov eax, esi
nop
add eax, 2
cmp word [eax], 0
jne 0x1000c8c8
sub eax, esi
sar eax, 1
cmp word [edi], 0
je 0x1000c8ef
mov edx, edi
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000c8e0
sub edx, edi
sar edx, 1
add eax, edx
lea edx, [eax + 0x50]
mov dword [ebp - 0x30], edx
lea eax, [edx + edx]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x38], eax
call eax
mov ebx, eax
test eax, eax
je 0x1000cdfb
mov edx, dword [ebp - 0x34]
mov eax, 0x10029330
test edx, edx
mov edx, dword [ebp - 0x30]
jns 0x1000c923
mov eax, 0x10029338
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.SELECT__FROM___PARAMETERS_WHERE_Class_s_AND_Method_s_AND_Direction_s
mov dword [esp], ebx
call fcn.10009bc0
lea eax, [ebp - 0x2c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.10011350
mov ecx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], ecx
call ecx
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1000c980
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov ebx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x4c], esi
mov esi, ebx
mov ebx, eax
jmp 0x1000c991
inc ebx
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 0x1000c990
mov dword [ebp - 0x48], ebx
mov ebx, esi
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1000cc40
cmp word [esi], 0
mov eax, esi
mov ebx, 0xf
je 0x1000c9f0
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000c9e0
sub eax, esi
sar eax, 1
lea ebx, [eax + 0xf]
cmp word [edi], 0
je 0x1000ca07
mov eax, edi
add eax, 2
cmp word [eax], 0
jne 0x1000c9f8
sub eax, edi
sar eax, 1
add ebx, eax
lea eax, [ebx + ebx]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
mov edx, eax
test eax, eax
je 0x1000cdb1
cmp dword [ebp - 0x34], 1
je 0x1000cc64
mov eax, 0x10029346
mov dword [esp], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.___s__s__s
mov dword [esp + 4], ebx
mov dword [ebp - 0x34], edx
call fcn.10009bc0
mov edx, dword [ebp - 0x34]
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll__wcsupr]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1000cdb1
mov ebx, dword [ebp - 0x2c]
xor edi, edi
jmp 0x1000ca71
inc edi
mov eax, dword [ebx]
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [eax + 0x1c]
sub esp, 0xc
test eax, eax
je 0x1000ca70
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0xc]
lea eax, [edi*8]
mov dword [ebp - 0x24], edi
push ecx
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
mov esi, eax
test eax, eax
je 0x1000ce11
mov dword [esp + 4], 8
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_calloc]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1000ce07
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0
lea edi, [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
jmp 0x1000cb05
mov dword [esp], eax
inc ebx
call fcn.1001c5a0
mov edx, dword [ebp - 0x34]
add edx, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push ecx
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 + 8], 1
mov dword [esp + 0xc], edx
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 0x1000cd24
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
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 0x1000ccc0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [esi + ebx*8], eax
mov dword [esp], edi
call dword [sym.imp.oleaut32.dll_VariantClear]
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10029378
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
jne 0x1000ccc0
mov eax, dword [ebp - 0x18]
mov dword [esi + ebx*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], edi
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 0x1000ccc0
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + ebx*8 + 4]
test edx, edx
je 0x1000cae8
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x34]
cmp eax, 0x12
je 0x1000ccb8
ja 0x1000cc70
cmp eax, 2
je 0x1000ccb8
cmp eax, 3
jne 0x1000cc75
mov dword [ecx], edx
jmp 0x1000cae8
mov eax, dword [ebp - 0x44]
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 - 0x30]
push esi
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, 0x10029340
jmp 0x1000ca2b
cmp eax, 0x13
je 0x1000cc38
test byte [0x10021c80], 1
je 0x1000cae8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x10029020
mov dword [esp + 8], str.set_default_value
mov dword [esp + 4], 0x10021c80
mov dword [esp], 0
call fcn.10009ff0
mov eax, dword [esi + ebx*8 + 4]
jmp 0x1000cae8
mov word [ecx], dx
jmp 0x1000cae8
mov edx, eax
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x30], edx
lea ebx, [esi + eax*8]
lea esi, [esi]
mov edx, dword [ebx]
mov dword [esp], edx
call edi
mov edx, ebx
sub ebx, 8
cmp edx, esi
jne 0x1000ccd8
mov edi, dword [ebp - 0x40]
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call edi
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]
push eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 1
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [ebp - 0x30], ebx
call fcn.1001d130
mov ebx, eax
test eax, eax
je 0x1000cdc9
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.1001d1d0
test eax, eax
je 0x1000cda7
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x44]
push edx
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.1001ab50
mov dword [ebp - 0x30], eax
jmp 0x1000cd0a
xor eax, eax
jmp 0x1000c8d5
mov dword [esp], ebx
call fcn.1001ce00
jmp 0x1000cd72
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [ebp - 0x30], 0x8007000e
push ebx
jmp 0x1000c971
mov eax, dword [ebp - 0x30]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.1001cdb0
mov eax, dword [ebp - 0x48]
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]
mov dword [ebp - 0x30], 0x8007000e
push ecx
jmp 0x1000cd0a
mov dword [ebp - 0x30], 0x8007000e
jmp 0x1000c971
mov edx, 0x8007000e
jmp 0x1000ccc5
mov edx, 0x8007000e
jmp 0x1000ccfb