Function at 0x418ba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4650c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
mov dword [0x4689a0], 0
call fcn.00429ab0
push 0
call fcn.0043af06
add esp, 4
push eax
call fcn.0043a044
mov edi, dword [ebx + 4]
lea eax, [ebx + 4]
add esp, 4
lea esi, [ebx + 0x24]
mov dword [ebp - 0x1c], eax
call fcn.0042c700
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push eax
call edi
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x418c13
push ecx
mov ecx, dword [esi]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi]
push 0xffffffffffffffec
push edx
call edi
mov ecx, eax
and ecx, 0xfffbffff
or ecx, 0x80
cmp eax, ecx
je 0x418c4d
mov eax, dword [esi]
push ecx
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi]
push 0x37
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
mov dword [ebp - 0x2c], esi
call edi
push 0xa
push esi
mov dword [ebx + 0x1f0], eax
call edi
sub eax, 0x14
push 0x468a8c
mov dword [ebx + 0x1f4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x1f0]
xor edi, edi
cmp esi, edi
jne 0x418c94
xor edx, edx
jmp 0x418c9c
call fcn.0043a056
cdq
idiv esi
mov esi, dword [ebx + 0x1f4]
mov dword [0x4689c0], edx
cmp esi, edi
jne 0x418cb0
xor edx, edx
jmp 0x418cb8
call fcn.0043a056
cdq
idiv esi
push 0x468a8c
mov dword [0x4689c4], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebx + 0x1f0]
cmp esi, edi
jne 0x418cd8
mov dword [ebp - 0x24], edi
jmp 0x418ce3
call fcn.0043a056
cdq
idiv esi
mov dword [ebp - 0x24], edx
mov esi, dword [ebx + 0x1f4]
cmp esi, edi
jne 0x418cf2
mov dword [ebp - 0x28], edi
jmp 0x418cfd
call fcn.0043a056
cdq
idiv esi
mov dword [ebp - 0x28], edx
mov esi, dword [ebx + 0x1f0]
mov eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, 0x64
cmp esi, edi
je 0x418d1f
call fcn.0043a056
sub esi, edi
cdq
idiv esi
mov esi, edx
mov eax, dword [ebx + 0x1f0]
mov edi, dword [ebx + 0x1f4]
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + esi + 0x64]
mov eax, edi
mov dword [ebp - 0x20], edx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, 0x64
cmp edi, esi
je 0x418d53
call fcn.0043a056
sub edi, esi
cdq
idiv edi
mov edi, edx
mov eax, dword [ebx + 0x1f4]
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + edi + 0x64]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x28
jge 0x418dfd
cmp dword [ebp - 0x20], 0x4b0
jge 0x418daa
call fcn.0043a056
cdq
mov ecx, 0xc8
idiv ecx
mov eax, dword [ebx + 0x1f0]
add edx, 0x4b0
mov dword [ebp - 0x20], edx
cmp edx, eax
jle 0x418daa
mov dword [ebp - 0x20], eax
cmp esi, 0x258
jge 0x418dd1
call fcn.0043a056
cdq
mov ecx, 0xc8
idiv ecx
mov ebx, dword [ebx + 0x1f4]
lea esi, [edx + 0x258]
cmp esi, ebx
jle 0x418dd1
mov esi, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
push 0x90
push esi
mov esi, dword [ebp - 0x1c]
push edx
mov edx, dword [esi]
push eax
push ecx
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, esi
call fcn.00423670
jmp 0x418e8f
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [ebp - 0xc]
sub esi, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
sub edi, dword [ebp - 0x10]
add esi, 0x96
sub edi, 0x16
cmp esi, 0x4b0
jge 0x418e49
call fcn.0043a056
cdq
mov ecx, 0xc8
idiv ecx
mov eax, dword [ebx + 0x1f0]
lea esi, [edx + 0x4b0]
cmp esi, eax
jle 0x418e49
mov esi, eax
cmp edi, 0x258
jge 0x418e70
call fcn.0043a056
cdq
mov ecx, 0xc8
idiv ecx
mov ebx, dword [ebx + 0x1f4]
lea edi, [edx + 0x258]
cmp edi, ebx
jle 0x418e70
mov edi, ebx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
push 0x90
push edi
push esi
push 0
push 0xffffff6a
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [esi]
test ebx, ebx
je 0x418ec6
push str.User32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x418ec6
push str.SetLayeredWindowAttributes
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418ebf
push 2
push 0
push 0
push ebx
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call fcn.004235f0
mov edi, dword [ebp - 0x18]
lea edx, [edi + 0x20]
lea esi, [eax + 4]
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], edx
call fcn.00423580
cmp dword [0x467328], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
jne 0x418f0d
mov dword [0x467328], 0
mov edx, dword [ebp - 0x18]
push edx
lea eax, [edi + 0x108]
push eax
mov ebx, 0x4672f8
call fcn.00426130
mov ecx, dword [ebp - 0x18]
add esp, 8
movzx ebx, ax
xor eax, eax
push eax
push eax
push 0x52000000
push eax
lea eax, [edi + 0xc8]
push eax
push ecx
lea eax, [edi + 0xe8]
call fcn.00426290
push edi
mov dword [edi + 0x11c], edi
call fcn.00418f90
cmp dword [edi + 0x9c], 0
lea esi, [edi + 0x9c]
je 0x418f68
call fcn.00418390
push edi
mov ecx, 0x420de0
mov edx, esi
call fcn.00418290
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004397ee
mov esp, ebp
pop ebp
ret