Function at 0x411ba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 0x10
pxor xmm0, xmm0
movdqu xmmword [esp], xmm0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x48]
mov dword [eax], 8
mov dword [eax + 4], 0x404
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [0x4f367c], esi
mov edi, dword [0x4f35c8]
mov eax, dword [0x4f35cc]
jmp 0x411c0d
mov ecx, dword [ecx + 0x1c]
call dword [0x4e925c]
push 1
call ecx
mov eax, dword [0x4f35cc]
add edi, 4
cmp edi, eax
jae 0x411c19
mov ecx, dword [edi]
test ecx, ecx
jne 0x411bf8
jmp 0x411c0a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x4f3680], eax
push 0xc
call fcn.00459b0c
add esp, 4
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [0x4f3684], eax
test eax, eax
je 0x411c49
mov dword [0x4f3688], 0
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x48], 0x4d60a8
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x44], xmm0
pxor xmm0, xmm0
movq qword [ebp - 0x34], xmm0
mov ebx, dword [0x4f3614]
add ebx, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4f3684]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov eax, dword [edi + 8]
inc eax
push 4
push eax
push dword [edi]
call fcn.004b8320
add esp, 0xc
test eax, eax
je 0x411cd2
mov dword [edi], eax
mov eax, dword [edi + 8]
inc eax
push 4
push eax
push dword [edi + 4]
call fcn.004b8320
add esp, 0xc
test eax, eax
je 0x411cd2
mov dword [edi + 4], eax
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov dword [eax + ecx*4], esi
mov eax, dword [edi + 4]
lea edx, [ebp - 0x48]
mov dword [eax + ecx*4], edx
inc dword [edi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movdqa xmm0, xmmword [0x4d77f0]
lea eax, [ebp - 0x58]
movdqu xmmword [eax], xmm0
lea ecx, [ebp - 0x5c]
mov dword [ecx], 0xffffffff
push 0
push eax
push ecx
call sub.gdiplus.dll_GdiplusStartup
push dword [ebp + 8]
call fcn.00420b90
add esp, 4
call fcn.0041a5d0
mov ecx, eax
call fcn.0041a640
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x48]
call fcn.00411dd0
mov dword [ebp - 0x60], eax
mov ebx, dword [0x4f3614]
add ebx, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4f3684]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [edi + 8]
test ecx, ecx
jle 0x411d62
mov esi, dword [edi]
xor edx, edx
cmp dword [esi + edx*4], eax
je 0x411d5a
inc edx
cmp ecx, edx
jne 0x411d4e
jmp 0x411d62
mov ecx, edi
push edx
call fcn.00414440
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x5c]
call sub.gdiplus.dll_GdiplusShutdown
mov ecx, 0x4f3650
call fcn.00411eb0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x48], 0x4d60a8
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x411d9f
push eax
call fcn.0044ddb0
add esp, 4
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x411db7
push eax
call fcn.0044ddb0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
mov eax, dword [ebp - 0x60]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret