Function at 0x7104c5f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x7104cb00
mov ebx, eax
lea esi, [esi]
nop
add ebx, 2
cmp word [ebx], 0
jne 0x7104c610
sub ebx, dword [ebp + 0xc]
sar ebx, 1
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x7104c640
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x7104c630
sub eax, dword [ebp + 0x10]
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 - 0x3c], eax
call eax
mov esi, eax
test eax, eax
je 0x7104cb29
mov ecx, dword [ebp + 0x14]
mov eax, 0x7106a130
test ecx, ecx
mov ecx, 0x7106a138
cmovs eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], str.SELECT__FROM___PARAMETERS_WHERE_Class_s_AND_Method_s_AND_Direction_s
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.71049ab0
lea eax, [ebp - 0x34]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.71051310
mov dword [esp], esi
mov edi, eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x44], eax
call eax
test edi, edi
je 0x7104c6d0
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp - 0x34]
xor ebx, ebx
jmp 0x7104c6e3
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 0x7104c6e0
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0xc]
sub esp, 4
test ebx, ebx
je 0x7104c9f0
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x7104cb11
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x7104c728
sub eax, dword [ebp + 0xc]
sar eax, 1
lea ecx, [eax + 0xf]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x7104c758
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x7104c748
sub eax, dword [ebp + 0x10]
sar eax, 1
add ecx, eax
lea eax, [ecx + ecx]
mov dword [ebp - 0x40], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
mov ecx, dword [ebp - 0x40]
test eax, eax
mov ebx, eax
je 0x7104cb1b
cmp dword [ebp + 0x14], 1
mov edx, 0x7106a140
mov eax, 0x7106a146
cmove eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.___s__s__s
mov dword [esp], ebx
call fcn.71049ab0
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__wcsupr]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x7104cb1b
mov esi, dword [ebp - 0x34]
xor ebx, ebx
jmp 0x7104c7cb
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 0x7104c7c8
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0xc]
lea eax, [ebx*8]
mov dword [ebp - 0x2c], ebx
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x7104cb6d
mov dword [esp + 4], 8
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_calloc]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x7104cb63
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
jmp 0x7104c85c
mov dword [esp], eax
add edi, 1
call fcn.7105c300
add dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x2c]
mov eax, dword [ecx]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x30]
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 - 0x2c]
sub esp, 0x14
test edx, edx
je 0x7104ca7f
mov eax, dword [ebp - 0x30]
lea ebx, [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.Parameter
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
jne 0x7104ca18
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [esi + edi*8], eax
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x30]
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], 0x7106a178
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
jne 0x7104ca18
mov eax, dword [ebp - 0x20]
mov dword [esi + edi*8 + 4], eax
mov eax, dword [ebp - 0x30]
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 0x7104ca18
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + edi*8 + 4]
test edx, edx
je 0x7104c840
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x3c]
add ecx, ebx
cmp eax, 0x12
je 0x7104c9e0
ja 0x7104c998
cmp eax, 2
je 0x7104c9e0
cmp eax, 3
jne 0x7104c99d
mov dword [ecx], edx
jmp 0x7104c840
cmp eax, 0x13
je 0x7104c98e
test byte [0x710617c0], 1
je 0x7104c840
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x71069e20
mov dword [esp + 8], str.set_default_value
mov dword [esp + 4], 0x710617c0
mov dword [esp], 0
call fcn.71049f60
mov eax, dword [esi + edi*8 + 4]
jmp 0x7104c840
mov word [ecx], dx
jmp 0x7104c840
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, eax
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], edx
lea ebx, [esi + edi*8]
mov edi, dword [ebp - 0x44]
lea esi, [esi]
lea esi, [esi]
mov edx, dword [ebx]
mov dword [esp], edx
call edi
mov edx, ebx
sub ebx, 8
cmp edx, esi
jne 0x7104ca30
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov edi, dword [ebp - 0x44]
call edi
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x3c]
sub esp, 4
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 1
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.7105cd30
mov ebx, eax
test eax, eax
je 0x7104cb33
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.7105cda0
test eax, eax
je 0x7104cb07
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp + 0x18]
sub esp, 4
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.7105a960
mov edi, eax
jmp 0x7104ca6a
xor ebx, ebx
jmp 0x7104c61e
mov dword [esp], ebx
call fcn.7105cb40
jmp 0x7104cacd
mov ecx, 0xf
jmp 0x7104c739
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov edi, 0x8007000e
jmp 0x7104c6be
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x4c]
mov edi, 0x8007000e
mov dword [esp], eax
call fcn.7105caf0
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push eax
jmp 0x7104ca6a
mov edx, 0x8007000e
jmp 0x7104ca1a
mov edx, 0x8007000e
jmp 0x7104ca56