Function at 0x4da430
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b95b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5a83f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.004d9750
mov ecx, dword [ebp + 8]
call fcn.004d9e70
or eax, 0x40000080
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
call fcn.004d6080
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
and ecx, 0
je 0x4da4bc
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xac], edx
jmp 0x4da4f2
mov eax, dword [ebp - 0xb4]
and eax, 1
je 0x4da4d8
mov ecx, dword [ebp - 0xac]
or ecx, 1
mov dword [ebp - 0xac], ecx
jmp 0x4da4f2
mov edx, dword [ebp - 0xb4]
and edx, 2
je 0x4da4f2
mov eax, dword [ebp - 0xac]
or eax, 2
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004da8a0
movzx edx, al
test edx, edx
je 0x4da516
mov eax, dword [ebp - 0xac]
or eax, 0x20
mov dword [ebp - 0xac], eax
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
push 0
mov ecx, dword [ebp - 0xac]
push ecx
push 0
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00472ca0
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.0047b660
mov dword [ebp - 0xb0], 0
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004d5ee0
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xffffffff
je 0x4da5bf
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x14]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.004726e0
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x4da5f0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x14]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.00472360
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
push 1
mov ecx, dword [ebp - 0xb0]
push ecx
push 0x30
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004d9dc0
push eax
push 0xc5
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004da8a0
movzx edx, al
test edx, edx
je 0x4da66f
push 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
call fcn.004d9e30
movzx ecx, ax
push ecx
push 0xcc
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xd0]
call fcn.004053a0
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00481030
push 0
push 0
push 0xb9
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 3
push 0xd3
mov ecx, dword [ebp - 0xa8]
call fcn.0047b960
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x14]
mov edx, dword [eax + 0xe8]
call edx
movzx eax, al
cmp eax, 1
jne 0x4da733
mov dword [ebp - 0xc0], 1
jmp 0x4da73d
mov dword [ebp - 0xc0], 0
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004da8c0
movzx edx, al
cmp edx, 1
jne 0x4da776
mov dword [ebp - 0xc4], 1
jmp 0x4da780
mov dword [ebp - 0xc4], 0
push 0
mov eax, dword [ebp - 0xc4]
push eax
push 0xcf
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004da880
movzx edx, al
test edx, edx
je 0x4da81e
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x4da7fe
mov dword [ebp - 0xb8], 1
mov edx, dword [ebp - 0xb8]
push edx
push 0
push 0xb1
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4da857
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
push 0xb1
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xa8]
mov byte [edx + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ec22
mov esp, ebp
pop ebp
ret 4