Function at 0x1003fc00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ae65
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
mov eax, 0x2aaaaaab
imul ecx, edi, 0x64
mov dword [ebp - 0x64], edi
imul ecx
mov ecx, edi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x74], esi
call fcn.100286f0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push str.AI_SYSTEM_DPI
push edi
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
lea edx, [ebp - 0x24]
mov ecx, esi
call fcn.100286f0
lea eax, [ebp - 0x24]
push eax
push str.AI_SYSTEM_DPI_SCALE
push edi
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
push 0x10093cf4
push str.AI_BITMAP_DISPLAY_MODE
mov dword [ebp - 0x5c], 0
push edi
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
cmp eax, 0xea
jne case.0x1003fd3e.0
mov esi, dword [ebp - 0x58]
xor ecx, ecx
inc esi
mov edx, 2
mov eax, esi
mov dword [ebp - 0x58], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], eax
push ecx
push eax
push str.AI_BITMAP_DISPLAY_MODE
push edi
mov dword [ebp - 0x60], esi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
test eax, eax
jne 0x1003fd33
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
push 0xa
mov dword [ebp - 0x58], 0xffffffff
call fcn.1002dc60
add esp, 4
jmp 0x1003fd35
xor eax, eax
xor edi, edi
xor esi, esi
cmp eax, 3
ja case.default.0x1003fd3e
jmp dword [eax*4 + 0x1003fec8]
mov edi, 0x100000
xor esi, esi
jmp case.default.0x1003fd3e
xor edi, edi
mov esi, 0x100000
jmp case.default.0x1003fd3e
xor edi, edi
xor esi, esi
jmp case.default.0x1003fd3e
xor eax, eax
xor edi, edi
cmp dword [ebp - 0x64], 0x60
mov esi, 0x100000
cmove esi, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
mov ecx, dword [ebp + 8]
mov edx, edi
push eax
push str.SELECT__FROM__Control__WHERE__Type___Bitmap
push esi
call fcn.1003f890
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x70]
push eax
push str.SELECT__FROM__Control__WHERE__Type___Icon
push esi
mov edx, edi
call fcn.1003f890
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x70]
push eax
push str.SELECT__FROM__Control__WHERE__Type___PushButton
push esi
mov edx, edi
call fcn.1003f890
mov eax, dword [ebp - 0x6c]
add esp, 0x24
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
cmp edi, eax
je 0x1003fe7a
push edi
lea ecx, [ebp - 0x3c]
call fcn.100057f0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1003fe62
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
cmova eax, dword [ebp - 0x3c]
cmp word [eax], 0x5b
jne 0x1003fe62
lea eax, [ecx - 2]
push eax
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10006260
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
cmp eax, esi
je 0x1003fe45
mov ecx, eax
call fcn.10005610
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.10005610
push dword [ebp - 0x74]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x3c]
call fcn.1003f3b0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.10005610
add edi, 0x18
cmp edi, dword [ebp - 0x64]
jne 0x1003fdd6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.10006190
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1003fe9b
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x5c], 0
xor eax, eax
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d40a
mov esp, ebp
pop ebp
ret 4