Function at 0x1000c780
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 edi, dword [ecx + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], edi
mov edi, dword [ecx + 0xc]
cmp word [eax], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edi
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x48], edi
je 0x1000ccb0
mov ebx, eax
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0
jne 0x1000c7c0
mov eax, dword [ebp - 0x34]
sub ebx, eax
sar ebx, 1
mov eax, dword [ebp - 0x30]
cmp word [eax], 0
je 0x1000c7f2
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000c7e0
mov edi, dword [ebp - 0x30]
sub eax, edi
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 esi, eax
test eax, eax
je 0x1000cccf
mov ecx, dword [ebp - 0x38]
mov edx, 0x10029a1c
mov eax, 0x10029a24
test ecx, ecx
cmovns eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], str.SELECT__FROM___PARAMETERS_WHERE_Class_s_AND_Method_s_AND_Direction_s
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.10009cc0
lea eax, [ebp - 0x2c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.100114f0
mov dword [esp], esi
mov ebx, eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x40], eax
call eax
test ebx, ebx
je 0x1000c880
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov edi, dword [ebp - 0x2c]
xor esi, esi
jmp 0x1000c893
add esi, 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 0x1000c890
mov edx, dword [edi]
mov dword [esp], edi
call dword [edx + 0xc]
sub esp, 4
test esi, esi
je 0x1000cb60
mov edi, dword [ebp - 0x34]
mov ecx, 0xf
cmp word [edi], 0
mov eax, edi
je 0x1000c8f3
lea esi, cs:[esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000c8e0
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 1
lea ecx, [eax + 0xf]
mov eax, dword [ebp - 0x30]
cmp word [eax], 0
je 0x1000c912
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000c900
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 esi, eax
je 0x1000ccc1
cmp dword [ebp - 0x38], 1
mov edx, 0x10029a2c
mov eax, 0x10029a32
cmove eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], str.___s__s__s
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.10009cc0
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsupr]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1000ccc4
xor esi, esi
jmp 0x1000c983
add esi, 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 0x1000c980
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 0xc]
lea eax, [esi*8]
sub esp, 4
mov dword [ebp - 0x24], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1000cd09
mov dword [esp + 4], 8
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_calloc]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1000cd13
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
jmp 0x1000ca14
mov dword [esp], eax
add ebx, 1
call fcn.1001c9c0
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 - 0x34]
lea edx, [ebp - 0x28]
lea esi, [ebp - 0x24]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
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 0x1000cc33
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
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 0x1000cbd0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [edi + ebx*8], eax
mov dword [esp], esi
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], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10029a64
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
jne 0x1000cbd0
mov eax, dword [ebp - 0x18]
mov dword [edi + 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], esi
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 0x1000cbd0
mov edx, dword [ebp - 0x18]
mov eax, dword [edi + ebx*8 + 4]
test edx, edx
je 0x1000c9f8
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
add ecx, esi
cmp eax, 0x12
je 0x1000cb50
ja 0x1000cb88
cmp eax, 2
je 0x1000cb50
cmp eax, 3
jne 0x1000cb8d
mov dword [ecx], edx
jmp 0x1000c9f8
mov word [ecx], dx
jmp 0x1000c9f8
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, ebx
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 0x1000cb46
test byte [0x10021c80], 1
je 0x1000c9f8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x10029700
mov dword [esp + 8], str.set_default_value
mov dword [esp + 4], 0x10021c80
mov dword [esp], 0
call fcn.1000a130
mov eax, dword [edi + ebx*8 + 4]
jmp 0x1000c9f8
mov edx, eax
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x30], edx
mov edi, dword [ebp - 0x40]
lea ebx, [esi + ebx*8]
nop
mov edx, dword [ebx]
mov dword [esp], edx
call edi
mov edx, ebx
sub ebx, 8
cmp edx, esi
jne 0x1000cbe0
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov edi, dword [ebp - 0x40]
call edi
mov eax, dword [ebp - 0x38]
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]
mov ebx, dword [ebp - 0x30]
sub esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.1001d570
mov esi, eax
test eax, eax
je 0x1000ccd9
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.1001d650
test eax, eax
je 0x1000ccb7
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.1001afd0
mov ebx, eax
jmp 0x1000cc1a
xor ebx, ebx
jmp 0x1000c7d0
mov dword [esp], esi
call fcn.1001d220
jmp 0x1000cc81
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 8]
sub esp, 4
mov ebx, 0x8007000e
jmp 0x1000c870
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x44]
mov ebx, 0x8007000e
mov dword [esp], eax
call fcn.1001d1d0
mov eax, dword [ebp - 0x38]
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
jmp 0x1000cc1a
mov edx, 0x8007000e
jmp 0x1000cc06
mov edx, 0x8007000e
jmp 0x1000cbd2