Function at 0x496a98
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x496aa0
push ebx
push esi
push edi
mov ebx, 0x49a628
xor eax, eax
push ebp
push 0x496e30
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.0042d418
mov eax, dword [ebp - 0x20]
mov edx, 0x496e48
call fcn.00406acc
test eax, eax
jne 0x496ae1
mov byte [ebp - 1], 1
jmp 0x496b07
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.0042d418
mov eax, dword [ebp - 0x20]
mov edx, 0x496e58
call fcn.00406acc
test eax, eax
jne 0x496e15
mov byte [ebp - 1], 0
mov edx, 0x496e68
mov eax, dword [ebx]
call fcn.004242d4
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
push eax
call sub.user32.dll_ShowWindow
call fcn.0047da28
push 0x496e70
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebp - 8], 0
je 0x496b67
mov eax, dword [ebx]
call fcn.004244bc
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 8]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x496b49
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
push ebp
push 0x496e0e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0042d418
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
mov edx, 0x496e90
call fcn.0042c4c4
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0042d418
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov edx, 0x496ea0
call fcn.0042c4c4
mov eax, dword [ebp - 0x14]
call fcn.0042ccf0
test al, al
je 0x496db1
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00450c20
test byte [0x49af98], 1
setne al
call fcn.0042ef94
mov edx, dword [0x49ae80]
mov eax, dword [ebx]
call fcn.004242d4
xor eax, eax
push ebp
push 0x496daa
push dword fs:[eax]
mov dword fs:[eax], esp
call 0x47b794
push 2
push 0
push 1
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, 0x44fb94
call fcn.0044fd9c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x496d90
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x496d6a
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00450040
mov eax, dword [ebp - 0x18]
call fcn.00403574
cmp eax, 4
jle 0x496d6a
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0x5b
jne 0x496d6a
mov eax, dword [ebp - 0x18]
cmp byte [eax + 3], 0x5d
jne 0x496d6a
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x7fffffff
mov edx, 5
mov eax, dword [ebp - 0x18]
call fcn.00403778
mov eax, dword [ebp - 0x18]
cmp byte [eax + 2], 0x71
je 0x496c93
cmp byte [ebp - 1], 0
je 0x496c8f
cmp byte [0x49b37e], 0
je 0x496c93
xor eax, eax
jmp 0x496c95
mov al, 1
mov byte [ebp - 2], al
xor eax, eax
push ebp
push 0x496d00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 1]
sub al, 0x53
je 0x496cd0
dec al
je 0x496cec
sub al, 0x1f
je 0x496cbe
dec al
je 0x496ce2
jmp 0x496cf6
mov al, byte [ebp - 2]
push eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
xor eax, eax
call fcn.00457b20
jmp 0x496cf6
mov al, byte [ebp - 2]
push eax
mov ecx, dword [ebp - 0x1c]
mov dl, 1
xor eax, eax
call fcn.00457b20
jmp 0x496cf6
mov eax, dword [ebp - 0x1c]
call fcn.00455ef4
jmp 0x496cf6
mov edx, dword [ebp - 0x1c]
xor eax, eax
call fcn.00457cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x496d6a
mov eax, dword [ebp - 0xc]
call fcn.00450030
test al, al
je 0x496c2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496d97
mov eax, dword [ebp - 0xc]
call fcn.00402b58
ret
mov eax, dword [ebp - 0x14]
call fcn.00406f58
mov eax, dword [ebp - 0x10]
call fcn.00406f58
xor eax, eax
push ebp
push 0x496dde
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004969f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x496de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496e15
cmp dword [ebp - 8], 0
je 0x496e0d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496e37
lea eax, [ebp - 0x28]
mov edx, 7
call fcn.00403420
ret