Function at 0x4153e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
mov dword [0x45c8bc], 0
call fcn.00426a40
push 0
call fcn.004325fa
add esp, 4
push eax
call fcn.00431794
mov edi, dword [ebx + 4]
lea eax, [ebx + 4]
add esp, 4
lea esi, [ebx + 0x24]
mov dword [ebp - 0x1c], eax
call fcn.00429620
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 0x415453
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 0x41548d
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 0x45c99c
mov dword [ebx + 0x1f4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x1f0]
xor edi, edi
cmp esi, edi
jne 0x4154d4
xor edx, edx
jmp 0x4154dc
call fcn.004317a6
cdq
idiv esi
mov esi, dword [ebx + 0x1f4]
mov dword [0x45c8d4], edx
cmp esi, edi
jne 0x4154f0
xor edx, edx
jmp 0x4154f8
call fcn.004317a6
cdq
idiv esi
push 0x45c99c
mov dword [0x45c8e0], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebx + 0x1f0]
cmp esi, edi
jne 0x415518
mov dword [ebp - 0x24], edi
jmp 0x415523
call fcn.004317a6
cdq
idiv esi
mov dword [ebp - 0x24], edx
mov esi, dword [ebx + 0x1f4]
cmp esi, edi
jne 0x415532
mov dword [ebp - 0x28], edi
jmp 0x41553d
call fcn.004317a6
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 0x41555f
call fcn.004317a6
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 0x415593
call fcn.004317a6
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.004317a6
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x28
jge 0x41563d
cmp dword [ebp - 0x20], 0x4b0
jge 0x4155ea
call fcn.004317a6
cdq
mov ecx, 0xc8
idiv ecx
mov eax, dword [ebx + 0x1f0]
add edx, 0x4b0
mov dword [ebp - 0x20], edx
cmp edx, eax
jle 0x4155ea
mov dword [ebp - 0x20], eax
cmp esi, 0x258
jge 0x415611
call fcn.004317a6
cdq
mov ecx, 0xc8
idiv ecx
mov ebx, dword [ebx + 0x1f4]
lea esi, [edx + 0x258]
cmp esi, ebx
jle 0x415611
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.004205d0
jmp 0x4156cf
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 0x415689
call fcn.004317a6
cdq
mov ecx, 0xc8
idiv ecx
mov eax, dword [ebx + 0x1f0]
lea esi, [edx + 0x4b0]
cmp esi, eax
jle 0x415689
mov esi, eax
cmp edi, 0x258
jge 0x4156b0
call fcn.004317a6
cdq
mov ecx, 0xc8
idiv ecx
mov ebx, dword [ebx + 0x1f4]
lea edi, [edx + 0x258]
cmp edi, ebx
jle 0x4156b0
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 0x415706
push str.User32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x415706
push str.SetLayeredWindowAttributes
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4156ff
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.00420550
mov edi, dword [ebp - 0x18]
lea edx, [edi + 0x20]
lea esi, [eax + 4]
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], edx
call fcn.004204e0
cmp dword [0x45aff0], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
jne 0x41574d
mov dword [0x45aff0], 0
mov edx, dword [ebp - 0x18]
push edx
lea eax, [edi + 0x108]
push eax
mov ebx, 0x45afc0
call fcn.004230b0
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.00423210
push edi
mov dword [edi + 0x11c], edi
call fcn.004157d0
cmp dword [edi + 0x9c], 0
lea esi, [edi + 0x9c]
je 0x4157a8
call fcn.00414b40
push edi
mov ecx, 0x41d6f0
mov edx, esi
call fcn.00414a40
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00430f3e
mov esp, ebp
pop ebp
ret