Function at 0x4092b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4153ed
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x41e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x41760f
push 2
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
add esp, 8
call fcn.00408920
push 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov dword [ebp - 0x20], 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0xff
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
sub esp, 0xc
call fcn.004096c0
mov eax, dword [ebp + 8]
mov dword [0x41ec80], eax
mov eax, dword [ebp + 0xc]
mov dword [0x41ec7c], esi
mov dword [0x41ec84], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 2
push 0
mov dword [0x41ec88], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
test eax, eax
setns cl
mov dword [0x41ebc4], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0x417fe8
mov edi, eax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4093a3
push str.GetDpiForMonitor
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40939a
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 2
push edi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4093ca
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 + 8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp + 8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd xmm1, qword [0x4185d0]
divsd xmm0, qword [0x4185d8]
comisd xmm1, xmm0
jbe 0x4093f2
movsd qword [0x41ebc8], xmm1
jmp 0x4093fa
movsd qword [0x41ebc8], xmm0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call eax
mov dword [0x41ebc0], eax
mov esi, dword [eax]
call fcn.00409190
mov ecx, dword [0x41ebc0]
push eax
mov eax, dword [esi + 0x34]
call eax
test eax, eax
jne 0x409430
mov ecx, dword [0x41ebc0]
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.00408f00
mov dword [ebp + 8], eax
mov eax, dword [0x41e98c]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x41ecc8]
mov byte [ebp - 0x14], 1
test esi, esi
je 0x40947b
cmp dword [esi + 4], 0
jle 0x409479
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x41ecc8]
test esi, esi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
je 0x4094ae
mov eax, dword [esi]
test eax, eax
je 0x409495
push eax
call edi
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0041332e
add esp, 8
push dword [ebp - 0x18]
mov dword [0x41ecc8], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x41ecc4]
test esi, esi
je 0x40950e
mov eax, dword [esi]
test eax, eax
je 0x4094e8
push eax
call edi
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4094fc
push eax
call edi
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.0041332e
add esp, 8
mov esi, dword [0x41ecbc]
test esi, esi
je 0x409543
cmp dword [esi], 0
je 0x409543
nop dword [eax]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40952d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x409520
mov esi, dword [0x41e024]
mov ecx, dword [0x41e028]
cmp esi, ecx
jae 0x40956d
mov eax, dword [esi]
test eax, eax
je 0x409566
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x41e028]
add esi, 4
cmp esi, ecx
jb 0x409553
mov ecx, 0x41ec90
call fcn.00409630
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