Function at 0x45ea9f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485707
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push 0
mov eax, dword [0x4b5fe8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x48686c]
mov ecx, dword [0x48685c]
lea edx, [ecx + eax + 4]
mov eax, dword [ebp - 0x12c]
sub eax, edx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x138]
push ecx
push 0x56c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x134]
mov dword [ebp - 0x10], eax
push 0x56c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x11c], eax
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x12c]
sub ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x10]
sub edx, ecx
mov dword [ebp - 0x10], edx
xor eax, eax
cmp dword [ebp - 0x10], 0
setl al
dec eax
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
push 0x43f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x11c], eax
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call fcn.00461b6a
add esp, 8
mov eax, dword [ebp - 0x130]
add eax, dword [ebp - 0x138]
sub eax, dword [0x486858]
sub eax, 2
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x128], eax
push 0
mov ecx, dword [0x48685c]
add ecx, 2
push ecx
mov edx, dword [0x486858]
add edx, 2
push edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
push 7
call fcn.0047cae3
add esp, 4
push 7
call fcn.0047d1ca
add esp, 4
push 0
push 0x1f
push 0
call fcn.0047d1f1
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.004032b0
mov dword [ebp - 4], 0
push str.U_SELECT.E5
lea ecx, [ebp - 0x114]
call fcn.0041fb35
push 4
push 0
push 0xbb800
mov ecx, 0x4aab80
call fcn.0047fa40
push eax
push 3
lea ecx, [ebp - 0x114]
call fcn.0041fc89
push 4
push 0
push 0xbb800
mov ecx, 0x4aab80
call fcn.0047fa40
push eax
mov eax, dword [0x48685c]
push eax
mov ecx, dword [0x486858]
push ecx
push 0
push 0
call fcn.0047e09b
add esp, 0x14
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [0x4b5fe8]
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x45ecb5
push 0
push 0x48e4b8
push 0x48e4bc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
mov edx, dword [0x48685c]
push edx
mov eax, dword [0x486858]
push eax
push 0
push 0
mov ecx, dword [0x4b5fe8]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [0x48685c]
mov eax, dword [ebp - 0x128]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x128], ecx
push 0x56c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0x128]
add ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x128], ecx
push 0x441
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
mov edx, dword [0x48686c]
add edx, 2
push edx
mov eax, dword [0x486868]
add eax, 2
push eax
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 8
call fcn.0047cae3
add esp, 4
push 7
call fcn.0047d1ca
add esp, 4
push 0
push 0x1f
push 0
call fcn.0047d1f1
add esp, 0xc
push 4
push 0
push 0xbb800
mov ecx, 0x4aab80
call fcn.0047fa40
push eax
push 4
lea ecx, [ebp - 0x114]
call fcn.0041fc89
push 4
push 0
push 0xbb800
mov ecx, 0x4aab80
call fcn.0047fa40
push eax
mov ecx, dword [0x48686c]
push ecx
mov edx, dword [0x486868]
push edx
push 0
push 0
call fcn.0047e09b
add esp, 0x14
push 0
push 0x1f
push 4
call fcn.0047d1f1
add esp, 0xc
mov dword [ebp - 0x120], 0
jmp 0x45ee44
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 2
ja 0x45ee83
push 4
push 0
mov ecx, dword [ebp - 0x120]
imul ecx, ecx, 0xc80
add ecx, 0xbb800
push ecx
mov ecx, 0x4aab80
call fcn.0047fa40
push eax
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0x114]
call fcn.0041fc89
jmp 0x45ee35
mov dword [ebp - 0x120], 0
jmp 0x45ee9e
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
mov ecx, dword [0x4b5e84]
mov edx, dword [ebp - 0x120]
cmp edx, dword [ecx + 0x10c]
jae 0x45ef72
mov eax, dword [0x4b5e84]
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [eax + 0x110]
jae 0x45eee4
push 4
push 0
push 0xbd100
mov ecx, 0x4aab80
call fcn.0047fa40
mov dword [ebp - 0x118], eax
jmp 0x45ef37
mov edx, dword [0x4b5e84]
mov eax, dword [edx + 0x10c]
shl eax, 1
xor edx, edx
mov ecx, 3
div ecx
cmp dword [ebp - 0x120], eax
jae 0x45ef1e
push 4
push 0
push 0xbc480
mov ecx, 0x4aab80
call fcn.0047fa40
mov dword [ebp - 0x118], eax
jmp 0x45ef37
push 4
push 0
push 0xbb800
mov ecx, 0x4aab80
call fcn.0047fa40
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
push edx
push 0x32
push 0x32
mov eax, dword [ebp - 0x120]
shr eax, 3
shl eax, 6
add eax, 0xd
push eax
mov eax, dword [ebp - 0x120]
xor edx, edx
mov ecx, 8
div ecx
imul edx, edx, 0x32
push edx
call fcn.0047e09b
add esp, 0x14
jmp 0x45ee8f
lea ecx, [ebp - 0x114]
call fcn.004192c5
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [0x4b5fec]
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x45efaa
push 0
push 0x48e4c0
push 0x48e4c4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
mov edx, dword [0x48686c]
push edx
mov eax, dword [0x486868]
push eax
push 0
push 0
mov ecx, dword [0x4b5fec]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
call fcn.0047cae3
add esp, 4
push 5
mov edx, dword [0x4b5fe8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov eax, dword [0x4b5fec]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x434
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov edx, dword [0x4b600c]
push edx
call dword [sym.imp.USER32.dll_SetParent]
lea eax, [ebp - 0x138]
push eax
push 0x434
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00461b6a
add esp, 8
push 0xc
mov edx, dword [0x4868ec]
add edx, 2
push edx
mov eax, dword [0x4868e8]
add eax, 2
push eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x134]
lea eax, [edx + ecx - 2]
sub eax, dword [0x4868ec]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x138]
lea eax, [ecx + eax - 2]
sub eax, dword [0x4868e8]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 0x434
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
mov eax, dword [0x4868ec]
push eax
mov ecx, dword [0x4868e8]
push ecx
push 0
push 0
mov edx, dword [0x4b600c]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
mov eax, dword [0x4b600c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.004032d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret