Function at 0x1000db50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c65d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
jne 0x1000dcd2
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1000db8f
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 8
push eax
mov dword [ebp - 0x1c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
sub esp, 0xc
call fcn.1000def0
call fcn.10003690
mov dword [ebp - 0x18], eax
mov dword [0x1004004c], esi
mov dword [0x10040050], 0
mov dword [0x10040054], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 2
push 0
mov dword [0x10040058], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
test eax, eax
setns cl
mov dword [0x1003ff94], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push str.SHCore.dll
mov edi, eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000dc44
push str.GetDpiForMonitor
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000dc3d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 2
push edi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1000dc6b
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x10]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mov eax, dword [ebp - 0x18]
movsd xmm0, qword [0x10037020]
divsd xmm1, qword [0x10037028]
maxsd xmm0, xmm1
movsd qword [0x1003ff98], xmm0
mov eax, dword [eax]
call eax
mov dword [0x1003ff90], eax
mov esi, dword [eax]
call fcn.10008b90
mov ecx, dword [0x1003ff90]
push eax
mov eax, dword [esi + 0x34]
call eax
test eax, eax
je 0x1000ddba
call fcn.1000d800
test eax, eax
jne 0x1000dcd2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [0x1003ff90]
mov esi, dword [edi]
call fcn.100030b0
push eax
mov eax, dword [esi + 0x34]
mov ecx, edi
call eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000dd09
push dword [ebp + 0x10]
mov eax, dword [edi]
mov ecx, edi
push esi
push dword [ebp + 8]
mov eax, dword [eax + 0x4c]
call eax
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
jmp 0x1000dd10
mov dword [ebp + 8], 1
test esi, esi
jne 0x1000dda4
test eax, eax
je 0x1000dd23
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ecx, 0x1003ffc4
call fcn.10014ef0
mov ecx, dword [0x1003ff90]
test ecx, ecx
je 0x1000dd46
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [0x1003ff90], 0
mov ecx, 0x10040024
call fcn.1000f350
mov ecx, 0x1003ff70
call fcn.10013160
push 0x1003ffa0
mov dword [ebp + 0xc], 0x1003ffa0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [0x1003ffb8]
test eax, eax
je 0x1000dd8d
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [0x1003ffb8], 0
mov dword [ebp - 4], 0xffffffff
push 0x1003ffa0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.1000d9d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x1003ff90]
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.1001e26a
int3