Function at 0x10020840
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e71fd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x102f8384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
jne 0x10020996
call fcn.100200c0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [0x102fbc1c], eax
mov dword [0x102fbc20], 0
mov dword [0x102fbc24], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 2
push 0
mov dword [0x102fbc28], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
test eax, eax
setns cl
mov dword [0x102fbb64], 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 0x10020908
push str.GetDpiForMonitor
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10020901
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 0x1002092f
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 [0x102e7690]
divsd xmm1, qword [0x102e7698]
maxsd xmm0, xmm1
movsd qword [0x102fbb68], xmm0
mov eax, dword [eax]
call eax
mov dword [0x102fbb60], eax
mov esi, dword [eax]
call fcn.10020c40
mov ecx, dword [0x102fbb60]
push eax
mov eax, dword [esi + 0x34]
call eax
test eax, eax
je 0x10020a79
call fcn.10020770
test eax, eax
jne 0x10020996
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 [0x102fbb60]
mov esi, dword [edi]
call fcn.1001fb20
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 0x100209cd
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 0x100209d4
mov dword [ebp + 8], 1
test esi, esi
jne 0x10020a63
test eax, eax
je 0x100209e7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ecx, 0x102fbb94
call fcn.100283f0
mov ecx, dword [0x102fbb60]
test ecx, ecx
je 0x10020a0a
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [0x102fbb60], 0
mov ecx, 0x102fbbf4
call fcn.100216d0
mov ecx, 0x102fbb40
call fcn.100254f0
push 0x102fbb70
mov dword [ebp + 0xc], 0x102fbb70
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [0x102fbb88]
test eax, eax
je 0x10020a51
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [0x102fbb88], 0
mov dword [ebp - 4], 0xffffffff
push 0x102fbb70
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
mov ecx, dword [0x102fbb60]
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.101c3949
int3