Function at 0x49836c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0d75
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x520404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
cmp eax, 0x7e8
ja 0x498347
je 0x49823d
sub eax, 2
je 0x498230
sub eax, 0x111
jne case.0x498365.2
cmp dword [ebp + 0xc], 0x3e8
jne case.0x498365.2
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push str.lb_tips
push 0
push 0x8002
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x522358
push 0x521a20
push 0
push eax
call fcn.004ada2c
add esp, 0x14
mov ecx, eax
mov edx, dword [eax]
push 0
call dword [edx + 0x4c]
jmp case.0x498365.2
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp case.0x498365.2
mov ecx, dword [esi + 0x20]
sub esp, 8
fld qword [0x509018]
mov eax, dword [ecx]
fstp qword [esp]
call dword [eax + 0x140]
mov ecx, dword [esi + 0x20]
sub esp, 8
fild dword [ebp + 0x10]
mov eax, dword [ecx]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fstp qword [esp]
call dword [eax + 0x13c]
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x498403
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push str.STRID_SIMULATOR_UNINSTING
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x528774
call fcn.004973a0
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x4982ae
mov eax, dword [eax]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00478110
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4982fc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4982f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49840d
push edx
push ecx
call fcn.004a7d37
add esp, 8
mov ecx, dword [esi + 0x28]
xor eax, eax
mov esi, dword [ebp - 0x2c]
mov word [ebp - 0x28], ax
push esi
mov eax, dword [ecx]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call dword [eax + 0x12c]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg case.0x498365.2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp case.0x498365.2
cmp eax, 0x7e9
jne case.0x498365.2
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xb
ja case.0x498365.2
movzx eax, byte [ecx + 0x498428]
jmp dword [eax*4 + 0x498414]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push str.__close
push 0
push 0x8002
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x90]
jmp case.0x498365.2
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push str.__close
push 0
push 0x8002
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x90]
jmp case.0x498365.2
push ecx
mov ecx, esi
call fcn.00498ce0
jmp case.0x498365.2
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00477ec0
call fcn.004af45f
mov edi, edi
insb byte es:[edi], dx
or dword [ecx], -102
or dword [ecx], 0xffffffcc
or dword [ecx], 0xffffffd6
or dword [ecx], 0xffffffe5
or dword [ecx], 0
add dword [edx + eax], eax
add al, byte [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [edx]
int3