Function at 0x4297b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x30], ecx
cmp dword [ebp + 0xc], 0x2a3
jne 0x4297cc
mov eax, 1
jmp 0x429afb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xf
ja 0x429801
cmp dword [ebp - 0x34], 0xf
je 0x4299ab
cmp dword [ebp - 0x34], 2
je 0x429a9c
cmp dword [ebp - 0x34], 3
je 0x42982a
cmp dword [ebp - 0x34], 5
je 0x429886
jmp 0x429af9
cmp dword [ebp - 0x34], 0x18
je 0x4299eb
cmp dword [ebp - 0x34], 0x232
je 0x4299ce
cmp dword [ebp - 0x34], 0x31e
je 0x429aab
jmp 0x429af9
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 8]
and edx, 2
je 0x429881
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x11
push 0
push 0
mov edx, dword [ebp - 0x30]
movsx eax, byte [edx + 0xd]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ecx + 0xb]
sub eax, edx
push eax
mov eax, dword [ebp - 0x30]
movsx ecx, byte [eax + 0xc]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
movsx eax, byte [edx + 0xb]
sub ecx, eax
push ecx
push 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x429af9
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 8]
and ecx, 1
je 0x4299a6
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 8]
and eax, 8
jne 0x4299a6
cmp dword [ebp + 0x10], 2
je 0x4298b2
cmp dword [ebp + 0x10], 1
jne 0x4298d6
push 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 8]
and ecx, 0xfffffffd
mov edx, dword [ebp - 0x30]
mov byte [edx + 8], cl
jmp 0x42999d
push 0xfffffffffffffff0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
and ecx, 0x10000000
je 0x42999d
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 8]
or eax, 4
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 8], al
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 8]
and eax, 2
jne 0x429944
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 8]
or edx, 2
mov eax, dword [ebp - 0x30]
mov byte [eax + 8], dl
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.00429b10
push 8
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x14], 1
jmp 0x42999d
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x10]
and edx, 0xffff
movzx ecx, dx
cmp eax, ecx
jg 0x429988
mov edx, dword [ebp + 0x14]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x10]
shr edx, 0x10
and edx, 0xffff
movzx ecx, dx
cmp eax, ecx
jle 0x429991
mov edx, dword [ebp - 0x30]
mov byte [edx + 0x14], 1
jmp 0x42999d
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00429b10
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x10], edx
jmp 0x429af9
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
je 0x4299c9
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.00429b10
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x14], 0
jmp 0x429af9
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 8]
and edx, 2
je 0x4299e6
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00429b10
jmp 0x429af9
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 8]
and edx, 1
je 0x429a9a
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 8]
and ecx, 8
jne 0x429a9a
cmp dword [ebp + 0x10], 0
jne 0x429a32
push 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 8]
and edx, 0xfffffff9
mov eax, dword [ebp - 0x30]
mov byte [eax + 8], dl
jmp 0x429a96
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x14], 1
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.0042b040
push 0xfffffffffffffff0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000000
je 0x429a96
lea ecx, [ebp - 0x28]
call dword [sym.imp.duilib.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x28]
call dword [sym.imp.duilib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetHeight_void_const]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.duilib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetWidth_void_const]
push eax
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x429afb
jmp 0x429af9
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x429af9
mov dword [ebp - 0x2c], 0
cmp dword [0x46b63c], 0
je 0x429ac5
lea ecx, [ebp - 0x2c]
push ecx
call dword [0x46b63c]
cmp dword [ebp - 0x2c], 0
je 0x429add
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 8]
or eax, 8
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 8], al
jmp 0x429aed
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 8]
and eax, 0xfffffff7
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 8], al
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.0042b040
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10