Function at 0x419930
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x3c
mov eax, dword [0x422a54]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
mov ebp, 1
mov esi, 0xcf0000
mov dword [esp + 0x20], 0x10028
mov ebx, 0x40000
mov dword [esp + 0x24], 0x25
mov byte [esp + 0x28], 0
mov al, byte [edi + 0x20]
mov byte [esp + 0x29], al
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2a], 0
mov dword [esp + 0x2e], 0
mov dword [esp + 0x32], 0
mov dword [esp + 0x36], 0x1000
mov word [esp + 0x3a], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x24], ebp
jne 0x4199fa
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push ebp
mov dword [edi + 0x18], eax
call esi
push 0
mov dword [edi + 0x1c], eax
call dword [sym.imp.USER32.dll_ShowCursor]
mov esi, 0x80000000
mov ebx, 0x40008
jmp 0x419a11
push 0x40000
push 0
push 0xcf0000
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push edi
push dword [ecx]
push 0
push 0
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push 0
push 0
push esi
push dword [edi + 0x14]
push dword [ecx + 4]
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [edi + 4], eax
test eax, eax
je 0x419a8a
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [edi + 8], eax
test eax, eax
je 0x419a7a
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
mov ecx, eax
mov eax, dword [edi + 8]
test ecx, ecx
jne 0x419a9f
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [edi + 8], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041c3e9
add esp, 0x3c
ret
lea edx, [esp + 0x20]
push edx
push ecx
push eax
call dword [sym.imp.GDI32.dll_SetPixelFormat]
mov ecx, dword [edi + 8]
push ecx
test eax, eax
je 0x419a6a
call dword [sym.imp.OPENGL32.dll_wglCreateContext]
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x419ac7
push ecx
jmp 0x419a6a
push eax
push ecx
call dword [sym.imp.OPENGL32.dll_wglMakeCurrent]
test eax, eax
jne 0x419ae8
push dword [edi + 0xc]
call dword [sym.imp.OPENGL32.dll_wglDeleteContext]
push dword [edi + 8]
mov dword [edi + 0xc], 0
jmp 0x419a6a
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x1c]
mov dword [edi + 0x28], ebp
push dword [edi + 0x18]
call fcn.00419b50
push 0x400
push 0
push dword [edi]
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x80
mov dword [edi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov ecx, dword [esp + 0x48]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041c3e9
add esp, 0x3c
ret