Function at 0x403f10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x47b0b0]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
lea ecx, [edi + 0x310]
mov dword [esi + 0x214], edi
mov dword [esi + 0x218], 0
mov eax, dword [ecx]
mov dword [esp + 0x1c], esi
mov eax, dword [eax + 4]
mov dword [esp + 0x14], edi
call eax
mov dword [esi + 0x21c], eax
mov eax, dword [esi + 0x214]
mov ecx, edi
mov esi, dword [eax + 0x370]
mov eax, dword [eax + 0x374]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp + 0x18], esi
mov eax, dword [eax + 0x30]
call eax
movq xmm0, qword [eax]
mov ecx, dword [esp + 8]
movq qword [esp + 0x30], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x38], xmm0
movdqa xmm0, xmmword [esp + 0x30]
movdqa xmmword [esp + 0x40], xmm0
mov edx, dword [esp + 0x40]
psrldq xmm0, 0xc
movd eax, xmm0
add ecx, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
test esi, esi
jle 0x403fc8
lea eax, [edx + esi]
mov dword [esp + 0x48], eax
jmp 0x403fcc
mov eax, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
sub eax, edx
add edi, 0x2e0
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 0xc]
xor esi, esi
mov ecx, edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
call eax
test eax, eax
jle 0x404054
jmp 0x404000
mov eax, dword [edi]
push esi
mov eax, dword [eax]
mov ecx, edi
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0xc8]
call edx
test al, al
je 0x40403e
push dword [esp + 0x20]
mov edx, dword [esi]
push dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call dword [edx + 0x114]
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x10]
mov eax, dword [edi]
inc esi
mov eax, dword [eax + 0xc]
mov ecx, edi
mov dword [esp + 0x10], esi
call eax
cmp esi, eax
jl 0x404000
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x14]
add eax, 4
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x1c]
mov ecx, esi
call eax
push 2
lea ecx, [esp + 0x44]
push ecx
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
xorps xmm0, xmm0
push 1
push dword [edi + 4]
movdqa xmmword [esp + 0x5c], xmm0
movdqa xmmword [esp + 0x6c], xmm0
movq qword [esp + 0x7c], xmm0
mov dword [esp + 0x5c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x70]
jle 0x40411c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
test eax, eax
jle 0x4040f0
add eax, ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x34]
mov eax, ecx
sub eax, dword [esp + 8]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
push 2
lea ecx, [esp + 0x44]
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
mov esi, dword [eax]
mov eax, dword [edi]
movdqa xmm0, xmmword [esp + 0x40]
mov eax, dword [eax + 4]
mov ecx, edi
movdqa xmmword [esp + 0x30], xmm0
call eax
test eax, eax
je 0x40414b
mov ecx, edi
call fcn.00419200
test al, al
je 0x4041a3
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
test eax, eax
jne 0x404163
mov ecx, edi
call fcn.00419150
test al, al
je 0x4041a3
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push edi
push dword [0x47f324]
sub eax, edx
push 0
push esi
push eax
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
mov eax, dword [edi]
push edx
mov eax, dword [eax]
push ecx
push 0x80000000
push 0
mov ecx, edi
call eax
push eax
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4041c5
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 0x4041b1
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_SendMessageA]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.0044d04f
mov esp, ebp
pop ebp
ret 4