Function at 0x471460
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Check mutex and terminate process on windows
Check mutex on windows
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db98b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
mov eax, dword [0x514eb8]
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 + 0x308], eax
mov al, byte [esi + 0x30d]
xor ebx, ebx
cmp al, bl
jne 0x471ca3
cmp dword [0x54d7dc], ebx
je 0x471cbe
cmp dword [0x54d7e0], ebx
je 0x471cbe
mov eax, dword [esi + 0x20]
push edi
mov edi, 0x10
cmp eax, edi
jb 0x4714d3
mov eax, dword [esi + 0xc]
jmp 0x4714d6
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x34]
push str.Product:__s_r_n
push eax
call fcn.004283b0
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, edi
jb 0x4714f4
mov eax, dword [eax + 4]
jmp 0x4714f7
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x1c], edi
jb 0x47150f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
mov edx, dword [esi + 0x9c]
push edx
lea eax, [ebp - 0x34]
push str.BuildNum:__d_r_n
push eax
call fcn.004283b0
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, edi
jb 0x471533
mov eax, dword [eax + 4]
jmp 0x471536
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x1c], edi
jb 0x47154e
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
cmp dword [esi + 0xb8], edi
jb 0x47155e
mov eax, dword [esi + 0xa4]
jmp 0x471564
lea eax, [esi + 0xa4]
push eax
lea edx, [ebp - 0x34]
push str.BuildDate:__s_r_n
push edx
call fcn.004283b0
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, edi
jb 0x471582
mov eax, dword [eax + 4]
jmp 0x471585
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x1c], edi
jb 0x47159d
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c2b1b
add esp, 4
cmp byte [esi + 0xc0], bl
je 0x47164b
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x78]
push str.Notify
push ecx
call fcn.00411879
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, edi
jb 0x4715ca
mov eax, dword [eax + 4]
jmp 0x4715cd
add eax, 4
push eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
lea ecx, [ebp - 0x78]
mov dword [esi + 0xc4], eax
call fcn.0040207a
push str.Mutex
lea eax, [esi + 8]
push eax
lea edx, [ebp - 0x78]
push edx
call fcn.0040a10e
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, edi
jb 0x471603
mov eax, dword [eax + 4]
jmp 0x471606
add eax, 4
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea ecx, [ebp - 0x78]
mov edi, eax
call fcn.0040207a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x471645
mov esi, dword [esi + 0xc4]
cmp esi, ebx
je 0x47163f
push ebx
push ebx
push esi
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
call fcn.004c6589
mov dword [esi + 0xbc], edi
cmp dword [0x516fa0], ebx
jne 0x47165f
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x516fa0], eax
push 0x100
lea eax, [ebp - 0x1d0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x1d0]
push 0x5c
push ecx
call fcn.004c4810
lea edx, [ebp - 0x1d0]
push 0x2f
push edx
mov edi, eax
call fcn.004c4810
add esp, 0x10
cmp edi, eax
jbe 0x4716a2
push 0x5c
lea eax, [ebp - 0x1d0]
push eax
jmp 0x4716ab
push 0x2f
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.004c4810
add esp, 8
cmp eax, ebx
je 0x4716b9
mov byte [eax], bl
mov edx, dword [esi]
lea eax, [ebp - 0x1d0]
push eax
mov ecx, esi
call dword [edx + 0xa4]
test al, al
jne 0x4716dd
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.004d65d0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
cmp byte [eax], 0x22
jne 0x4716f9
inc eax
push 0x22
push eax
call fcn.004c6760
add esp, 8
cmp eax, ebx
je 0x471737
inc eax
cmp eax, ebx
je 0x471737
push 0x20
push eax
call fcn.004c6760
add esp, 8
cmp eax, ebx
je 0x471737
inc eax
push eax
lea ecx, [ebp - 0x34]
call fcn.004028b0
mov edx, dword [esi]
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call dword [edx + 0x90]
or edi, 0xffffffff
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], edi
call fcn.0040207a
jmp 0x47173a
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov dword [esi + 4], eax
call fcn.0041de60
mov al, byte [esi + 0x549]
add esp, 4
cmp al, bl
je 0x47179b
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004707a0
test al, al
jne 0x471790
mov edx, dword [esi]
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov byte [esi + 0x549], bl
call dword [edx + 0x5c]
push ebx
call fcn.004c6589
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], edi
call fcn.0040207a
mov ecx, esi
call fcn.004626b0
neg al
sbb al, al
inc al
push str.propertiespartner.xml
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x18], al
call fcn.004028b0
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0046d580
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], edi
call fcn.0040207a
push str.NoReg
lea ecx, [ebp - 0x34]
call fcn.004028b0
push ebx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00467230
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x11], al
mov dword [ebp - 4], edi
call fcn.0040207a
cmp byte [ebp - 0x11], bl
je 0x47181b
mov byte [esi + 0x478], 1
mov byte [esi + 0x479], 1
push str.ProdName
lea ecx, [ebp - 0x34]
call fcn.004028b0
lea edi, [esi + 8]
push edi
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x78]
push edx
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.004672b0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.004024d0
lea ecx, [ebp - 0x78]
call fcn.0040207a
or edi, 0xffffffff
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], edi
call fcn.0040207a
push str.DefaultWindowed
lea ecx, [ebp - 0x34]
call fcn.004028b0
xor eax, eax
mov al, byte [esi + 0x30e]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 6
push eax
push ecx
mov ecx, esi
call fcn.00467230
lea ecx, [ebp - 0x34]
mov byte [esi + 0x30e], al
mov dword [ebp - 4], edi
call fcn.0040207a
push 0x4e3521
lea ecx, [ebp - 0x78]
call fcn.004028b0
push str.Title
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 7
call fcn.004028b0
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004672b0
lea ecx, [ebp - 0x34]
call fcn.0040207a
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.0040207a
cmp dword [ebp - 0xb8], ebx
jbe 0x471953
push 0x4e3a90
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.0040a10e
lea ecx, [esi + 0x3c0]
push ecx
push eax
lea edx, [ebp - 0x94]
push edx
mov byte [ebp - 4], 0xc
call fcn.00410392
add esp, 0x18
push edi
push ebx
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 0xd
call fcn.004024d0
lea ecx, [ebp - 0x94]
call fcn.0040207a
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xa
call fcn.0040207a
mov ecx, dword [esi + 0xe0]
call fcn.00436890
push 0x18c
call fcn.004b18e0
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 0xe
je 0x471980
push esi
mov ecx, eax
call fcn.004368a0
jmp 0x471982
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [esi + 0xe4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004c383e
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 0x50]
mov edx, dword [esi + 0x538]
inc edx
push str.RegisterLink
lea ecx, [ebp - 0x94]
mov dword [esi + 0x538], edx
call fcn.004028b0
lea edi, [esi + 0x3a4]
push edi
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0xb0]
push edx
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.004672b0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.004024d0
lea ecx, [ebp - 0xb0]
call fcn.0040207a
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xa
call fcn.0040207a
push str.DontUpdate
lea ecx, [ebp - 0x94]
call fcn.004028b0
xor eax, eax
mov al, byte [esi + 0x2ea]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x11
push eax
push ecx
mov ecx, esi
call fcn.00467230
lea ecx, [ebp - 0x94]
mov byte [esi + 0x2ea], al
mov byte [ebp - 4], 0xa
call fcn.0040207a
mov edx, dword [0x516fa0]
push str.IDI_MAIN_ICON
push edx
mov dword [ebp - 0x5c], 8
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, dword [sym.imp.USER32.dll_RegisterClassA]
mov dword [ebp - 0x48], eax
mov eax, dword [0x516fa0]
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], 0x46fa50
mov dword [ebp - 0x38], str.MainWindow
mov dword [ebp - 0x3c], ebx
call edi
mov edx, dword [0x516fa0]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x58], 0x46fa50
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x38], str.InvisWindow
mov dword [ebp - 0x3c], ebx
call edi
cmp dword [esi + 0x3c], 0x10
jb 0x471ad2
mov eax, dword [esi + 0x28]
jmp 0x471ad5
lea eax, [esi + 0x28]
mov ecx, dword [0x516fa0]
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 + 0x31c], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x174
call fcn.004b18e0
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 0x12
je 0x471b23
push esi
mov ecx, eax
call fcn.0041c1b0
jmp 0x471b25
xor eax, eax
mov edi, dword [sym.imp.USER32.dll_CreateCursor]
push 0x512488
push 0x512408
push 0x20
push 0x20
push 4
mov dword [esi + 0x2ec], eax
mov edx, dword [0x516fa0]
push 0xb
push edx
mov byte [ebp - 4], 0xa
call edi
push 0x512588
push 0x512508
push 0x20
push 0x20
push 0xa
mov dword [esi + 0x4ec], eax
mov eax, dword [0x516fa0]
push 0xf
push eax
call edi
mov dword [esi + 0x4f0], eax
cmp byte [esi + 0xe8], bl
je 0x471b9d
mov ecx, dword [esi + 0xe4]
call fcn.00432590
test al, al
jne 0x471b9d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x8c]
push ebx
call fcn.004c6589
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
push ecx
mov ecx, dword [esi + 0x2ec]
push edx
call fcn.00414ca0
cmp byte [esi + 0x30e], bl
je 0x471be0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call edi
cmp dword [esi + 0x68], eax
jge 0x471bda
push 0x11
call edi
cmp dword [esi + 0x6c], eax
jl 0x471be0
mov byte [esi + 0x30e], bl
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
cmp dword [esi + 0x4e8], ebx
jne 0x471c3a
push 0x14a0
call fcn.004b18e0
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
cmp edi, ebx
mov byte [ebp - 4], 0x13
je 0x471c2e
cmp byte [esi + 0x98], bl
je 0x471c15
xor edx, edx
jmp 0x471c1b
mov edx, dword [esi + 0x318]
xor ecx, ecx
mov cl, byte [esi + 0x99]
push ecx
push edx
mov ecx, edi
call fcn.00479720
jmp 0x471c30
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [esi + 0x4e8], eax
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x80]
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xc8]
mov eax, dword [esi + 0x31c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x40]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi]
mov dword [esi + 0x344], eax
mov eax, dword [esi + 0x7c]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xc4]
mov ecx, esi
call fcn.004626b0
test al, al
pop edi
je 0x471c91
push 5
call fcn.004635c0
mov byte [esi + 0x331], bl
lea ecx, [ebp - 0xcc]
mov byte [esi + 0x311], 1
call fcn.0040207a
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.004c478a
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
call fcn.004c6589
int3