Function at 0x447670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515697
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 0x158]
test eax, eax
je 0x4476ba
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x158], 0
mov eax, dword [esi + 0x154]
test eax, eax
je 0x4476d5
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0x154], 0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x154], eax
mov ecx, dword [esi + 0x64]
sub ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
push 0
push ecx
push eax
push edi
call fcn.00422aa0
add esp, 0x10
mov dword [esi + 0x158], eax
push eax
push dword [esi + 0x154]
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x24]
sub esp, 0x10
mov esi, dword [esi + 0x64]
mov ecx, dword [eax + 0x58]
sub esi, dword [eax + 0x5c]
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x5c]
sub edx, ecx
neg eax
mov dword [ebp - 0x2c], edx
neg ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov eax, esp
mov ecx, dword [ebp - 0x24]
sub esp, 0x10
mov dword [ebp - 0x28], esi
movups xmm0, xmmword [ebp - 0x34]
mov edx, dword [ecx + 0x154]
movups xmmword [eax], xmm0
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004220d0
add esp, 0x20
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [edi]
mov dword [ebp - 0x28], ecx
mov ecx, edi
mov eax, dword [eax + 0xcc]
call eax
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
sub esi, dword [edi + 0x5c]
sub ecx, dword [edi + 0x58]
mov edx, dword [ebp - 0x28]
add esi, edx
mov eax, dword [ebp - 0x2c]
add ecx, eax
cmp dword [edi + 0x160], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
jne 0x447866
push 0x100
call fcn.0050e592
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0043bc50
push 0
push ecx
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x160], eax
mov eax, esp
push 0x80088
push SysReAllocString
push 0
mov dword [eax], 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [eax], ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xcc]
call eax
mov ecx, dword [edi + 0x160]
push eax
call fcn.00411d30
mov esi, dword [edi + 0x160]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x447842
mov dword [esi + 0x58], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x447866
mov eax, dword [ecx]
push esi
call dword [eax + 0x98]
mov ecx, dword [esi + 0x58]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, esi
call fcn.004123e0
mov eax, dword [edi + 0x160]
test eax, eax
je 0x4478eb
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov dword [ebp - 0x24], 0x1d70000
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 0x18]
mov esi, eax
sub ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edi + 0x15c]
neg ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
sbb ecx, ecx
add ecx, 2
push ecx
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [edi + 0x154]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi + 0x160]
push esi
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret