Function at 0x71045160
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 0x71045660
mov ebx, eax
lea esi, [esi]
nop
add ebx, 2
cmp word [ebx], 0
jne 0x71045180
sub ebx, dword [ebp + 0xc]
sar ebx, 1
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x710451b0
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x710451a0
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 0x710456d7
mov ecx, dword [ebp + 0x14]
mov edx, 0x71065220
mov eax, 0x71065218
mov dword [esp], esi
mov dword [esp + 4], ebx
test ecx, ecx
mov dword [esp + 8], str.SELECT__FROM___PARAMETERS_WHERE_Class_s_AND_Method_s_AND_Direction_s
cmovs 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 + 0xc], eax
call sym._swprintf_1
lea eax, [ebp - 0x34]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._exec_query
mov dword [esp], esi
mov ebx, eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x44], eax
call eax
test ebx, ebx
je 0x71045240
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp - 0x34]
xor edi, edi
jmp 0x71045251
inc edi
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 0x71045250
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0xc]
sub esp, 4
test edi, edi
je 0x71045550
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
je 0x71045671
add edi, 2
cmp word [edi], 0
jne 0x71045290
sub edi, dword [ebp + 0xc]
sar edi, 1
add edi, 0xf
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x710452c0
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x710452b0
sub eax, dword [ebp + 0x10]
sar eax, 1
add edi, eax
lea eax, [edi + edi]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
mov esi, eax
test eax, eax
je 0x7104567b
cmp dword [ebp + 0x14], 1
mov edx, 0x7106522e
mov dword [esp + 4], edi
mov eax, 0x71065228
cmovne eax, edx
mov dword [esp + 8], str.___s__s__s
mov dword [esp], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
call sym._swprintf_1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsupr]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x7104567b
mov esi, dword [ebp - 0x34]
xor edi, edi
jmp 0x71045331
inc edi
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 0x71045330
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0xc]
lea eax, [edi*8]
mov dword [ebp - 0x2c], edi
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x710456c3
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 0x710456cd
mov dword [ebp - 0x40], esi
lea edi, [ebp - 0x28]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
jmp 0x710453ca
mov dword [esp], eax
inc ebx
call sym._get_type_size
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 0x710455e1
mov eax, dword [ebp - 0x30]
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 0x71045578
mov eax, dword [ebp - 0x20]
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]
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], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x71065260
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
jne 0x71045578
mov eax, dword [ebp - 0x20]
mov dword [esi + ebx*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], 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 0x71045578
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + ebx*8 + 4]
test edx, edx
je 0x710453b0
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x3c]
cmp eax, 0x12
je 0x71045548
ja 0x71045500
cmp eax, 2
je 0x71045548
cmp eax, 3
jne 0x71045505
mov dword [ecx], edx
jmp 0x710453b0
cmp eax, 0x13
je 0x710454f7
test byte [0x71060058], 1
je 0x710453b0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x71064eee
mov dword [esp + 8], str.set_default_value
mov dword [esp + 4], 0x71060058
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [esi + ebx*8 + 4]
jmp 0x710453b0
mov word [ecx], dx
jmp 0x710453b0
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, ebx
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 edi, dword [ebp - 0x44]
mov dword [ebp - 0x3c], edx
lea ebx, [esi + ebx*8]
lea esi, [esi]
lea esi, [esi]
mov edx, dword [ebx]
mov dword [esp], edx
call edi
mov edx, ebx
sub ebx, 8
cmp esi, edx
jne 0x71045590
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x44]
mov dword [esp], eax
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 edx, dword [ebp - 0x3c]
sub esp, 4
mov ebx, edx
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._create_table
mov esi, eax
test eax, eax
je 0x71045693
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._add_table
test eax, eax
je 0x71045667
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 sym._get_object
mov ebx, eax
jmp 0x710455cc
xor ebx, ebx
jmp 0x7104518e
mov dword [esp], esi
call sym._free_table
jmp 0x7104562f
mov edi, 0xf
jmp 0x710452a1
mov eax, dword [ebp - 0x34]
mov ebx, 0x8007000e
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x7104522e
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], ebx
mov ebx, 0x8007000e
mov dword [esp], eax
call sym._free_columns
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 0x710455cc
mov edx, 0x8007000e
jmp 0x710455b6
mov edx, 0x8007000e
jmp 0x7104557a
mov ebx, 0x8007000e
jmp 0x7104522e