Function at 0x46ce90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6fa2bf
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x7e6410]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x1fc], 0
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], esi
jne 0x46cef3
cmp dword [ebp + 0x18], 0
je 0x46d264
cmp dword [ebx + 0xb0], edi
jg 0x46d256
cmp dword [ebx + 0xb4], esi
jg 0x46d256
test edi, edi
jle 0x46d256
test esi, esi
jle 0x46d256
lea eax, [esp + 0xb0]
push eax
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebx + 0x21c], 1
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
jne 0x46cf49
add eax, dword [esp + 0xb0]
add ecx, dword [esp + 0xb4]
push 0x4004
push esi
push edi
push ecx
push eax
push 0
push dword [ebx + 0x1d8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebx + 0x1fc]
push dword [ebx + 0x1d8]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x18], 0
je 0x46d264
push 0x54
call fcn.00428650
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x100], 0
test eax, eax
je 0x46cfaa
push esi
push edi
mov ecx, eax
call fcn.0042ccb0
mov esi, eax
mov dword [esp + 0x2c], eax
jmp 0x46cfb0
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x100], 0xffffffff
mov ecx, esi
mov eax, dword [ebx + 0x1e8]
test eax, eax
je 0x46cfea
movsd xmm0, qword [0x7920b8]
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
push eax
mov eax, dword [esp + 0x44]
push eax
push edi
push 0
push 0
call fcn.0042e5a0
jmp 0x46d017
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
lea eax, [ebx + 0x1f4]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edi
call fcn.0042dc90
mov eax, dword [ebx + 0x1ec]
test eax, eax
je 0x46d032
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x1ec], 0
push dword [esi + 0x20]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov dword [ebx + 0x1ec], eax
mov eax, dword [ebx + 0x1f0]
test eax, eax
je 0x46d05c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x1f0], 0
lea eax, [ebx + 0x20c]
push 0x790eb0
push eax
call fcn.004292e0
test al, al
je 0x46d244
cmp dword [ebx + 0x140], 0
je 0x46d12f
movd xmm0, edi
lea ecx, [esp + 0x28]
cvtdq2ps xmm0, xmm0
push 0x790eb0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
movss dword [esp + 0x40], xmm0
movd xmm0, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x44], xmm0
call fcn.00428840
lea eax, [esp + 0x2c]
mov dword [esp + 0x100], 1
movsd xmm0, qword [0x7920b8]
push eax
mov ecx, dword [ebx + 0x140]
lea eax, [esp + 0x2c]
push eax
sub esp, 8
lea eax, [ebx + 0x1f8]
movsd qword [esp], xmm0
push eax
push 0x8824
lea eax, [esp + 0x4c]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 0x20c]
push eax
push esi
push 0
call fcn.0047bd70
lea ecx, [esp + 0x28]
call fcn.00428810
push dword [esi + 0x20]
mov eax, dword [sym.imp.GDI32.dll_CreatePatternBrush]
call eax
mov dword [ebx + 0x1f0], eax
jmp 0x46d244
push dword [ebx + 0x1d8]
call dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 1
jne 0x46d244
push dword [ebx + 0x1d8]
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push dword [ebx + 0x1d8]
mov edi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.0047b460
push esi
push edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x108], 2
call fcn.0047b650
movd xmm0, dword [esp + 0x30]
lea ecx, [esp + 0x28]
cvtdq2ps xmm0, xmm0
push 0x790eb0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x34], 0
movss dword [esp + 0x50], xmm0
movd xmm0, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
call fcn.00428840
lea eax, [esp + 0x30]
mov byte [esp + 0x100], 3
movsd xmm0, qword [0x7920b8]
lea ecx, [esp + 0x54]
push eax
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x2c]
push eax
sub esp, 8
lea eax, [ebx + 0x1f8]
movsd qword [esp], xmm0
push eax
push 0x8824
lea eax, [esp + 0x5c]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 0x20c]
push eax
push esi
push 0
call fcn.0047bd70
lea ecx, [esp + 0x28]
call fcn.00428810
push dword [esi + 0x20]
mov eax, dword [sym.imp.GDI32.dll_CreatePatternBrush]
call eax
push edi
push dword [ebx + 0x1d8]
mov dword [ebx + 0x1f0], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x54]
call fcn.0047b580
mov ecx, esi
call fcn.0042ce60
push esi
call fcn.006b31f8
add esp, 4
jmp 0x46d264
push 0
push dword [ebx + 0x1d8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 0x14