Function at 0x42d5a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4650c0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.00429ab0
push 0
call fcn.0043af06
add esp, 4
push eax
call fcn.0043a044
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call fcn.004235f0
test edi, edi
je 0x42d5ef
lea ecx, [edi + 0x20]
mov dword [esp + 0x14], ecx
jmp 0x42d5f7
mov dword [esp + 0x14], 0
lea esi, [eax + 4]
lea ebx, [esp + 0x14]
call fcn.00423580
lea esi, [edi + 0x24]
mov edi, dword [edi + 4]
call fcn.0042c700
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x42d63b
mov eax, dword [ebx + 4]
push ecx
push 0xffffffffffffffec
push eax
call edi
mov ecx, dword [ebx + 4]
push 0xffffffffffffffec
push ecx
call esi
mov ecx, eax
and ecx, 0xfffbffff
or ecx, 0x80
cmp eax, ecx
je 0x42d674
mov edx, dword [ebx + 4]
push ecx
push 0xffffffffffffffec
push edx
call edi
mov eax, dword [ebx + 4]
push 0x37
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.0043aefb
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add esp, 4
push 0
push 0x3e8
push edx
push eax
call fcn.00446060
mov ecx, eax
movzx eax, word [esp + 0x28]
mov esi, edx
cdq
push 0
add ecx, eax
push 0x7d0
adc esi, edx
mov edx, dword [ebx + 4]
push 5
push edx
mov dword [ebx + 0x130], ecx
mov dword [ebx + 0x134], esi
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [ebx + 0x68], 0
lea esi, [ebx + 0x68]
je 0x42d6f2
call fcn.00418390
push ebx
mov ecx, 0x42f8f0
mov edx, esi
call fcn.00418290
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
add esp, 4
push 8
push edi
call esi
push 0xa
push edi
mov dword [ebx + 0x138], eax
call esi
push 0x468a8c
mov dword [ebx + 0x13c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x138]
test esi, esi
jne 0x42d737
xor edx, edx
jmp 0x42d73f
call fcn.0043a056
cdq
idiv esi
mov esi, dword [ebx + 0x13c]
mov dword [0x4689c0], edx
test esi, esi
jne 0x42d753
xor edx, edx
jmp 0x42d75b
call fcn.0043a056
cdq
idiv esi
push 0x468a8c
mov dword [0x4689c4], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
mov dword [esp + 0x14], edx
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
mov edi, dword [ebx + 0x138]
mov eax, edi
mov dword [esp + 0x10], edx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, ecx
cmp edi, esi
je 0x42d7af
call fcn.0043a056
sub edi, esi
cdq
idiv edi
mov edi, edx
mov eax, dword [ebx + 0x138]
mov ecx, dword [ebx + 0x13c]
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + edi + 0x64]
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, 0x64
mov dword [esp + 0x18], ecx
cmp ecx, edi
je 0x42d7e8
call fcn.0043a056
mov ecx, dword [esp + 0x18]
sub ecx, edi
cdq
idiv ecx
mov ecx, edx
mov eax, dword [ebx + 0x13c]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
push edx
lea edi, [eax + ecx + 0x64]
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x32
jge 0x42d8e2
cmp esi, 0x4b0
jge 0x42d83f
call fcn.0043a056
cdq
mov ecx, 0xc8
idiv ecx
mov eax, dword [ebx + 0x138]
lea esi, [edx + 0x4b0]
cmp esi, eax
jle 0x42d83f
mov esi, eax
cmp edi, 0x258
jge 0x42d866
call fcn.0043a056
cdq
mov ecx, 0xc8
idiv ecx
mov eax, dword [ebx + 0x13c]
lea edi, [edx + 0x258]
cmp edi, eax
jle 0x42d866
mov edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 0x37
lea edx, [esi + ecx]
mov dword [esp + 0x10], eax
cmp edx, dword [ebx + 0x138]
jle 0x42d8a1
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
mov esi, dword [ebx + 0x138]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub esi, edx
sub esi, dword [esp + 0x14]
lea edx, [edi + eax]
cmp edx, dword [ebx + 0x13c]
jle 0x42d8cd
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
mov edi, dword [ebx + 0x13c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub edi, edx
sub edi, dword [esp + 0x10]
mov edx, dword [0x468d6c]
push 0x90
push edi
push esi
sub eax, edx
push eax
sub ecx, edx
push ecx
jmp 0x42d91d
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
mov eax, dword [0x468d6c]
push 0x90
sub ecx, 0x37
push ecx
mov ecx, 0x37
push edx
sub ecx, eax
push ecx
neg eax
push eax
mov edx, dword [ebx + 4]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebx + 4]
test edi, edi
je 0x42d961
push str.User32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42d961
push str.SetLayeredWindowAttributes
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d95a
push 2
push 0
push 0
push edi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x4689ac], 0
call fcn.0042d990
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004397ee
mov esp, ebp
pop ebp
ret