Function at 0x10007be0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024cbd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1003300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
jne 0x10007d62
mov esi, dword [ebp + 8]
test esi, esi
jne 0x10007c1f
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.10007f80
call fcn.10006d20
mov dword [ebp - 0x18], eax
mov dword [0x10034b0c], esi
mov dword [0x10034b10], 0
mov dword [0x10034b14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 2
push 0
mov dword [0x10034b18], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
test eax, eax
setns cl
mov dword [0x10034a54], 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 0x10007cd4
push str.GetDpiForMonitor
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10007ccd
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 0x10007cfb
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 [0x1002dca0]
divsd xmm1, qword [0x1002dca8]
maxsd xmm0, xmm1
movsd qword [0x10034a58], xmm0
mov eax, dword [eax]
call eax
mov dword [0x10034a50], eax
mov esi, dword [eax]
call fcn.100075b0
mov ecx, dword [0x10034a50]
push eax
mov eax, dword [esi + 0x34]
call eax
test eax, eax
je 0x10007e4a
call fcn.10007310
test eax, eax
jne 0x10007d62
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 [0x10034a50]
mov esi, dword [edi]
call fcn.10006780
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 0x10007d99
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 0x10007da0
mov dword [ebp + 8], 1
test esi, esi
jne 0x10007e34
test eax, eax
je 0x10007db3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ecx, 0x10034a84
call fcn.1000de30
mov ecx, dword [0x10034a50]
test ecx, ecx
je 0x10007dd6
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [0x10034a50], 0
mov ecx, 0x10034ae4
call fcn.10008130
mov ecx, 0x10034a30
call fcn.1000bff0
push 0x10034a60
mov dword [ebp + 0xc], 0x10034a60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [0x10034a78]
test eax, eax
je 0x10007e1d
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [0x10034a78], 0
mov dword [ebp - 4], 0xffffffff
push 0x10034a60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.10007a60
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 [0x10034a50]
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.10016609
int3