Function at 0x418620
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
call fcn.00417f10
mov dword [ebp - 8], eax
call fcn.00428ea5
mov esi, dword [eax]
call fcn.00428e9f
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov dword [0x638f6c], ecx
mov dword [0x638f70], edx
mov dword [0x638f74], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 2
push 0
mov dword [0x638f78], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
test eax, eax
push 0x445040
setns cl
mov dword [0x638eb4], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4186a1
push str.SetProcessDpiAwareness
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41869a
push 2
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0x445040
mov edi, eax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4186f2
push 0x445058
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
test eax, eax
je 0x4186eb
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 2
push edi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x418719
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 [0x62fff0]
divsd xmm0, qword [0x62fff8]
comisd xmm1, xmm0
jbe 0x418741
movsd qword [0x638eb8], xmm1
jmp 0x418749
movsd qword [0x638eb8], xmm0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call eax
mov dword [0x638eb0], eax
mov esi, dword [eax]
call fcn.00418aa0
mov ecx, dword [0x638eb0]
push eax
mov eax, dword [esi + 0x34]
call eax
test eax, eax
je 0x4188c6
call fcn.00418550
test eax, eax
jne 0x418789
call fcn.0041b840
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x41ca20
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x10], 0
je 0x4188b7
mov esi, dword [0x638eb0]
mov edi, dword [esi]
call fcn.00417970
push eax
mov eax, dword [edi + 0x34]
mov ecx, esi
call eax
push 0
neg eax
push 0
sbb esi, esi
lea eax, [ebp - 0x34]
and esi, dword [0x638eb0]
push 0
push eax
mov dword [ebp + 8], esi
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4188ac
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
nop dword [eax]
test esi, esi
je 0x418821
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x28]
mov ecx, esi
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x4c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x418891
mov eax, dword [ebp - 0x30]
cmp eax, 0x200
jb 0x418832
cmp eax, 0x20e
jbe 0x41883c
add eax, 0xffffff00
cmp eax, 9
ja 0x41887d
mov esi, dword [ebp - 0x34]
nop
push 0xffffffffffffffeb
push esi
call edi
cmp eax, 0x12d12ab
jne 0x418864
push eax
lea eax, [ebp - 0x34]
push eax
push 0x9fff
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0x12d12ab
je 0x418891
push 0xfffffffffffffff0
push esi
call edi
test eax, 0x40000000
je 0x41887d
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x418840
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x418800
test esi, esi
je 0x4188b7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
call fcn.0041b840
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [0x638eb0]
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.00428e70
int3