Function at 0x45682f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x4d3040]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 8], esi
and dword [esi + 0x1c], 0
mov byte [esi + 0x24], 0
lea ecx, [edi + 0x808]
mov dword [esi + 0x18], edi
mov eax, dword [ecx]
mov dword [esp + 0x18], edi
call dword [eax + 8]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 8]
mov esi, dword [esi + 0x14]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00418d0c
push ecx
push eax
mov ecx, esi
call fcn.00418da1
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + 0x8bc]
mov eax, dword [eax + 0x8c0]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], ecx
mov ecx, edi
call dword [eax + 0x9c]
mov esi, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x28]
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 eax, dword [esp + 0x34]
lea esi, [esp + 0x28]
lea edi, [esp + 0x44]
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 esi, dword [esp + 0x50]
add ecx, esi
mov edx, dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4568ec
lea edi, [edx + eax]
mov dword [esp + 0x4c], edi
jmp 0x4568f0
mov edi, dword [esp + 0x4c]
and dword [esp + 0x14], 0
sub ecx, esi
mov esi, dword [esp + 0x18]
sub edi, edx
and dword [esp + 0xc], 0
add esi, 0x6b8
mov dword [esp + 0x24], ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
test eax, eax
jle 0x45696b
mov ecx, dword [esp + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
mov ecx, eax
mov dword [esp + 0x20], eax
mov edx, dword [eax]
call dword [edx + 0x170]
test al, al
je 0x456958
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push dword [esp + 0x24]
push edi
mov edx, dword [ecx]
push eax
call dword [edx + 0x1cc]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
inc dword [esp + 0xc]
call dword [eax + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jl 0x45691b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 4
mov esi, dword [esp + 0x18]
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x40]
push 2
lea ecx, [esp + 0x48]
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 + 0x54]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 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 + 0x50]
cmp eax, dword [esp + 0x74]
jle 0x456a2d
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
test eax, eax
jle 0x4569ff
add eax, ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [esi]
mov dword [esp + 0x50], ecx
mov ecx, esi
call dword [eax + 0x40]
push 2
lea ecx, [esp + 0x48]
push ecx
push 0
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x44]
lea edi, [esp + 0x28]
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 + 0x38]
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 esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.00422eb6
mov esi, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x456a7d
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x456a78
mov eax, dword [esp + 8]
push 5
push dword [eax + 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 + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.004820f4
mov esp, ebp
pop ebp
ret 4