Function at 0x41d174
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x4d3040]
xor eax, esp
mov dword [esp + 0x5c], eax
and dword [ecx + 0x20], 0
push esi
mov esi, dword [ecx + 0x18]
push edi
mov edi, dword [ebp + 8]
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x1c], edi
mov dword [esp + 8], ecx
mov eax, dword [edi + 0x6ec]
mov dword [ecx + 0x24], eax
mov ecx, edi
mov eax, dword [edi]
mov dword [esp + 0x14], edi
call dword [eax + 0x40]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 0x1c]
push dword [ecx + 0x6c0]
mov ecx, eax
call fcn.004197a9
push ecx
push eax
mov ecx, esi
call fcn.00418da1
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + 0x6f4]
mov edx, dword [eax + 0x6f8]
mov eax, dword [edi]
mov dword [esp + 0x10], ecx
mov ecx, edi
mov dword [esp + 0xc], edx
call dword [eax + 0x9c]
mov esi, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x24]
lea esi, [esp + 0x18]
lea edi, [esp + 0x2c]
add edx, 2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], edx
test ecx, ecx
jle 0x41d228
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0xa40]
imul ecx, dword [eax + 0x708]
mov eax, dword [esp + 0xc]
add ecx, 4
cmp ecx, eax
cmovl eax, ecx
mov ecx, esi
mov dword [esp + 0xc], eax
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esi]
call dword [eax + 0x40]
push 2
lea ecx, [esp + 0x30]
push ecx
push 0
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0xa
pop ecx
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x28
push eax
mov eax, dword [esp + 0xc]
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x5c]
jle 0x41d2f6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
test eax, eax
jle 0x41d2c8
add eax, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x1c]
mov eax, ecx
sub eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov dword [esp + 0x38], ecx
mov ecx, esi
call dword [eax + 0x40]
push 2
lea ecx, [esp + 0x30]
push ecx
push 0
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x2c]
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
sub esp, 0x10
lea esi, [esp + 0x28]
mov edi, esp
mov eax, dword [eax + 0xa8]
push ecx
movsd dword es:[edi], dword [esi]
push 0x80
push SysReAllocString
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.00422eb6
mov esi, dword [edi + 4]
jmp 0x41d344
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 0x41d33b
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 [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.004820f4
mov esp, ebp
pop ebp
ret 4