Function at 0x5a5e20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5a5e4f
push 0x735
push 0x714734
call fcn.004e0811
test eax, eax
je 0x5a5e4f
int3
cmp dword [ebp - 0x10], 0
jne 0x5a5e5a
call fcn.004de7c8
xor edx, edx
jne 0x5a5e29
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x148]
call eax
mov dword [ebp - 4], eax
push 0x73a
push 0x71476c
mov ecx, dword [ebp - 4]
push ecx
call fcn.004e5ca8
cmp dword [ebp - 4], 0
jne 0x5a5e8f
call fcn.004de7c8
xor edx, edx
jne 0x5a5e71
cmp dword [ebp + 8], 0
je 0x5a5ec0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
je 0x5a5ec0
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x80]
mov edx, dword [edx]
mov eax, dword [edx + 0x64]
call eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x84
call fcn.004db22b
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5a5faa
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x84
call fcn.004dcdd8
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
push 0x745
push 0x7147a4
mov eax, dword [ebp - 0x18]
push eax
call fcn.004e5ca8
cmp dword [ebp - 0x18], 0
jne 0x5a5f17
call fcn.004de7c8
xor ecx, ecx
jne 0x5a5ef9
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
movzx ecx, ax
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0xe800
jb 0x5a5fa5
cmp dword [ebp - 0x14], 0xe81f
ja 0x5a5fa5
mov ecx, dword [ebp - 0x14]
sub ecx, 0xe800
mov edx, 1
shl edx, cl
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x15c]
call eax
test eax, eax
je 0x5a5f70
mov ecx, dword [ebp - 8]
or ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x164]
call edx
test eax, eax
je 0x5a5f8d
cmp dword [ebp - 0x14], 0xe81f
je 0x5a5fa5
push 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
and ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.004e3db8
jmp 0x5a5ed8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
cmp dword [ebp + 8], 0
je 0x5a6119
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0xb4], 0
je 0x5a5fdd
push 0x756
push 0x7147dc
call fcn.004e0811
test eax, eax
je 0x5a5fdd
int3
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xb4], eax
push 0
mov ecx, dword [ebp - 0x34]
call fcn.004e26e8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x5a6026
push 0x75e
push 0x714814
call fcn.004e0811
test eax, eax
je 0x5a6026
int3
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x5a6077
push 1
mov ecx, dword [ebp - 0x34]
call fcn.004e6757
push 0
mov ecx, dword [ebp - 0x34]
call fcn.004dd067
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xd0]
and ecx, 0xfffffffe
mov edx, dword [ebp - 0x34]
mov dword [edx + 0xd0], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x60], 0
push 0x7915
mov ecx, dword [ebp - 0x34]
call fcn.004e39e4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xe900
je 0x5a60ba
push 0xe900
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5a60d1
push 0xea21
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300000
je 0x5a6114
push str.Warning:_scroll_bars_in_frame_windows_may_cause_unusual_behaviour._n
push 0
mov ecx, 0x7978b0
call fcn.004e2823
push eax
push 0x77a
push 0x71484c
lea ecx, [ebp - 0x30]
call fcn.004e515e
push eax
call fcn.004e64a5
add esp, 0x10
jmp 0x5a623b
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xb4], 0
push 0xea21
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5a617e
push 0xe900
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x5a616d
push 0xea21
push 0xfffffffffffffff4
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xe900
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x5a61a5
push 1
mov ecx, dword [ebp - 0x34]
call fcn.004e6757
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x80], 0
je 0x5a61cc
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x80]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x80]
mov edx, dword [eax]
mov eax, dword [edx + 0x64]
call eax
push 1
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x150]
call eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xe900
je 0x5a61ff
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x5a6219
push 0x79f
push 0x7148cc
call fcn.004e0811
test eax, eax
je 0x5a6219
int3
push 5
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x60], ecx
push 1
mov ecx, dword [ebp - 0x34]
call fcn.004e26e8
mov esp, ebp
pop ebp
ret 8