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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d60b5
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x294], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp byte [edi + 0x321], 0
mov dword [edi + 0x31c], eax
jne 0x544144
cmp dword [0x66825c], 0
je 0x54415f
cmp dword [0x668260], 0
je 0x54415f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
call fcn.004e2000
test al, al
je 0x543970
lea eax, [ebp - 0x294]
push eax
push str.shell32.dll
call fcn.00542c50
mov esi, eax
add esp, 8
test esi, esi
je 0x543709
cmp dword [ebp - 0x294], 0
jne 0x54372a
lea eax, [ebp - 0x294]
push eax
push str.shfolder.dll
call fcn.00542c50
add esp, 8
cmp dword [ebp - 0x294], 0
je 0x543970
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 0x23
push 0
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x12c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x543762
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.00402b80
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.004f5ac0
push 0x5e4f6c
push eax
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 6
push eax
call fcn.004dc6f0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.004dc690
push 0x5e4f6c
push eax
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 8
push eax
call fcn.004dc6f0
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004dc690
add esp, 0x38
lea ecx, [ebp - 0x1c4]
call fcn.00402f60
lea ecx, [ebp - 0x1dc]
call fcn.00402f60
lea ecx, [ebp - 0x1f4]
call fcn.00402f60
lea ecx, [ebp - 0x16c]
call fcn.00402f60
mov ecx, dword [ebp - 0x118]
mov byte [ebp - 4], 0xf
cmp ecx, 0x10
jb 0x54385b
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x543851
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54425f
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x184]
mov eax, closesocket
sub eax, ecx
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp eax, 1
jb 0x544264
cmp dword [ebp - 0x180], 0x10
lea eax, [ebp - 0x194]
push 1
cmovae eax, dword [ebp - 0x194]
push 0x5e4f6c
push ecx
push eax
lea eax, [ebp - 0x194]
push eax
push dword [ebp - 0x298]
lea ecx, [ebp - 0x1ac]
call fcn.004deda0
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0x10
push eax
call fcn.004f7280
add esp, 4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1ac]
call fcn.00402f60
cmp dword [edi + 0x518], 2
lea esi, [edi + 0x508]
jb 0x543913
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 0x10
jb 0x5438fe
mov eax, dword [esi]
cmp byte [eax + 1], 0x3a
je 0x543952
mov eax, esi
cmp ecx, 0x10
jb 0x54390d
mov eax, dword [esi]
cmp byte [eax + 2], 0x5c
je 0x543952
lea eax, [ebp - 0x144]
push eax
call fcn.004e5800
push esi
push eax
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0x11
push eax
call fcn.004dc690
add esp, 0x10
mov ecx, esi
push eax
call fcn.004e0af0
lea ecx, [ebp - 0x1ac]
call fcn.00402f60
lea ecx, [ebp - 0x144]
call fcn.00402f60
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x194]
mov dword [ebp - 4], 0xffffffff
call fcn.00402f60
cmp byte [edi + 0xda], 0
jne 0x543983
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xac]
mov ecx, edi
call fcn.005443e0
test al, al
je 0x543995
mov byte [edi + 0xe4], 0
cmp dword [0x6661c4], 0
jne 0x5439ab
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x6661c4], eax
cmp dword [edi + 0x98], 0x10
lea esi, [edi + 0x84]
mov ecx, esi
jb 0x5439be
mov ecx, dword [esi]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xd0]
call eax
test al, al
jne 0x5439e0
cmp dword [esi + 0x14], 0x10
jb 0x5439d7
mov esi, dword [esi]
push esi
call fcn.005ba8fb
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 8
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x12c], 0x6e69616d
mov dword [ebp - 0x128], 0x7072672e
mov byte [ebp - 0x124], 0
mov ecx, dword [0x668b3c]
lea eax, [ebp - 0x12c]
push 0
push eax
mov dword [ebp - 4], 0x12
call fcn.00566ef0
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x543a75
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x543a6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x544269
push ecx
push edx
call fcn.0059b718
add esp, 8
lea esi, [edi + 0x3c]
lea eax, [ebp - 0x16c]
push esi
push eax
call fcn.004f87a0
push eax
lea eax, [ebp - 0x144]
mov dword [ebp - 4], 0x13
push str.Notify
push eax
call fcn.00538ac0
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x543aa9
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
lea ecx, [ebp - 0x144]
mov dword [edi + 0xe8], eax
call fcn.00402fb0
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fb0
lea eax, [ebp - 0x16c]
push esi
push eax
call fcn.004f87a0
push str.Mutex
push eax
lea eax, [ebp - 0x144]
mov dword [ebp - 4], 0x14
push eax
call fcn.004c9820
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x543b04
mov eax, dword [eax]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea ecx, [ebp - 0x144]
mov dword [edi + 0xe0], eax
call fcn.00402fb0
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x543b49
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xbc]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push eax
mov dword [edi + 8], eax
call fcn.004f7140
add esp, 4
cmp byte [edi + 0x4ed], 0
je 0x543bed
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 0
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0x15
push eax
mov ecx, edi
call fcn.005478d0
test al, al
je 0x54426e
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x543bed
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x543be3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54428f
push ecx
push edx
call fcn.0059b718
add esp, 8
call esi
push eax
call fcn.005b053a
add esp, 4
call fcn.004e1f40
push str.IDI_MAIN_ICON
test al, al
je 0x543d59
mov byte [edi + 0x4df], 0
push dword [0x6661c4]
mov dword [ebp - 0x17c], 8
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x164], 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [sym.imp.USER32.dll_RegisterClassA]
mov dword [ebp - 0x168], eax
mov eax, dword [0x6661c4]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x17c]
push eax
mov dword [ebp - 0x178], 0x54c580
mov dword [ebp - 0x158], str.MainWindow
mov dword [ebp - 0x15c], 0
call esi
mov eax, dword [0x6661c4]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x17c]
push eax
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x178], 0x54c580
mov dword [ebp - 0x158], 0x5e80dc
mov dword [ebp - 0x15c], 0
call esi
lea eax, [edi + 0x54]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004fa970
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x543d16
mov eax, dword [eax]
push 0
push dword [0x6661c4]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0x5e80dc
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [ebp - 0x144]
mov dword [edi + 0x348], eax
call fcn.00402f60
push edi
push 0xffffffffffffffeb
push dword [edi + 0x348]
jmp 0x543e83
mov byte [edi + 0x4df], 1
push dword [0x6661c4]
mov dword [ebp - 0x154], 8
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x13c], 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [sym.imp.USER32.dll_RegisterClassW]
mov dword [ebp - 0x140], eax
mov eax, dword [0x6661c4]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x150], 0x54c580
mov dword [ebp - 0x130], 0x5e7d20
mov dword [ebp - 0x134], 0
call esi
mov eax, dword [0x6661c4]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x150], 0x54c580
mov dword [ebp - 0x130], str.InvisWindow
mov dword [ebp - 0x134], 0
call esi
cmp dword [edi + 0x68], 8
lea eax, [edi + 0x54]
jb 0x543e55
mov eax, dword [eax]
push 0
push dword [0x6661c4]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push str.InvisWindow
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
push 0xffffffffffffffeb
mov dword [edi + 0x348], eax
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_CreateCursor]
push 0x620a98
push 0x620a18
push 0x20
push 0x20
push 4
push 0xb
push dword [0x6661c4]
call esi
push 0x620b98
push 0x620b18
push 0x20
push 0x20
push 0xa
push 0xf
mov dword [edi + 0x498], eax
push dword [0x6661c4]
call esi
mov dword [edi + 0x49c], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x68]
mov eax, dword [edi + 0xa8]
mov ecx, dword [edi + 0xac]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x180], ecx
mov ecx, dword [edi + 0x308]
push eax
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
call fcn.00557af0
cmp byte [edi + 0x339], 0
je 0x543f79
cmp byte [edi + 0x33b], 0
jne 0x543f86
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call esi
cmp dword [edi + 0xa8], eax
jge 0x543f6b
push 0x11
call esi
cmp dword [edi + 0xac], eax
jl 0x543f79
mov byte [edi + 0x339], 0
mov byte [edi + 0x33c], 1
cmp byte [edi + 0x33b], 0
je 0x54402b
push 0
push 0x53d000
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0x290]
push eax
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov edx, dword [edi + 0xa8]
mov ecx, dword [ebp - 0x228]
cmp dword [ebp - 0x224], edx
jne 0x543fd0
mov eax, dword [ebp - 0x220]
cmp eax, dword [edi + 0xac]
jne 0x543fd0
cmp ecx, 0x10
je 0x54402b
cmp ecx, 0x20
je 0x54402b
mov eax, dword [edi + 0xac]
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x268], 0x580000
cmp ecx, 0x10
je 0x54400a
cmp ecx, 0x20
je 0x54400a
mov dword [ebp - 0x228], 0x10
mov dword [ebp - 0x268], 0x5c0000
push 4
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
je 0x54402b
mov byte [edi + 0x33b], 0
mov byte [edi + 0x339], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [edi + 0x4ed], 0
je 0x544070
push 1
mov ecx, edi
call fcn.00546060
lea ecx, [edi + 0x520]
mov byte [edi + 0x54c], 1
call fcn.004f57c0
lea ecx, [edi + 0x520]
mov byte [edi + 0x339], al
call fcn.004f57d0
movzx eax, al
mov dword [edi + 0x57c], eax
cmp dword [edi + 0x494], 0
jne 0x5440d9
push 0x2ca0
call fcn.0059b742
mov ecx, eax
add esp, 4
mov dword [ebp - 0x298], ecx
mov dword [ebp - 4], 0x16
test ecx, ecx
je 0x5440ca
cmp byte [edi + 0xd8], 0
je 0x5440b4
movzx eax, byte [edi + 0xd9]
xor edx, edx
push eax
push edx
call fcn.0055e8a0
jmp 0x5440cc
movzx eax, byte [edi + 0xd9]
mov edx, dword [edi + 0x344]
push eax
push edx
call fcn.0055e8a0
jmp 0x5440cc
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x494], eax
mov eax, dword [edi]
sub esp, 8
movsd xmm0, qword [edi + 0xc0]
mov ecx, edi
movsd qword [esp], xmm0
call dword [eax + 0xf4]
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x348]
mov eax, dword [eax + 0x48]
call eax
movsd xmm0, qword [edi + 0xb8]
sub esp, 8
mov dword [edi + 0x364], eax
mov ecx, edi
mov eax, dword [edi]
movsd qword [esp], xmm0
call dword [eax + 0xf0]
mov ecx, edi
call fcn.005443e0
test al, al
je 0x544136
push 0xb
mov ecx, edi
call fcn.0054a0a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x4c]
mov byte [edi + 0x33e], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
push str.You_need_DirectX
lea ecx, [ebp - 0x1c4]
call fcn.0048d780
push str.YOU_NEED_DIRECTX
lea ecx, [ebp - 0x194]
mov dword [ebp - 4], 0
call fcn.00402d00
push str.This_application_requires_DirectX_to_run.__You_can_get_DirectX_at_http:__www.microsoft.com_directx
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.0048d780
push str.APP_REQUIRES_DIRECTX
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 2
call fcn.00402d00
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x194]
mov ecx, edi
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.00542f10
mov edi, eax
mov ecx, dword [ebp - 0x294]
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00542f10
push 0x10
mov ecx, edi
mov esi, eax
call fcn.0054e410
push eax
mov ecx, esi
call fcn.0054e410
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x144]
call fcn.00402fb0
lea ecx, [ebp - 0x16c]
call fcn.00402fb0
lea ecx, [ebp - 0x1ac]
call fcn.00402f60
lea ecx, [ebp - 0x12c]
call fcn.00402fb0
lea ecx, [ebp - 0x194]
call fcn.00402f60
lea ecx, [ebp - 0x1c4]
call fcn.00402fb0
mov ecx, dword [ebp - 0x294]
push 0
call fcn.0053e120
call fcn.005a17d1
call fcn.00404b20
call fcn.005a17d1
mov eax, dword [edi]
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, edi
mov byte [edi + 0x4ed], 0
call dword [eax + 0x80]
push 0
mov ecx, edi
call fcn.0053e120
call fcn.005a17d1
int3