Function at 0x45bc40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x569080]
xor eax, esp
mov dword [esp + 0x20], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
jne 0x45bf04
mov edi, dword [ebp + 0xc]
cmp edi, 0x110
jne 0x45bca9
sub esp, 8
mov dword [esi + 0xc4], 1
call fcn.0045c640
mov dword [ebx], eax
cmp dword [esi + 0xc4], 0
jne 0x45bee8
mov ebx, dword [esi + 0x70]
jmp 0x45bce0
cmp edi, 0x4e
jne 0x45bcd1
cmp dword [edx + 8], 0xffffff9c
jne 0x45bcd1
mov dword [ebx], 1
lea eax, [edi - 0x4d]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
mov ebx, dword [esi + 0x70]
cmp edi, 0x110
jne 0x45bd61
cmp byte [esi + 0x75], 0
mov dword [esi + 0x70], 1
je 0x45bcfd
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x45bd1f
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.0045d0c0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
je 0x45be07
mov dword [esi + 0x70], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 2
jne 0x45bdac
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x70], 0
mov dword [ecx], 0
cmp dword [esi + 0x70], 0
je 0x45be07
mov dword [esi + 0x70], ebx
lea eax, [edi - 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x4e
jne 0x45be0b
cmp dword [edx + 8], 0xffffff38
jne 0x45bdde
mov eax, dword [esi + 4]
mov dword [edx + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0xc]
push ecx
push dword [esp + 0x18]
push edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
push eax
push edx
sub esp, 8
mov ecx, esi
call fcn.0045cee0
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
jne 0x45bee5
mov edx, dword [esp + 0xc]
lea ecx, [esi + 0x50]
cmp edi, 5
jne 0x45bebe
xor eax, eax
mov edi, esi
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x45be56
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x14]
cmp ecx, 2
jne 0x45be47
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45be5f
test ecx, ecx
jne 0x45be5a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45be5f
mov ecx, dword [esp + 0x14]
cmp ecx, 1
je 0x45bedb
mov ecx, dword [esp + 0xc]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x50]
push eax
call fcn.0045cc60
lea eax, [esp + 0x1c]
push eax
push dword [edi + 0xd4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0x101d
push dword [edi + 0xd4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x24]
sub ecx, eax
sub ecx, 3
movzx eax, cx
push eax
push 1
push 0x101e
push dword [edi + 0xd4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45bedb
cmp edi, 0x24
jne 0x45bf01
cmp dword [ecx + 0x14], 0xffffffff
je 0x45bedb
cmp dword [ecx + 0x18], 0xffffffff
je 0x45bedb
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [esp + 0x10]
mov dword [eax], 0
mov dword [esi + 0x70], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi + 0x70], ebx
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18