Function at 0x495060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e498
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx]
cmp eax, dword [edi + 0xaf8]
jne 0x4950f6
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0xc]
lea ecx, [edi + 0xaf4]
call fcn.004317e0
test eax, eax
je 0x4950c4
push dword [ebp - 0x10]
lea ecx, [edi + 0x3a8]
push dword [ebp - 0x14]
call fcn.004359f0
lea ecx, [edi + 0x154]
push 0x82b
call fcn.00418200
test eax, eax
je 0x4950dd
push 1
push eax
call esi
push 0x82c
lea ecx, [edi + 0x154]
call fcn.00418200
test eax, eax
je 0x4950f6
push 1
push eax
call esi
mov eax, dword [ebx]
cmp eax, dword [edi + 0x1208]
jne 0x49514b
lea ecx, [edi + 0x154]
push 0x82b
call fcn.00418200
test eax, eax
je 0x495119
push 1
push eax
call esi
push 0x82c
lea ecx, [edi + 0x154]
call fcn.00418200
test eax, eax
je 0x495132
push 1
push eax
call esi
push 0x82f
lea ecx, [edi + 0x154]
call fcn.00418200
test eax, eax
je 0x49514b
push 1
push eax
call esi
mov eax, dword [ebx]
cmp eax, dword [edi + 0x15a0]
jne 0x4951a0
lea ecx, [edi + 0x154]
push 0x82b
call fcn.00418200
test eax, eax
je 0x49516e
push 1
push eax
call esi
push 0x82c
lea ecx, [edi + 0x154]
call fcn.00418200
test eax, eax
je 0x495187
push 1
push eax
call esi
push 0x830
lea ecx, [edi + 0x154]
call fcn.00418200
test eax, eax
je 0x4951a0
push 1
push eax
call esi
mov eax, dword [ebx]
cmp eax, dword [edi + 0x1934]
jne 0x4951dc
lea ecx, [edi + 0x154]
push 0x82b
call fcn.00418200
test eax, eax
je 0x4951c3
push 1
push eax
call esi
push 0x82c
lea ecx, [edi + 0x154]
call fcn.00418200
test eax, eax
je 0x4951dc
push 1
push eax
call esi
mov eax, dword [ebx]
cmp eax, dword [edi + 0xe88]
jne 0x495637
mov eax, dword [ebx + 0xc]
cmp eax, dword [edi + 0x11fc]
jge 0x495223
test eax, eax
js 0x495223
cmp eax, dword [edi + 0x11fc]
jge 0x495212
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [edi + 0x11f8]
mov ebx, dword [eax + 0x2c]
jmp 0x495226
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ebx
cmp dword [edi + 0x1cc4], ebx
je 0x495637
push 0x54727d
push dword [edi + 0x1e4]
mov dword [edi + 0x1cc4], ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 1
mov ecx, ebx
mov dword [ebp - 4], 0
and ecx, 0xffff0000
cmp ecx, 0x30000
jg 0x49553f
je 0x49544c
cmp ecx, 0x10000
je 0x495397
cmp ecx, 0x20000
jne 0x49562e
push 0
lea ebx, [edi + 0x154]
push 0x82d
mov ecx, ebx
call fcn.00483420
push 1
push 0x82e
mov ecx, ebx
call fcn.00483420
push 1
push 0x82f
mov ecx, ebx
call fcn.00483420
push 0
push 0x830
mov ecx, ebx
call fcn.00483420
cmp dword [edi + 0x157c], 0
mov eax, dword [ebp + 0xc]
jle 0x4952f5
cmp dword [edi + 0x158c], eax
je 0x495301
push eax
lea ecx, [edi + 0x1204]
call fcn.004a4970
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x2b8]
call esi
push 5
push dword [edi + 0x1208]
call esi
push 0x54727d
lea ecx, [edi + 0x1204]
call fcn.0049ae80
push dword [edi + 0x1208]
lea ecx, [edi + 0x290]
call fcn.00482ed0
cmp dword [edi + 0x1558], 0
mov ecx, ebx
jle 0x49536f
push 1
push 0x82b
call fcn.00494190
push 1
push 0x82c
mov ecx, ebx
call fcn.00494190
push 1
push 0x82f
mov ecx, ebx
jmp 0x495629
push 0
push 0x82b
call fcn.00494190
push 0
push 0x82c
mov ecx, ebx
call fcn.00494190
push 0
push 0x82f
mov ecx, ebx
jmp 0x495629
push 1
lea ebx, [edi + 0x154]
push 0x82d
mov ecx, ebx
call fcn.00483420
push 0
push 0x82e
mov ecx, ebx
call fcn.00483420
push 0
push 0x82f
mov ecx, ebx
call fcn.00483420
push 0
push 0x830
mov ecx, ebx
call fcn.00483420
mov eax, dword [edi + 0x2b8]
cmp eax, dword [edi + 0xd8]
je 0x495419
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 5
push dword [edi + 0xd8]
call esi
push 0x54727d
lea ecx, [edi + 0xaf4]
call fcn.0049ae80
push dword [edi + 0xd8]
lea ecx, [edi + 0x290]
call fcn.00482ed0
cmp dword [edi + 0xe48], 0
mov ecx, ebx
jle 0x495439
push 1
push 0x82b
call fcn.00494190
push 1
mov ecx, ebx
jmp 0x495624
push 0
push 0x82b
call fcn.00494190
mov ecx, ebx
jmp 0x495622
push 0
lea esi, [edi + 0x154]
push 0x82d
mov ecx, esi
call fcn.00483420
push 0
push 0x82e
mov ecx, esi
call fcn.00483420
push 0
push 0x82f
mov ecx, esi
call fcn.00483420
push 1
push 0x830
mov ecx, esi
call fcn.00483420
push 0
push dword [edi + 0x2b8]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x1914], 0
jle 0x4954a9
cmp dword [edi + 0x1924], ebx
je 0x4954b5
push ebx
lea ecx, [edi + 0x159c]
call fcn.004a4470
push 5
push dword [edi + 0x15a0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x54727d
lea ecx, [edi + 0x159c]
call fcn.0049ae80
push dword [edi + 0x15a0]
lea ecx, [edi + 0x290]
call fcn.00482ed0
cmp dword [edi + 0x18f0], 0
mov ecx, esi
jle 0x495517
push 1
push 0x82b
call fcn.00494190
push 1
push 0x82c
mov ecx, esi
call fcn.00494190
push 1
push 0x830
mov ecx, esi
jmp 0x495629
push 0
push 0x82b
call fcn.00494190
push 0
push 0x82c
mov ecx, esi
call fcn.00494190
push 0
push 0x830
mov ecx, esi
jmp 0x495629
cmp ecx, 0x40000
jne 0x49562e
push 0
push 0x82d
lea ecx, [edi + 0x154]
call fcn.00483420
push 0
push 0x82e
lea ecx, [edi + 0x154]
call fcn.00483420
push 0
push 0x82f
lea ecx, [edi + 0x154]
call fcn.00483420
push 0
push 0x830
lea ecx, [edi + 0x154]
call fcn.00483420
cmp dword [edi + 0x1ca8], 0
jle 0x4955a4
cmp dword [edi + 0x1cb8], ebx
je 0x4955b0
push ebx
lea ecx, [edi + 0x1930]
call fcn.004a3eb0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x2b8]
call esi
push 5
push dword [edi + 0x1934]
call esi
push 0x54727d
lea ecx, [edi + 0x1930]
call fcn.0049ae80
push dword [edi + 0x1934]
lea ecx, [edi + 0x290]
call fcn.00482ed0
cmp dword [edi + 0x1c84], 0
lea ecx, [edi + 0x154]
jle 0x495610
push 1
push 0x82b
call fcn.00494190
push 1
lea ecx, [edi + 0x154]
jmp 0x495624
push 0
push 0x82b
call fcn.00494190
lea ecx, [edi + 0x154]
push 0
push 0x82c
call fcn.00494190
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc