Function at 0x559e50
Capabilities:
Check for time delay via gettickcount
Check mutex on windows
Enumerate gui resources
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6555f5
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
xor ebx, ebx
cmp byte [edi + 0x341], bl
mov dword [edi + 0x33c], eax
jne 0x55a8f2
cmp dword [0x6ba05c], ebx
je 0x55a916
cmp dword [0x6ba060], ebx
je 0x55a916
mov eax, dword [edi]
mov edx, dword [eax + 0x174]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x60]
mov ecx, edi
call edx
call fcn.005b5890
test al, al
je 0x55a0f6
lea ebx, [esp + 0x18]
mov eax, str.shell32.dll
call fcn.00549c80
mov esi, eax
test esi, esi
je 0x559f05
cmp dword [esp + 0x18], 0
jne 0x559f1e
lea ebx, [esp + 0x18]
mov eax, str.shfolder.dll
call fcn.00549c80
cmp dword [esp + 0x18], 0
je 0x55a0f4
lea eax, [esp + 0x134]
push eax
push 0
push 0
push 0x23
push 0
call esi
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405520
lea edi, [esp + 0x20]
lea eax, [esp + 0x48]
mov dword [esp + 0x280], 5
call fcn.005b7100
push eax
mov edi, 0x67d788
lea esi, [esp + 0x68]
mov byte [esp + 0x284], 6
call fcn.0041fc00
add esp, 4
mov ebx, dword [esp + 0x1c]
lea edx, [ebx + 0x28]
push edx
push eax
lea esi, [esp + 0x88]
mov byte [esp + 0x288], 7
call fcn.004472a0
push eax
lea esi, [esp + 0x124]
mov byte [esp + 0x28c], 8
call fcn.0041fc00
add esp, 0xc
lea ecx, [ebx + 0x44]
push ecx
push eax
lea esi, [esp + 0xf8]
mov byte [esp + 0x288], 9
call fcn.004472a0
add esp, 8
lea ecx, [esp + 0x118]
call fcn.00405480
lea ecx, [esp + 0x80]
call fcn.00405480
lea ecx, [esp + 0x64]
call fcn.00405480
lea ecx, [esp + 0x48]
call fcn.00405480
lea ecx, [esp + 0x20]
mov byte [esp + 0x280], 0xf
call fcn.00405480
mov edx, esi
push edx
lea esi, [esp + 0xa0]
call fcn.0041fc00
add esp, 4
mov ecx, eax
mov byte [esp + 0x280], 0x10
call fcn.005b5970
mov ecx, esi
mov byte [esp + 0x280], 0xf
call fcn.00405480
lea eax, [esp + 0xf0]
push eax
call fcn.005b6fa0
add esp, 4
lea ecx, [esp + 0xf0]
push ecx
call fcn.005b6a70
mov eax, dword [ebx + 0x544]
add esp, 4
cmp eax, 2
jb 0x55a07c
lea esi, [ebx + 0x530]
push 1
mov ecx, esi
call fcn.0055be00
cmp byte [eax], 0x3a
je 0x55a0ce
push 2
mov ecx, esi
call fcn.0055be00
cmp byte [eax], 0x5c
je 0x55a0ce
lea esi, [esp + 0xb8]
call fcn.005b5940
add ebx, 0x530
push ebx
push eax
lea esi, [esp + 0xa4]
mov byte [esp + 0x288], 0x11
call fcn.004472a0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x28c], 0x12
call fcn.00405660
mov ecx, esi
call fcn.00405480
lea ecx, [esp + 0xb8]
call fcn.00405480
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea ecx, [esp + 0xf0]
mov dword [esp + 0x280], 0xffffffff
call fcn.00405480
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp byte [edi + 0xf2], bl
jne 0x55a10a
mov eax, dword [edi]
mov edx, dword [eax + 0xac]
mov ecx, edi
call edx
mov eax, edi
call fcn.0054b870
test al, al
je 0x55a11b
mov byte [edi + 0xfc], bl
cmp dword [0x6b96b0], ebx
jne 0x55a12f
push ebx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x6b96b0], eax
mov esi, 0x10
cmp dword [edi + 0xb0], esi
jb 0x55a144
mov eax, dword [edi + 0x9c]
jmp 0x55a14a
lea eax, [edi + 0x9c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xd0]
mov ecx, edi
call eax
test al, al
jne 0x55a17a
cmp dword [edi + 0xb0], esi
jb 0x55a16b
mov eax, dword [edi + 0x9c]
jmp 0x55a171
lea eax, [edi + 0x9c]
push eax
call fcn.00643956
add esp, 4
push str.main.pak
lea ecx, [esp + 0xf4]
call fcn.00405520
lea ecx, [esp + 0xf0]
mov dword [esp + 0x280], 0x13
call fcn.005df930
mov dword [esp + 0x280], 0xffffffff
cmp dword [esp + 0x108], esi
jb 0x55a1c6
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.0062414c
add esp, 4
lea ebx, [edi + 0x44]
lea eax, [esp + 0xf0]
call fcn.005b60a0
push eax
mov edx, str.Notify
lea esi, [esp + 0x11c]
mov dword [esp + 0x284], 0x14
call fcn.00548740
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x55a204
mov eax, dword [eax + 4]
jmp 0x55a207
add eax, 4
push eax
call dword [sym.imp.user32.dll_RegisterClipboardFormatW]
cmp dword [esp + 0x130], esi
mov dword [edi + 0x100], eax
jb 0x55a22d
mov edx, dword [esp + 0x11c]
push edx
call fcn.0062414c
add esp, 4
xor eax, eax
mov dword [esp + 0x280], 0xffffffff
cmp dword [esp + 0x108], esi
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], eax
mov word [esp + 0x11c], ax
jb 0x55a26d
mov eax, dword [esp + 0xf4]
push eax
call fcn.0062414c
add esp, 4
lea eax, [esp + 0xf0]
call fcn.005b60a0
push eax
mov ecx, str.Mutex
lea edi, [esp + 0x11c]
mov dword [esp + 0x284], 0x15
call fcn.0041fcb0
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x55a2a4
mov eax, dword [eax + 4]
jmp 0x55a2a7
add eax, 4
push eax
push 1
xor ebx, ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov esi, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x130], edi
mov dword [esi + 0xf8], eax
jb 0x55a2db
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.0062414c
add esp, 4
mov dword [esp + 0x280], 0xffffffff
cmp dword [esp + 0x108], edi
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], ebx
mov word [esp + 0x11c], bx
jb 0x55a319
mov edx, dword [esp + 0xf4]
push edx
call fcn.0062414c
add esp, 4
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x55a332
mov eax, dword [esi]
mov edx, dword [eax + 0xbc]
mov ecx, esi
call edx
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
call edi
mov ecx, eax
mov dword [esi + 8], eax
call fcn.005b57d0
cmp byte [esi + 0x511], bl
je 0x55a3b4
mov dword [esp + 0x130], 0xf
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
lea edx, [esp + 0x118]
mov ecx, esi
mov dword [esp + 0x280], 0x16
call fcn.0054b890
test al, al
lea ecx, [esp + 0x118]
jne 0x55a3a4
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
push ecx
mov ecx, esi
mov byte [esi + 0x511], bl
call edx
push ebx
mov edi, esi
call fcn.00551a80
mov dword [esp + 0x280], 0xffffffff
call fcn.00405480
call edi
push eax
call fcn.00626010
add esp, 4
call fcn.005b57e0
test al, al
push str.IDI_MAIN_ICON
je 0x55a4d1
mov eax, dword [0x6b96b0]
push eax
mov byte [esi + 0x503], bl
mov dword [esp + 0x28], 8
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.user32.dll_LoadIconA]
mov ecx, dword [0x6b96b0]
mov edi, dword [sym.imp.user32.dll_RegisterClassA]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], 0x554090
mov dword [esp + 0x48], 0x67f530
mov dword [esp + 0x44], ebx
call edi
mov eax, dword [0x6b96b0]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], 0x554090
mov dword [esp + 0x48], 0x67f9ec
mov dword [esp + 0x44], ebx
call edi
lea ebx, [esi + 0x60]
lea edi, [esp + 0xf0]
call fcn.005b6000
cmp dword [eax + 0x18], 0x10
jb 0x55a480
mov eax, dword [eax + 4]
jmp 0x55a483
add eax, 4
mov edx, dword [0x6b96b0]
push 0
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0x67f9ec
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
lea ecx, [esp + 0xf0]
mov dword [esi + 0x354], eax
call fcn.00405480
mov eax, dword [esi + 0x354]
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.user32.dll_SetWindowLongA]
xor ebx, ebx
jmp 0x55a5e5
mov ecx, dword [0x6b96b0]
push ecx
mov byte [esi + 0x503], 1
mov dword [esp + 0xf8], 8
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x110], ebx
call dword [sym.imp.user32.dll_LoadIconA]
mov edx, dword [0x6b96b0]
mov edi, dword [sym.imp.user32.dll_RegisterClassW]
mov dword [esp + 0x104], eax
lea eax, [esp + 0xf0]
push eax
mov dword [esp + 0x104], edx
mov dword [esp + 0xf8], 0x554090
mov dword [esp + 0x118], str.MainWindow
mov dword [esp + 0x114], ebx
call edi
mov ecx, dword [0x6b96b0]
lea edx, [esp + 0xf0]
push edx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x104], ecx
mov dword [esp + 0xf8], 0x554090
mov dword [esp + 0x118], str.InvisWindow
mov dword [esp + 0x114], ebx
call edi
cmp dword [esi + 0x78], 8
jb 0x55a5b6
mov eax, dword [esi + 0x64]
jmp 0x55a5b9
lea eax, [esi + 0x64]
mov ecx, dword [0x6b96b0]
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_CreateWindowExW]
push esi
push 0xffffffffffffffeb
push eax
mov dword [esi + 0x354], eax
call dword [sym.imp.user32.dll_SetWindowLongA]
mov edx, dword [0x6b96b0]
mov edi, dword [sym.imp.user32.dll_CreateCursor]
push 0x6ad6f8
push 0x6ad678
push 0x20
push 0x20
push 4
push 0xb
push edx
call edi
push 0x6ad7f8
push 0x6ad778
push 0x20
push 0x20
push 0xa
mov dword [esi + 0x4b8], eax
mov eax, dword [0x6b96b0]
push 0xf
push eax
call edi
mov edx, dword [esi]
mov dword [esi + 0x4bc], eax
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 0xc0]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x320]
lea edx, [esp + 0x48]
lea ecx, [esp + 0x64]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.0053d190
cmp byte [esi + 0x343], bl
je 0x55a6af
cmp byte [esi + 0x345], bl
jne 0x55a6bb
mov edi, dword [sym.imp.user32.dll_GetSystemMetrics]
push 0x10
call edi
cmp dword [esi + 0xc0], eax
jge 0x55a6a2
push 0x11
call edi
cmp dword [esi + 0xc4], eax
jl 0x55a6af
mov byte [esi + 0x343], bl
mov byte [esi + 0x346], 1
cmp byte [esi + 0x345], bl
je 0x55a766
push ebx
push 0x54b6b0
call dword [sym.imp.user32.dll_EnumWindows]
lea ecx, [esp + 0x134]
push ecx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.user32.dll_EnumDisplaySettingsA]
mov eax, dword [esi + 0xc0]
cmp dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x19c]
jne 0x55a707
mov edx, dword [esp + 0x1a4]
cmp edx, dword [esi + 0xc4]
jne 0x55a707
cmp ecx, 0x10
je 0x55a766
cmp ecx, 0x20
je 0x55a766
cmp ecx, 0x10
mov dword [esp + 0x1a0], eax
mov eax, dword [esi + 0xc4]
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x15c], 0x580000
je 0x55a746
cmp ecx, 0x20
je 0x55a746
mov dword [esp + 0x19c], 0x10
mov dword [esp + 0x15c], 0x5c0000
push 4
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.user32.dll_ChangeDisplaySettingsA]
test eax, eax
je 0x55a766
mov byte [esi + 0x345], bl
mov byte [esi + 0x343], bl
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
cmp byte [esi + 0x511], bl
je 0x55a7a6
mov edi, esi
call fcn.00554e20
mov byte [esi + 0x57c], 1
add esi, 0x54c
call fcn.005de360
mov byte [edi + 0x343], al
call fcn.005de1a0
movzx ecx, al
mov dword [edi + 0x5b4], ecx
mov esi, edi
cmp dword [esi + 0x4b4], ebx
jne 0x55a800
push 0x30a0
call fcn.00624227
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x280], 0x17
je 0x55a7ed
cmp byte [esi + 0xf0], bl
jne 0x55a7dc
mov ebx, dword [esi + 0x350]
movzx edx, byte [esi + 0xf1]
push edx
push ebx
push eax
call fcn.005cc920
jmp 0x55a7ef
xor eax, eax
mov dword [esp + 0x280], 0xffffffff
mov dword [esi + 0x4b4], eax
mov eax, dword [esi]
fld qword [esi + 0xd8]
mov edx, dword [eax + 0xf4]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call edx
mov ecx, dword [esi + 0x354]
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push ecx
mov ecx, esi
call edx
fld qword [esi + 0xd0]
mov dword [esi + 0x374], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xf0]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call edx
mov eax, esi
call fcn.0054b870
test al, al
je 0x55a85d
mov eax, 0xb
mov ecx, esi
call fcn.0055ad30
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
mov ecx, esi
call edx
push 0x67fa10
lea ecx, [esp + 0xa0]
call fcn.00404d70
push str.LOCALE
lea ecx, [esp + 0xbc]
mov dword [esp + 0x284], 0x18
call fcn.00405520
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0xbc]
lea eax, [esp + 0xd8]
mov ecx, esi
mov byte [esp + 0x284], 0x19
call fcn.00558d20
mov ecx, eax
mov byte [esp + 0x280], 0x1a
call fcn.005b66b0
lea ecx, [esp + 0xd4]
call fcn.00404db0
lea ecx, [esp + 0xb8]
call fcn.00405480
lea ecx, [esp + 0x9c]
call fcn.00404db0
mov byte [esi + 0x348], 1
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00626d59
mov esp, ebp
pop ebp
ret
push 0x10
mov esi, 7
push str.You_need_DirectX
lea ecx, [esp + 0x120]
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], bx
call fcn.00404f80
mov dword [esp + 0x280], ebx
push 0x10
push str.YOU_NEED_DIRECTX
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.00405590
mov byte [esp + 0x280], 1
push 0x62
push str.This_application_requires_DirectX_to_run.__You_can_get_DirectX_at_http:__www.microsoft.com_directx
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
call fcn.00404f80
mov byte [esp + 0x280], 2
push 0x14
push str.APP_REQUIRES_DIRECTX
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.00405590
lea ecx, [esp + 0x118]
push ecx
lea edx, [esp + 0x84]
lea eax, [esp + 0xf4]
mov ecx, edi
mov byte [esp + 0x284], 3
call fcn.00558d20
mov esi, eax
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x68]
lea eax, [esp + 0x24]
mov ecx, edi
mov byte [esp + 0x284], 4
call fcn.00558d20
cmp dword [esi + 0x18], 8
jb 0x55aa18
mov ecx, dword [esi + 4]
jmp 0x55aa1b
lea ecx, [esi + 4]
cmp dword [eax + 0x18], 8
jb 0x55aa26
mov eax, dword [eax + 4]
jmp 0x55aa29
add eax, 4
push 0x10
push ecx
push eax
push ebx
call dword [sym.imp.user32.dll_MessageBoxW]
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x55aa4c
mov eax, dword [esp + 0x24]
push eax
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x108], esi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x55aa76
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
jb 0x55aaa4
mov edx, dword [esp + 0x68]
push edx
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x55aac7
mov eax, dword [esp + 0x4c]
push eax
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x98], 0x10
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
jb 0x55aaf2
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x130], esi
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x55ab24
mov edx, dword [esp + 0x11c]
push edx
call fcn.0062414c
add esp, 4
push ebx
call fcn.00551a80
int3