Function at 0x499cb8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x499cc0
push ebx
push esi
push edi
mov ebx, 0x49d62c
xor eax, eax
push ebp
push 0x49a050
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.0042d89c
mov eax, dword [ebp - 0x20]
mov edx, 0x49a068
call fcn.00406f14
test eax, eax
jne 0x499d01
mov byte [ebp - 1], 1
jmp 0x499d27
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.0042d89c
mov eax, dword [ebp - 0x20]
mov edx, 0x49a078
call fcn.00406f14
test eax, eax
jne 0x49a035
mov byte [ebp - 1], 0
mov edx, 0x49a088
mov eax, dword [ebx]
call fcn.00424714
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
push eax
call sub.user32.dll_ShowWindow
call fcn.00480610
push 0x49a090
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 0x499d87
mov eax, dword [ebx]
call fcn.004248fc
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 8]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x499d69
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
push ebp
push 0x49a02e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0042d89c
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
mov edx, 0x49a0b0
call fcn.0042c948
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0042d89c
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov edx, 0x49a0c0
call fcn.0042c948
mov eax, dword [ebp - 0x14]
call fcn.0042d174
test al, al
je 0x499fd1
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00451cf4
test byte [0x49dff4], 1
setne al
call fcn.0042f5ac
mov edx, dword [0x49dec8]
mov eax, dword [ebx]
call fcn.00424714
xor eax, eax
push ebp
push 0x499fca
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0047dea0
push 2
push 0
push 1
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, 0x450c68
call fcn.00450e70
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x499fb0
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x499f8a
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00451114
mov eax, dword [ebp - 0x18]
call fcn.00403574
cmp eax, 4
jle 0x499f8a
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0x5b
jne 0x499f8a
mov eax, dword [ebp - 0x18]
cmp byte [eax + 3], 0x5d
jne 0x499f8a
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 0x499eb3
cmp byte [ebp - 1], 0
je 0x499eaf
cmp byte [0x49e448], 0
je 0x499eb3
xor eax, eax
jmp 0x499eb5
mov al, 1
mov byte [ebp - 2], al
xor eax, eax
push ebp
push 0x499f20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 1]
sub al, 0x53
je 0x499ef0
dec al
je 0x499f0c
sub al, 0x1f
je 0x499ede
dec al
je 0x499f02
jmp 0x499f16
mov al, byte [ebp - 2]
push eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
xor eax, eax
call fcn.00458b1c
jmp 0x499f16
mov al, byte [ebp - 2]
push eax
mov ecx, dword [ebp - 0x1c]
mov dl, 1
xor eax, eax
call fcn.00458b1c
jmp 0x499f16
mov eax, dword [ebp - 0x1c]
call fcn.00457398
jmp 0x499f16
mov edx, dword [ebp - 0x1c]
xor eax, eax
call fcn.00458c90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x499f8a
mov eax, dword [ebp - 0xc]
call fcn.00451104
test al, al
je 0x499e4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499fb7
mov eax, dword [ebp - 0xc]
call fcn.00402b58
ret
mov eax, dword [ebp - 0x14]
call fcn.004073a0
mov eax, dword [ebp - 0x10]
call fcn.004073a0
xor eax, eax
push ebp
push 0x499ffe
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00499c14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a035
cmp dword [ebp - 8], 0
je 0x49a02d
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 0x49a057
lea eax, [ebp - 0x28]
mov edx, 7
call fcn.00403420
ret