Function at 0x1003f1a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x100c2070]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x1c], esi
lea ecx, [esi + 0x670]
mov dword [esp + 0x2c], edi
mov dword [edi + 0x294], esi
mov dword [edi + 0x298], 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [edi + 0x29c], eax
mov eax, dword [edi + 0x294]
mov ecx, dword [eax + 0x710]
mov eax, dword [eax + 0x714]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov dword [esp + 0x20], ecx
mov ecx, esi
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [esp + 0x10]
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x20]
movaps xmmword [esp + 0x50], xmm0
mov edx, dword [esp + 0x50]
movaps xmmword [esp + 0x30], xmm0
psrldq xmm0, 0xc
movd esi, xmm0
add ecx, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], ecx
test eax, eax
jle 0x1003f247
add eax, edx
mov dword [esp + 0x58], eax
jmp 0x1003f24b
mov eax, dword [esp + 0x58]
sub ecx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], ecx
sub eax, edx
mov ecx, dword [esp + 0x1c]
xor esi, esi
add ecx, 0x63c
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jle 0x1003f2da
mov edi, dword [esp + 0x40]
mov eax, dword [edi]
mov ecx, edi
push esi
mov eax, dword [eax]
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0xe0]
call edx
test al, al
je 0x1003f2c0
push dword [esp + 0x24]
mov edx, dword [esi]
lea eax, [esp + 0x44]
push dword [esp + 0x2c]
mov ecx, esi
push eax
call dword [edx + 0x12c]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
mov eax, dword [eax + 0xc]
call eax
cmp esi, eax
jl 0x1003f282
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 4
mov esi, dword [esp + 0x1c]
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x5c], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
call eax
push 2
lea ecx, [esp + 0x54]
push ecx
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x60]
xorps xmm0, xmm0
push eax
push 1
push dword [edi + 4]
movaps xmmword [esp + 0x6c], xmm0
movaps xmmword [esp + 0x7c], xmm0
movq qword [esp + 0x8c], xmm0
mov dword [esp + 0x6c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0xa8]
jle 0x1003f3b5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
test eax, eax
jle 0x1003f389
add eax, ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x34]
mov eax, ecx
sub eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [esi]
mov dword [esp + 0x5c], ecx
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
push 2
lea ecx, [esp + 0x54]
push ecx
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
movaps xmm0, xmmword [esp + 0x50]
mov ecx, edi
movaps xmmword [esp + 0x40], xmm0
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1003f3e2
mov ecx, edi
call fcn.1001f590
test al, al
je 0x1003f43b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
test eax, eax
jne 0x1003f3fa
mov ecx, edi
call fcn.1001f4f0
test al, al
je 0x1003f43b
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
sub eax, edx
push edi
push dword [0x100c5d2c]
push 0
push esi
push eax
mov eax, dword [esp + 0x5c]
sub eax, ecx
push eax
mov eax, dword [edi]
push edx
push ecx
push SysReAllocString
mov eax, dword [eax + 4]
mov ecx, edi
push 0
call eax
push eax
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x1003f464
nop dword [eax]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x1003f450
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x294]
add ecx, 0x670
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
push eax
mov ecx, edi
call fcn.1003fa70
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.1006c6c9
mov esp, ebp
pop ebp
ret 4