Function at 0x4df2a3
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x2c
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4df72b
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4df72b
mov eax, dword [esi + 0xe93c]
test eax, eax
je 0x4df2e7
mov edx, dword [esp + 0x3c]
xor eax, eax
pop esi
mov dword [edx], 1
add esp, 0x2c
ret 0x10
cmp dword [esp + 0x34], 1
je 0x4df72b
mov eax, dword [esi + 4]
push ebx
push ebp
push edi
push 2
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov dword [esi + 0xe934], eax
mov ebx, ebp
mov dword [ecx], 1
mov edx, dword [esi + 4]
and ebx, 0xffff
push edx
shr ebp, 0x10
mov dword [esi + 0xe98c], ebx
mov dword [esi + 0xe990], ebp
call dword [sym.imp.USER32.dll_IsZoomed]
mov ecx, dword [esi + 0xe998]
test eax, eax
mov dword [esp + 0x18], ecx
je 0x4df425
mov eax, ecx
lea edx, [ecx + ecx]
neg eax
mov dword [esp + 0x14], edx
mov ecx, dword [esi + 0xe9a4]
mov edi, ecx
neg edi
sbb edi, edi
and edi, eax
mov dword [esp + 0x24], edi
lea eax, [edi + edi]
sub ebx, eax
sub ebp, eax
xor eax, eax
mov dword [esp + 0x1c], ebx
test edi, edi
setl al
dec eax
and eax, edi
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0xe964]
test eax, eax
je 0x4df3a6
mov edx, dword [esi + 0xe95c]
mov eax, ebx
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xe960]
test eax, eax
jne 0x4df3a6
add edx, edi
mov dword [esp + 0x24], edx
test ecx, ecx
mov dword [esp + 0x10], 0
je 0x4df456
test ebx, ebx
jle 0x4df456
mov edx, dword [esi + 0x2a74]
lea ecx, [esi + 0x2a74]
call dword [edx + 0x2c]
mov edx, dword [esi + 0x3968]
mov ecx, eax
mov eax, ebx
sub eax, ecx
lea ecx, [esi + 0x3968]
mov dword [esp + 0x44], eax
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x44]
sub ecx, eax
cmp ecx, 0xc8
mov dword [esp + 0x44], ecx
jge 0x4df400
mov dword [esp + 0x44], 0xc8
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x50]
push 0x3e7
call dword [eax + 0xc]
test eax, eax
je 0x4df43a
mov ecx, dword [esp + 0x44]
push 0xc8
push ecx
push 0xa
push 0x3e7
jmp 0x4df44e
mov ecx, dword [esi + 0xe99c]
mov eax, dword [esi + 0xe994]
mov dword [esp + 0x14], ecx
jmp 0x4df353
mov edx, dword [esp + 0x44]
push 0x109
push edx
push 0x109
push 0x3e9
lea ecx, [esi + 0x28]
call fcn.004e9980
mov eax, dword [esi + 0xe930]
test eax, eax
je 0x4df4a2
mov eax, dword [esi + 0xe940]
mov ecx, dword [esi + 0x2c]
cmp eax, ecx
je 0x4df507
lea ecx, [esi + 0x28]
push ebx
call fcn.004e8cb0
mov ecx, dword [esi + 0x2c]
push 0x40
mov dword [esp + 0x48], ecx
lea ecx, [esi + 0x28]
call fcn.004e99b0
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ebx
push edx
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4df507
test byte [esi + 0x9748], 1
je 0x4df4fb
lea ecx, [esi + 0x28]
call fcn.004e99b0
mov ecx, dword [esi + 0xe940]
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 0x2c]
je 0x4df507
push ebx
lea ecx, [esi + 0x28]
call fcn.004e8cb0
lea ecx, [esi + 0x28]
call fcn.004e99b0
mov edx, dword [esi + 0xebd8]
mov ecx, dword [esi + 0x2c]
neg edx
sbb edx, edx
mov dword [esp + 0x10], eax
and edx, 0x40
push edx
push eax
mov eax, dword [esp + 0x50]
push ebx
push eax
push edi
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4df507
mov edx, dword [esi + 0x2c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x57bc]
mov dword [esp + 0x44], 0
test eax, eax
je 0x4df5e7
lea eax, [esi + 0x57b4]
test eax, eax
je 0x4df52f
lea eax, [esi + 0x57b8]
jmp 0x4df531
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4df5e7
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esi + 0x57b4]
test eax, eax
je 0x4df56b
lea eax, [esi + 0x57b8]
jmp 0x4df56d
xor eax, eax
mov edx, dword [eax + 4]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
sub eax, edx
mov dword [esp + 0x44], eax
lea eax, [esi + 0x57b4]
test eax, eax
je 0x4df59c
lea ecx, [esi + 0x57b8]
jmp 0x4df59e
xor ecx, ecx
mov edx, dword [esi + 0xe940]
cmp edx, dword [ecx + 4]
je 0x4df5e7
test eax, eax
je 0x4df5b5
lea ecx, [esi + 0x57b8]
jmp 0x4df5b7
xor ecx, ecx
mov eax, dword [esi + 0xebd8]
mov edx, dword [esp + 0x48]
neg eax
sbb eax, eax
and eax, 0x40
push eax
mov eax, dword [esp + 0x48]
push eax
sub edx, eax
mov eax, dword [esp + 0x1c]
push ebx
sub edx, eax
mov eax, dword [ecx + 4]
add edx, ebp
push edx
push edi
push 1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
lea eax, [ecx + edx]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xe964]
test eax, eax
je 0x4df693
mov eax, dword [esi + 0x9750]
test eax, eax
je 0x4df6a8
mov edx, dword [esp + 0x44]
mov eax, ebp
sub eax, edx
mov edx, dword [esp + 0x14]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
lea ecx, [edi + eax]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0xe960]
test ecx, ecx
je 0x4df649
sub edi, dword [esi + 0xe95c]
sub edi, eax
add edi, ebx
mov dword [esp + 0x48], edi
mov eax, dword [esi + 0x9750]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xe930]
mov edx, dword [esp + 0x28]
neg ecx
mov eax, dword [esi + 0xe95c]
sbb ecx, ecx
and ecx, 4
or ecx, 0x40
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esi + 0x9750]
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4df6a8
mov eax, dword [esi + 0x977c]
test eax, eax
jne 0x4df6a8
lea ecx, [esi + 0x974c]
call fcn.004ece70
mov ecx, dword [esi + 0xebd8]
mov edx, dword [esp + 0x44]
neg ecx
sbb ecx, ecx
mov eax, dword [esp + 0x14]
and ecx, 0x40
sub ebp, edx
or ecx, 4
push ecx
mov ecx, dword [esp + 0x14]
sub ebp, ecx
mov ecx, dword [esp + 0x1c]
sub ebp, eax
mov eax, dword [esp + 0x20]
lea edx, [ecx + ecx]
push ebp
sub eax, edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
add edx, ecx
push eax
mov eax, dword [esi + 0xb04]
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, esi
call fcn.004e1640
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4df718
mov edi, dword [esp + 0x40]
mov edx, dword [esi]
xor eax, eax
cmp edi, 2
sete al
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [esi + 4]
push 1
push 0
push ecx
call fcn.004ff6b0
add esp, 0xc
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x2c
ret 0x10