Function at 0x100385f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062135
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10088020]
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 esi, eax
mov eax, 0x2aaaaaab
imul ecx, esi, 0x64
imul ecx
mov ecx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, 0x60
lea edx, [ebp - 0x24]
mov dword [ebp - 0x68], eax
sete byte [ebp - 0x59]
call fcn.10021e10
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
mov esi, dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
push eax
push str.AI_SYSTEM_DPI
push edi
call esi
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0x24]
call fcn.10021e10
lea eax, [ebp - 0x24]
push eax
push str.AI_SYSTEM_DPI_SCALE
push edi
call esi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
push 0x100707ac
push str.AI_BITMAP_DISPLAY_MODE
mov dword [ebp - 0x60], 0
push edi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x58], 0
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
cmp eax, 0xea
jne case.0x10038731.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 - 0x60], eax
push ecx
push eax
push str.AI_BITMAP_DISPLAY_MODE
push edi
mov dword [ebp - 0x64], esi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
test eax, eax
jne 0x10038726
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x58]
push 0xa
mov dword [ebp - 0x58], 0xffffffff
call fcn.10026db0
add esp, 4
jmp 0x10038728
xor eax, eax
xor edi, edi
xor esi, esi
cmp eax, 3
ja case.default.0x10038731
jmp dword [eax*4 + 0x100388b8]
mov edi, 0x100000
xor esi, esi
jmp case.default.0x10038731
xor edi, edi
mov esi, 0x100000
jmp case.default.0x10038731
xor edi, edi
xor esi, esi
jmp case.default.0x10038731
movzx esi, byte [ebp - 0x59]
xor edi, edi
xor esi, 1
shl esi, 0x14
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x74]
mov ecx, dword [ebp + 8]
mov edx, edi
push eax
push str.SELECT__FROM__Control__WHERE__Type___Bitmap
push esi
call fcn.10038280
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x74]
push eax
push str.SELECT__FROM__Control__WHERE__Type___Icon
push esi
mov edx, edi
call fcn.10038280
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x74]
push eax
push str.SELECT__FROM__Control__WHERE__Type___PushButton
push esi
mov edx, edi
call fcn.10038280
mov eax, dword [ebp - 0x70]
add esp, 0x24
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x58], eax
cmp edi, eax
je 0x10038869
push edi
lea ecx, [ebp - 0x3c]
call fcn.10005780
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10038851
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
cmp word [eax], 0x5b
jne 0x10038851
lea eax, [ecx - 2]
push eax
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10006210
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
cmp eax, esi
je 0x10038834
mov ecx, eax
call fcn.100055a0
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.100055a0
push dword [ebp - 0x68]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x3c]
call fcn.10037dc0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.100055a0
add edi, 0x18
cmp edi, dword [ebp - 0x58]
jne 0x100387c5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.10006140
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1003888a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x64], 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.10044a98
mov esp, ebp
pop ebp
ret 4