Function at 0x49517e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea eax, [ebp - 0x2c]
push eax
push 0x6a
push 0x64
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4951b3
mov eax, dword [ebp - 0x24]
jmp 0x49579f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004796fa
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0047557c
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4951e0
mov eax, dword [ebp - 0x24]
jmp 0x49579f
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xde]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x16], eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0047947b
add esp, 4
mov eax, dword [ebp + 0xc]
add eax, 0xd6
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xde]
push eax
push 0x65
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x49524b
mov eax, dword [ebp - 0x24]
jmp 0x49579f
mov eax, dword [ebp + 0xc]
add eax, 0xc6
push eax
push 0x66
push 0x65
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476c98
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x49527c
mov eax, dword [ebp - 0x24]
jmp 0x49579f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc6]
push eax
call fcn.004796fa
add esp, 4
push 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xd6]
push eax
call fcn.00479491
add esp, 8
push 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc6]
push eax
call fcn.00479491
add esp, 8
push 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1be]
push eax
call fcn.00479491
add esp, 8
push 0
push 0x800
mov eax, dword [ebp + 0xc]
add eax, 0x22
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp + 0xc]
test byte [eax + 0x23], 8
je 0x495330
lea eax, [ebp - 0x38]
push eax
call fcn.004fb666
add esp, 4
lea eax, [ebp - 0x40]
push eax
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.0050763a
add esp, 0x20
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x495330
mov eax, dword [ebp - 0x24]
jmp 0x49579f
push 1
push 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x26]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0043f494
add esp, 0x14
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x495366
mov eax, dword [ebp - 0x24]
jmp 0x49579f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xd6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xd6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x24], 0
je 0x49539b
mov eax, dword [ebp - 0x24]
jmp 0x49579f
push 1
push 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1d2]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x26]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004375be
add esp, 0x18
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x67
jne 0x4953da
mov dword [ebp - 0x24], 0x60
cmp dword [ebp - 0x24], 0
jne 0x495470
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xd6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add eax, 0xea
mov dword [0x53111c], eax
mov eax, dword [0x53111c]
mov dword [eax + 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0x16a
mov dword [0x531120], eax
mov eax, dword [0x531120]
mov dword [eax], 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x26]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00407230
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x32], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x36], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xd6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 1
push 1
mov eax, dword [ebp + 0xc]
add eax, 0x22
push eax
call fcn.004e43fc
add esp, 0xc
cmp dword [ebp - 0x24], 0xffffffff
jne 0x495494
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0
jne 0x49571a
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041a77f
add esp, 0xc
cmp dword [0x531890], 0
je 0x495619
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xa]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xe]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x18], eax
push 0x52ceb0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xa], 0
je 0x495571
mov eax, dword [ebp + 0xc]
test byte [eax + 0xe], 1
jne 0x495571
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xa]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.004e4256
add esp, 8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 2]
push eax
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004e472e
add esp, 0x18
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 6]
push eax
push 0
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004e472e
add esp, 0x18
push 0
push 0
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
push 0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax + 2]
shl ecx, 0x10
mov cl, 0x63
push ecx
push 0x114
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax + 6]
shl ecx, 0x10
mov cl, 0x63
push ecx
push 0x115
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004d440a
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x495691
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x533660], 1
push 0
push 1
push 6
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x533660], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004a1cd1
add esp, 4
cmp dword [0x531890], 0
jne 0x4956ce
push 0
push 0
push 0
push 1
push 0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax + 0xde]
shl ecx, 0x10
push ecx
push 0x457
mov eax, dword [ebp + 8]
push eax
call fcn.0043db0f
add esp, 0x20
jmp 0x495715
cmp dword [0x5318a8], 0
je 0x495715
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x42]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x42], 1
push 1
push 1
push 1
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xde]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0043c3e6
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x42], eax
jmp 0x495737
cmp dword [ebp - 0x24], 0xfffffffe
je 0x495737
mov eax, dword [ebp - 0x24]
push eax
call fcn.004ae776
add esp, 4
mov dword [ebp - 0x24], 0xffffffff
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xd6]
push eax
call fcn.00479491
add esp, 8
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc6]
push eax
call fcn.00479491
add esp, 8
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1be]
push eax
call fcn.00479491
add esp, 8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xd6]
push eax
call fcn.0047947b
add esp, 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc6]
push eax
call fcn.0047947b
add esp, 4
mov eax, dword [ebp - 0x24]
jmp 0x49579f
pop edi
pop esi
pop ebx
leave
ret