Function at 0x48a080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53dccc
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10c], ecx
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x48a0c9
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x104], esi
movaps xmm0, xmmword [0x54a7e0]
lea edi, [ebp - 0xfc]
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 4], 0
movaps xmm0, xmmword [0x54a870]
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0x108], 0
movaps xmm0, xmmword [0x548a50]
movups xmmword [ebp - 0xe0], xmm0
movaps xmm0, xmmword [0x54a7d0]
movups xmmword [ebp - 0xd0], xmm0
movaps xmm0, xmmword [0x54a890]
movups xmmword [ebp - 0xc0], xmm0
movaps xmm0, xmmword [0x548a50]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x54a840]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x54a8a0]
movups xmmword [ebp - 0x90], xmm0
movaps xmm0, xmmword [0x548a50]
movups xmmword [ebp - 0x80], xmm0
movaps xmm0, xmmword [0x54a850]
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x54a8e0]
movups xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [0x548a50]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x54a830]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x549e40]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x548a50]
movups xmmword [ebp - 0x20], xmm0
nop dword [eax + eax]
mov ebx, dword [edi - 4]
push 0
push ebx
call fcn.00406330
add esp, 8
test eax, eax
je 0x48a1d5
push ebx
push eax
lea ecx, [ebp - 0x104]
call fcn.00406b50
mov esi, dword [ebp - 0x104]
call fcn.00406110
test eax, eax
je 0x48a0bf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
lea ebx, [eax - 0x10]
cmp ecx, ebx
je 0x48a270
cmp dword [ebx + 0xc], 0
jl 0x48a261
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x48a261
push ecx
call fcn.00415150
add esp, 4
mov dword [ebp - 0x110], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48a256
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x110]
add eax, 0x10
mov dword [ebp - 0x138], eax
jmp 0x48a270
push dword [esi - 0xc]
lea ecx, [ebp - 0x138]
push esi
call fcn.00407040
mov eax, dword [edi]
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x134], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x124], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x130], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x12c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x138]
push eax
call fcn.00488690
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.0041ee70
mov edx, dword [ebp - 0x138]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48a2df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x108]
add edi, 0x18
inc eax
mov dword [ebp - 0x108], eax
cmp eax, 0xa
jb 0x48a1b0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
call edi
push 0x31
mov ebx, eax
call edi
push 4
push 0
push 0x21
push ebx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebx, dword [ebp - 0x10c]
mov dword [ebx + 0x1a4], eax
test eax, eax
je 0x48a35b
push 0
push dword [ebx + 4]
lea ecx, [ebx + 0x77c]
call fcn.00489380
push dword [ebx + 0x780]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48a35b
push 0
push dword [ebx + 0x780]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, 1
jmp 0x48a35e
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48a37d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret