Function at 0x1000bf90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100234ad
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1002f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
jne 0x1000c0f5
call fcn.1000b880
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [0x1002fdfc], eax
mov dword [0x1002fe00], 0
mov dword [0x1002fe04], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 2
push 0
mov dword [0x1002fe08], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
test eax, eax
setns cl
mov dword [0x1002fd44], 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 0x1000c058
push str.GetDpiForMonitor
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000c051
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 0x1000c07f
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 [0x100280b8]
divsd xmm1, qword [0x100280c0]
maxsd xmm0, xmm1
movsd qword [0x1002fd48], xmm0
mov eax, dword [eax]
call eax
mov dword [0x1002fd40], eax
mov esi, dword [eax]
call fcn.1000c3a0
mov ecx, dword [0x1002fd40]
push eax
mov eax, dword [esi + 0x34]
call eax
test eax, eax
jne 0x1000c0d9
mov ecx, dword [0x1002fd40]
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.1000bea0
test eax, eax
jne 0x1000c0f5
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 [0x1002fd40]
mov esi, dword [edi]
call fcn.1000b2b0
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 0x1000c12c
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 0x1000c133
mov dword [ebp + 8], 1
test esi, esi
jne 0x1000c1c2
test eax, eax
je 0x1000c146
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ecx, 0x1002fd74
call fcn.10019790
mov ecx, dword [0x1002fd40]
test ecx, ecx
je 0x1000c169
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [0x1002fd40], 0
mov ecx, 0x1002fdd4
call fcn.10012e10
mov ecx, 0x1002fd20
call fcn.10016bb0
push 0x1002fd50
mov dword [ebp + 0xc], 0x1002fd50
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [0x1002fd68]
test eax, eax
je 0x1000c1b0
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [0x1002fd68], 0
mov dword [ebp - 4], 0xffffffff
push 0x1002fd50
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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