Function at 0x10045de0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a055
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100c0040]
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.1002e8f0
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.1002e8f0
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 0x100a416c
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.0x10045f1e.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 0x10045f13
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
push 0xa
mov dword [ebp - 0x58], 0xffffffff
call fcn.10033e40
add esp, 4
jmp 0x10045f15
xor eax, eax
xor edi, edi
xor esi, esi
cmp eax, 3
ja case.default.0x10045f1e
jmp dword [eax*4 + 0x100460a8]
mov edi, 0x100000
xor esi, esi
jmp case.default.0x10045f1e
xor edi, edi
mov esi, 0x100000
jmp case.default.0x10045f1e
xor edi, edi
xor esi, esi
jmp case.default.0x10045f1e
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.10045a70
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.10045a70
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.10045a70
mov eax, dword [ebp - 0x6c]
add esp, 0x24
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
cmp edi, eax
je 0x1004605a
push edi
lea ecx, [ebp - 0x3c]
call fcn.100057f0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10046042
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
cmova eax, dword [ebp - 0x3c]
cmp word [eax], 0x5b
jne 0x10046042
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 0x10046025
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.10045590
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.10005610
add edi, 0x18
cmp edi, dword [ebp - 0x64]
jne 0x10045fb6
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 0x1004607b
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.10053e7d
mov esp, ebp
pop ebp
ret 4