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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513a6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
mov eax, dword [0x569f5c]
xor eax, dword [ebp + 4]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x2f8], eax
mov al, byte [esi + 0x2fd]
xor ebx, ebx
cmp al, bl
jne 0x45cf16
cmp dword [0x56da14], ebx
je 0x45c9c9
cmp dword [0x56da18], ebx
jne 0x45c9e4
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.0045c5e0
cmp byte [esi + 0xb2], bl
jne 0x45c9f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov ecx, esi
call fcn.0044bcc0
test al, al
je 0x45ca07
mov byte [esi + 0xb8], bl
cmp byte [esi + 0xb8], bl
push edi
je 0x45cacd
lea edi, [esi + 0x24]
push edi
lea ecx, [ebp - 0x58]
push str.Notify
push ecx
call fcn.00403b70
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, 0x10
jb 0x45ca36
mov eax, dword [eax + 4]
jmp 0x45ca39
add eax, 4
push eax
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov dword [esi + 0xbc], eax
cmp dword [ebp - 0x40], 0x10
jb 0x45ca58
mov edx, dword [ebp - 0x54]
push edx
call fcn.004fb06d
add esp, 4
push str.Mutex
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00403c10
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, 0x10
jb 0x45ca77
mov eax, dword [eax + 4]
jmp 0x45ca7a
add eax, 4
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
cmp dword [ebp - 0x40], 0x10
jb 0x45ca98
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004fb06d
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45cac7
mov eax, dword [esi + 0xbc]
cmp eax, ebx
je 0x45cabd
push ebx
push ebx
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
mov ecx, esi
call fcn.0045c5e0
jmp 0x45cacd
mov dword [esi + 0xb4], edi
cmp dword [0x5a33c0], ebx
jne 0x45cae1
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x5a33c0], eax
push 0x100
lea edx, [ebp - 0x1f8]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1f8]
push 0x5c
push eax
call fcn.004fdb10
lea ecx, [ebp - 0x1f8]
push 0x2f
push ecx
mov edi, eax
call fcn.004fdb10
add esp, 0x10
cmp edi, eax
jbe 0x45cb24
push 0x5c
lea edx, [ebp - 0x1f8]
push edx
jmp 0x45cb2d
push 0x2f
lea eax, [ebp - 0x1f8]
push eax
call fcn.004fdb10
add esp, 8
cmp eax, ebx
je 0x45cb3b
mov byte [eax], bl
mov edx, dword [esi]
lea eax, [ebp - 0x1f8]
push eax
mov ecx, esi
call dword [edx + 0xb4]
test al, al
jne 0x45cb5f
lea ecx, [ebp - 0x1f8]
push ecx
call fcn.0050f246
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
mov dword [esi + 4], eax
call fcn.00496ca0
mov al, byte [esi + 0x491]
add esp, 4
cmp al, bl
je 0x45cbce
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00459610
test al, al
jne 0x45cbb5
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov byte [esi + 0x491], bl
call dword [eax + 0x70]
push ebx
mov ecx, esi
call fcn.0045c5e0
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x45cbce
mov edx, dword [ebp - 0x54]
push edx
call fcn.004fb06d
add esp, 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x13c]
call edi
push eax
call fcn.004fdae0
mov edx, dword [esi]
add esp, 4
mov ecx, esi
call dword [edx + 0x58]
mov eax, dword [0x5a33c0]
push str.IDI_MAIN_ICON
push eax
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x5a33c0]
mov edi, dword [sym.imp.USER32.dll_RegisterClassA]
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], 0x458650
mov dword [ebp - 0x14], str.MainWindow
mov dword [ebp - 0x18], ebx
call edi
mov eax, dword [0x5a33c0]
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0x458650
mov dword [ebp - 0x14], str.InvisWindow
mov dword [ebp - 0x18], ebx
call edi
cmp dword [esi + 0x58], 0x10
jb 0x45cc73
mov eax, dword [esi + 0x44]
jmp 0x45cc76
lea eax, [esi + 0x44]
mov edx, dword [0x5a33c0]
push ebx
push edx
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 + 0x310], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x178
call fcn.004eb990
add esp, 4
mov dword [ebp - 0x3c], eax
cmp eax, ebx
mov dword [ebp - 4], 1
je 0x45ccc7
push esi
mov ecx, eax
call fcn.00468e30
jmp 0x45ccc9
xor eax, eax
mov edi, dword [sym.imp.USER32.dll_CreateCursor]
push 0x565f60
push 0x565ee0
push 0x20
push 0x20
push 4
mov dword [esi + 0x2dc], eax
mov eax, dword [0x5a33c0]
push 0xb
push eax
mov dword [ebp - 4], 0xffffffff
call edi
push 0x566060
push 0x565fe0
push 0x20
push 0x20
push 0xa
mov dword [esi + 0x43c], eax
mov ecx, dword [0x5a33c0]
push 0xf
push ecx
call edi
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x440], eax
call dword [edx + 0xac]
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x84]
push eax
push ecx
mov ecx, dword [esi + 0x2dc]
call fcn.0045f5c0
cmp byte [esi + 0x2fe], bl
je 0x45cd74
cmp byte [esi + 0x300], bl
jne 0x45cd80
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call edi
cmp dword [esi + 0x84], eax
jge 0x45cd6e
push 0x11
call edi
cmp dword [esi + 0x88], eax
jl 0x45cd74
mov byte [esi + 0x2fe], bl
cmp byte [esi + 0x300], bl
je 0x45ce23
push ebx
push 0x45c450
call dword [sym.imp.USER32.dll_EnumWindows]
lea edx, [ebp - 0xf4]
push edx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov ecx, dword [ebp - 0x88]
mov eax, dword [esi + 0x84]
cmp ecx, eax
mov ecx, dword [ebp - 0x8c]
jne 0x45cdca
mov edx, dword [ebp - 0x84]
cmp edx, dword [esi + 0x88]
jne 0x45cdca
cmp ecx, 0x10
je 0x45ce23
cmp ecx, 0x20
je 0x45ce23
cmp ecx, 0x10
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0xcc], 0x580000
je 0x45ce04
cmp ecx, 0x20
je 0x45ce04
mov dword [ebp - 0x8c], 0x10
mov dword [ebp - 0xcc], 0x5c0000
push 4
lea ecx, [ebp - 0xf4]
push ecx
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
je 0x45ce23
mov byte [esi + 0x300], bl
mov byte [esi + 0x2fe], bl
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
cmp byte [esi + 0x491], bl
je 0x45ce65
push 1
mov ecx, esi
call fcn.0044c7c0
lea edi, [esi + 0x4cc]
mov ecx, edi
mov byte [esi + 0x4fc], 1
call fcn.004995a0
mov ecx, edi
mov byte [esi + 0x2fe], al
call fcn.00499440
movzx eax, al
mov dword [esi + 0x530], eax
cmp dword [esi + 0x438], ebx
pop edi
jne 0x45ceb9
push 0x14a0
call fcn.004eb990
add esp, 4
mov dword [ebp - 0x3c], eax
cmp eax, ebx
mov dword [ebp - 4], 2
je 0x45ceaa
cmp byte [esi + 0xb0], bl
jne 0x45ce97
mov ebx, dword [esi + 0x30c]
xor ecx, ecx
mov cl, byte [esi + 0xb1]
push ecx
push ebx
mov ecx, eax
call fcn.004b41e0
jmp 0x45ceac
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x438], eax
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x98]
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xd8]
mov eax, dword [esi + 0x310]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x44]
mov ecx, dword [esi + 0x90]
mov edx, dword [esi]
mov dword [esi + 0x330], eax
mov eax, dword [esi + 0x94]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xd4]
mov ecx, esi
call fcn.0044bcc0
test al, al
je 0x45cf0f
push 5
call fcn.0044d190
mov byte [esi + 0x303], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.004fb7a4
mov esp, ebp
pop ebp
ret