Function at 0x4983d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4983d8
push ebx
push esi
push edi
mov ebx, 0x49b628
xor eax, eax
push ebp
push 0x498768
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.0042d44c
mov eax, dword [ebp - 0x20]
mov edx, 0x498780
call fcn.00406ac4
test eax, eax
jne 0x498419
mov byte [ebp - 1], 1
jmp 0x49843f
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.0042d44c
mov eax, dword [ebp - 0x20]
mov edx, 0x498790
call fcn.00406ac4
test eax, eax
jne 0x49874d
mov byte [ebp - 1], 0
mov edx, 0x4987a0
mov eax, dword [ebx]
call fcn.004242c4
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
push eax
call sub.user32.dll_ShowWindow
call fcn.0047f30c
push 0x4987a8
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 0x49849f
mov eax, dword [ebx]
call fcn.004244ac
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 8]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x498481
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
push ebp
push 0x498746
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0042d44c
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
mov edx, 0x4987c8
call fcn.0042c4f8
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0042d44c
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov edx, 0x4987d8
call fcn.0042c4f8
mov eax, dword [ebp - 0x14]
call fcn.0042cd24
test al, al
je 0x4986e9
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.004515b0
test byte [0x49bff0], 1
setne al
call fcn.0042f120
mov edx, dword [0x49bec4]
mov eax, dword [ebx]
call fcn.004242c4
xor eax, eax
push ebp
push 0x4986e2
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0047cb94
push 2
push 0
push 1
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, 0x450524
call fcn.0045072c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4986c8
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4986a2
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004509d0
mov eax, dword [ebp - 0x18]
call fcn.00403574
cmp eax, 4
jle 0x4986a2
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0x5b
jne 0x4986a2
mov eax, dword [ebp - 0x18]
cmp byte [eax + 3], 0x5d
jne 0x4986a2
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 0x4985cb
cmp byte [ebp - 1], 0
je 0x4985c7
cmp byte [0x49c43c], 0
je 0x4985cb
xor eax, eax
jmp 0x4985cd
mov al, 1
mov byte [ebp - 2], al
xor eax, eax
push ebp
push 0x498638
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 1]
sub al, 0x53
je 0x498608
dec al
je 0x498624
sub al, 0x1f
je 0x4985f6
dec al
je 0x49861a
jmp 0x49862e
mov al, byte [ebp - 2]
push eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
xor eax, eax
call fcn.00458320
jmp 0x49862e
mov al, byte [ebp - 2]
push eax
mov ecx, dword [ebp - 0x1c]
mov dl, 1
xor eax, eax
call fcn.00458320
jmp 0x49862e
mov eax, dword [ebp - 0x1c]
call fcn.00456bfc
jmp 0x49862e
mov edx, dword [ebp - 0x1c]
xor eax, eax
call fcn.00458494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4986a2
mov eax, dword [ebp - 0xc]
call fcn.004509c0
test al, al
je 0x498564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4986cf
mov eax, dword [ebp - 0xc]
call fcn.00402b58
ret
mov eax, dword [ebp - 0x14]
call fcn.00406f50
mov eax, dword [ebp - 0x10]
call fcn.00406f50
xor eax, eax
push ebp
push 0x498716
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0049832c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498720
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49874d
cmp dword [ebp - 8], 0
je 0x498745
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 0x49876f
lea eax, [ebp - 0x28]
mov edx, 7
call fcn.00403420
ret