Function at 0x646ef0
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 0x646f1f
push 0x735
push 0x7d7904
call fcn.0052630c
test eax, eax
je 0x646f1f
int3
cmp dword [ebp - 0x10], 0
jne 0x646f2a
call fcn.005241e2
xor edx, edx
jne 0x646ef9
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 0x7d793c
mov ecx, dword [ebp - 4]
push ecx
call fcn.0052b988
cmp dword [ebp - 4], 0
jne 0x646f5f
call fcn.005241e2
xor edx, edx
jne 0x646f41
cmp dword [ebp + 8], 0
je 0x646f90
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
je 0x646f90
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.0052123a
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x64707a
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x84
call fcn.0052284c
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
push 0x745
push 0x7d7974
mov eax, dword [ebp - 0x18]
push eax
call fcn.0052b988
cmp dword [ebp - 0x18], 0
jne 0x646fe7
call fcn.005241e2
xor ecx, ecx
jne 0x646fc9
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 0x647075
cmp dword [ebp - 0x14], 0xe81f
ja 0x647075
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 0x647040
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 0x64705d
cmp dword [ebp - 0x14], 0xe81f
je 0x647075
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.00529a39
jmp 0x646fa8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
cmp dword [ebp + 8], 0
je 0x6471e9
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0xb4], 0
je 0x6470ad
push 0x756
push 0x7d79ac
call fcn.0052630c
test eax, eax
je 0x6470ad
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.005282e7
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 0x6470f6
push 0x75e
push 0x7d79e4
call fcn.0052630c
test eax, eax
je 0x6470f6
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 0x647147
push 1
mov ecx, dword [ebp - 0x34]
call fcn.0052c473
push 0
mov ecx, dword [ebp - 0x34]
call fcn.005229eb
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.00529651
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xe900
je 0x64718a
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 0x6471a1
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 0x6471e4
push str.Warning:_scroll_bars_in_frame_windows_may_cause_unusual_behaviour._n
push 0
mov ecx, 0x8729f4
call fcn.00528427
push eax
push 0x77a
push 0x7d7a1c
lea ecx, [ebp - 0x30]
call fcn.0052ae3e
push eax
call fcn.0052c1ad
add esp, 0x10
jmp 0x64730b
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 0x64724e
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 0x64723d
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 0x647275
push 1
mov ecx, dword [ebp - 0x34]
call fcn.0052c473
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 0x64729c
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 0x6472cf
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 0x6472e9
push 0x79f
push 0x7d7a9c
call fcn.0052630c
test eax, eax
je 0x6472e9
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.005282e7
mov esp, ebp
pop ebp
ret 8