Function at 0x532d70
Capabilities:
Check for time delay via gettickcount
Check mutex on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6089d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
mov eax, dword [0x65480c]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x2b8], eax
mov al, byte [esi + 0x2bd]
xor ebx, ebx
cmp al, bl
jne 0x5332be
cmp dword [0x68cde4], ebx
je 0x5332d6
cmp dword [0x68cde8], ebx
je 0x5332d6
cmp byte [esi + 0x7a], bl
jne 0x532ddd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
cmp byte [esi + 0x2d4], bl
je 0x532deb
mov byte [esi + 0x80], bl
cmp byte [esi + 0x80], bl
push edi
je 0x532e88
lea edi, [esi + 0x18]
push edi
lea ecx, [ebp - 0x1bc]
push str.Notify
push ecx
call fcn.00418830
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
lea ecx, [ebp - 0x1bc]
mov dword [esi + 0x84], eax
call fcn.0041d780
push str.Mutex
lea edx, [ebp - 0x1bc]
push edi
push edx
call fcn.00412be0
mov eax, dword [eax]
add esp, 0xc
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea ecx, [ebp - 0x1bc]
mov edi, eax
call fcn.0041d780
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x532e85
mov eax, dword [esi + 0x84]
cmp eax, ebx
je 0x532e7d
push ebx
push ebx
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
mov ecx, esi
call fcn.0052bb70
mov dword [esi + 0x7c], edi
cmp dword [0x68be40], ebx
jne 0x532e9c
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x68be40], eax
push 0x100
lea eax, [ebp - 0x1b0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x1b0]
push 0x5c
push ecx
call fcn.005e3c60
lea edx, [ebp - 0x1b0]
push 0x2f
push edx
mov edi, eax
call fcn.005e3c60
add esp, 0x10
cmp edi, eax
jbe 0x532edf
push 0x5c
lea eax, [ebp - 0x1b0]
push eax
jmp 0x532ee8
push 0x2f
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.005e3c60
add esp, 8
cmp eax, ebx
je 0x532ef6
mov byte [eax], bl
mov edx, dword [esi]
lea eax, [ebp - 0x1b0]
push eax
mov ecx, esi
call dword [edx + 0xbc]
test al, al
jne 0x532f1a
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.005f7496
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
mov dword [esi + 8], eax
call fcn.00510e60
mov al, byte [esi + 0x41d]
add esp, 4
cmp al, bl
je 0x532f86
lea ecx, [ebp - 0x1bc]
call fcn.00402680
lea edx, [ebp - 0x1bc]
push edx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.005328d0
test al, al
jne 0x532f74
mov eax, dword [esi]
lea ecx, [ebp - 0x1bc]
push ecx
mov ecx, esi
mov byte [esi + 0x41d], bl
call dword [eax + 0x78]
push ebx
mov ecx, esi
call fcn.0052bb70
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 4], 0xffffffff
call fcn.0041d780
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x154]
call edi
push eax
call fcn.005e0b91
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 0x60]
mov ecx, dword [0x68be40]
push str.IDI_MAIN_ICON
push ecx
mov dword [ebp - 0x1e4], 8
mov dword [ebp - 0x1dc], ebx
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1cc], ebx
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [0x68be40]
mov edi, dword [sym.imp.USER32.dll_RegisterClassA]
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x1e4]
push eax
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1e0], 0x530250
mov dword [ebp - 0x1c0], 0x60cc60
mov dword [ebp - 0x1c4], ebx
call edi
mov ecx, dword [0x68be40]
lea edx, [ebp - 0x1e4]
push edx
mov dword [ebp - 0x1e4], ebx
mov dword [ebp - 0x1dc], ebx
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1e0], 0x530250
mov dword [ebp - 0x1c0], str.InvisWindow
mov dword [ebp - 0x1c4], ebx
call edi
mov ecx, dword [0x68be40]
mov eax, dword [esi + 0x24]
push ebx
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push str.InvisWindow
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push esi
push 0xffffffffffffffeb
push eax
mov dword [esi + 0x2d0], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x68be40]
mov edi, dword [sym.imp.USER32.dll_CreateCursor]
push 0x651d70
push 0x651cf0
push 0x20
push 0x20
push 4
push 0xb
push edx
call edi
push 0x651e70
push 0x651df0
push 0x20
push 0x20
push 0xa
mov dword [esi + 0x3d0], eax
mov eax, dword [0x68be40]
push 0xf
push eax
call edi
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x3d4], eax
call dword [edx + 0x68]
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
push eax
push ecx
mov ecx, dword [esi + 0x2a4]
call fcn.00505eb0
cmp byte [esi + 0x2bf], bl
je 0x533122
cmp byte [esi + 0x2c1], bl
jne 0x53312e
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call edi
cmp dword [esi + 0x48], eax
jge 0x53311c
push 0x11
call edi
cmp dword [esi + 0x4c], eax
jl 0x533122
mov byte [esi + 0x2bf], bl
cmp byte [esi + 0x2c1], bl
je 0x5331b6
push ebx
push 0x52ba00
call dword [sym.imp.USER32.dll_EnumWindows]
lea edx, [ebp - 0xac]
push edx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov ecx, dword [ebp - 0x40]
mov eax, dword [esi + 0x48]
cmp ecx, eax
mov ecx, dword [ebp - 0x44]
jne 0x533169
mov edx, dword [ebp - 0x3c]
cmp edx, dword [esi + 0x4c]
jne 0x533169
cmp ecx, 0x10
je 0x5331b6
cmp ecx, 0x20
je 0x5331b6
cmp ecx, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x84], 0x580000
je 0x533197
cmp ecx, 0x20
je 0x533197
mov dword [ebp - 0x44], 0x10
mov dword [ebp - 0x84], 0x5c0000
push 4
lea ecx, [ebp - 0xac]
push ecx
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
je 0x5331b6
mov byte [esi + 0x2c1], bl
mov byte [esi + 0x2bf], bl
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
cmp byte [esi + 0x41d], bl
je 0x5331f8
push 1
mov ecx, esi
call fcn.00524f60
lea edi, [esi + 0x438]
mov ecx, edi
mov byte [esi + 0x464], 1
call fcn.005117b0
mov ecx, edi
mov byte [esi + 0x2bf], al
call fcn.00511660
movzx eax, al
mov dword [esi + 0x490], eax
cmp dword [esi + 0x3cc], ebx
jne 0x53325c
push 0x14a0
call fcn.005d0282
mov edi, eax
add esp, 4
mov dword [ebp - 0x1e8], edi
cmp edi, ebx
mov dword [ebp - 4], 1
je 0x53324d
cmp byte [esi + 0x78], bl
je 0x533237
xor ecx, ecx
mov cl, byte [esi + 0x79]
xor edx, edx
push ecx
push edx
mov ecx, edi
call fcn.005819e0
jmp 0x53324f
mov edx, dword [esi + 0x2cc]
xor ecx, ecx
mov cl, byte [esi + 0x79]
push ecx
push edx
mov ecx, edi
call fcn.005819e0
jmp 0x53324f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x3cc], eax
fld qword [esi + 0x60]
mov edx, dword [esi]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call dword [edx + 0xe0]
mov ecx, dword [esi + 0x2d0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x48]
fld qword [esi + 0x58]
mov edx, dword [esi]
sub esp, 8
mov ecx, esi
fstp qword [esp]
mov dword [esi + 0x2e8], eax
call dword [edx + 0xdc]
cmp byte [esi + 0x2d4], bl
pop edi
je 0x5332b0
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x3c8], 5
call dword [eax + 0x30]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov byte [esi + 0x2c4], 1
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.005e149c
mov esp, ebp
pop ebp
ret
push 0x10
push str.You_need_DirectX
push str.This_application_requires_DirectX_to_run.__You_can_get_DirectX_at_http:__www.microsoft.com_directx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
mov ecx, esi
call fcn.0052bb70
int3