Function at 0x438f20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a9ff
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x4c100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
jne 0x438f55
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 8
push eax
mov dword [ebp - 0x24], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
sub esp, 0xc
call fcn.00439a30
call fcn.004301a0
mov dword [ebp - 0x14], eax
call fcn.0047b8a5
mov esi, dword [eax]
call fcn.0047b89f
mov ecx, dword [eax]
mov dword [0x4c529c], edi
mov dword [0x4c52a0], ecx
mov dword [0x4c52a4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 2
push 0
mov dword [0x4c52a8], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
test eax, eax
setns cl
mov dword [0x4c51e4], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push str.SHCore.dll
mov edi, eax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x439011
push str.GetDpiForMonitor
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x439008
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 2
push edi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x439038
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 [0x4ae0b8]
divsd xmm0, qword [0x4ae0d8]
comisd xmm1, xmm0
jbe 0x439060
movsd qword [0x4c51e8], xmm1
jmp 0x439068
movsd qword [0x4c51e8], xmm0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call eax
mov dword [0x4c51e0], eax
mov esi, dword [eax]
call fcn.00430ab0
mov ecx, dword [0x4c51e0]
push eax
mov eax, dword [esi + 0x34]
call eax
test eax, eax
je 0x43948f
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
call fcn.00430820
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
mov dword [ebp + 8], esi
test eax, eax
je 0x4393fd
mov esi, dword [0x4c51e0]
mov edi, dword [esi]
call fcn.0042fc00
push eax
mov eax, dword [edi + 0x34]
mov ecx, esi
call eax
neg eax
sbb ecx, ecx
and ecx, dword [0x4c51e0]
cmp dword [0x4c52ec], 0
mov dword [ebp - 0x14], ecx
je 0x4393eb
mov dword [ebp - 0x64], vtable.WTL::CMessageLoop.0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 4], 2
mov dword [ebp - 0x64], 0x4acb84
mov dword [ebp - 4], 3
mov dword [ebp - 0x64], 0x4acb5c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 4
mov edi, dword [0x4c5184]
add edi, 0x10
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 6
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x4c52e4]
mov dword [ebp - 0x18], esi
push 4
mov dword [ebp + 8], eax
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.0047b8ab
add esp, 0xc
test eax, eax
je 0x4391fe
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.0047b8ab
add esp, 0xc
test eax, eax
je 0x4391fe
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
lea ecx, [eax*4]
mov eax, dword [esi]
add eax, ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
je 0x4391e0
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov byte [ebp - 4], 6
mov eax, dword [esi + 4]
add eax, ecx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 9
je 0x4391f7
lea ecx, [ebp - 0x64]
mov dword [eax], ecx
mov byte [ebp - 4], 6
inc dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x24], 0
mov byte [ebp - 4], 4
mov edi, 1
xor esi, esi
test edi, edi
je 0x43925a
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x43925a
mov eax, dword [ebp - 0x64]
mov ecx, esi
inc esi
push ecx
lea ecx, [ebp - 0x64]
mov eax, dword [eax + 8]
cmp eax, fcn.00438d80
jne 0x439249
call fcn.00438d80
jmp 0x43924b
call eax
mov ecx, eax
xor eax, eax
test ecx, ecx
cmovne eax, edi
mov edi, eax
test edi, edi
jne 0x439218
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x439214
test eax, eax
je 0x43931a
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 4]
cmp eax, fcn.00438e90
jne 0x439292
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.00438e90
jmp 0x43929b
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x64]
call eax
test eax, eax
jne 0x4392b3
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
cmp eax, method.WTL::CMessageLoop.virtual_12
jne 0x4392f8
mov eax, dword [ebp - 0x44]
cmp eax, 0x118
ja 0x4392d8
je 0x4392f4
cmp eax, 0xf
je 0x4392f4
cmp eax, 0xa0
jmp 0x4392dd
cmp eax, 0x200
je 0x4392f4
mov ecx, 1
xor eax, eax
test ecx, ecx
mov edi, ecx
cmove eax, esi
mov esi, eax
jmp 0x439214
xor ecx, ecx
jmp 0x439303
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x64]
call eax
mov ecx, eax
test ecx, ecx
je 0x43930c
mov edi, 1
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x439214
mov eax, dword [0x4c5184]
mov esi, dword [ebp - 0x40]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov byte [ebp - 4], 0xc
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x4c52e4]
xor ecx, ecx
mov edi, dword [edx + 8]
test edi, edi
jle 0x439371
mov edx, dword [edx]
cmp dword [edx], eax
je 0x439360
inc ecx
add edx, 4
cmp ecx, edi
jl 0x439352
jmp 0x439371
cmp ecx, 0xffffffff
je 0x439371
push ecx
mov ecx, dword [0x4c52e4]
call fcn.00439550
push dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call edi
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x64], vtable.WTL::CMessageLoop.0
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4393ac
push eax
call fcn.0047ab10
add esp, 4
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4393d8
push eax
call fcn.0047ab10
add esp, 4
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
jmp 0x4393f4
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ecx, ecx
je 0x4393fd
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, 0x4c5214
call fcn.00447c10
mov ecx, dword [0x4c51e0]
test ecx, ecx
je 0x439420
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [0x4c51e0], 0
mov ecx, 0x4c5274
call fcn.0043c390
mov ecx, 0x4c51c0
call fcn.00440150
push 0x4c51f0
mov dword [ebp + 8], 0x4c51f0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0x13
mov eax, dword [0x4c5208]
test eax, eax
je 0x439467
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [0x4c5208], 0
mov dword [ebp - 4], 0xffffffff
push 0x4c51f0
call edi
call fcn.00438c00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [0x4c51e0]
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.0047b870
int3