Function at 0x1004cd80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x1004d2fc
cmp ebx, esi
je 0x1004d2fc
test ebx, ebx
je 0x1004d2fc
mov edx, dword [ebp + 0x14]
movss xmm0, dword [0x10155570]
cmp edx, 0xc4653601
je 0x1004ce12
movss xmm1, dword [ebx + 0x10c]
ucomiss xmm1, xmm0
movd xmm0, edx
lahf
test ah, 0x44
jp 0x1004cddf
cvtdq2pd xmm0, xmm0
jmp 0x1004ce03
cvtdq2ps xmm0, xmm0
sub esp, 8
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
add esp, 8
cvttsd2si eax, xmm0
movss xmm0, dword [0x10155570]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xc4653601
je 0x1004ce63
movss xmm1, dword [ebx + 0x10c]
ucomiss xmm1, xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x1004ce38
cvtdq2pd xmm0, xmm0
jmp 0x1004ce5c
cvtdq2ps xmm0, xmm0
sub esp, 8
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
add esp, 8
cvttsd2si eax, xmm0
mov dword [ebp + 0x18], eax
cmp dword [esi + 0x2c], 1
jne 0x1004cf47
push 0
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebx + 0x10]
test edi, edi
jne 0x1004ce82
mov edi, dword [ebx + 0x28]
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, edi
je 0x1004cea3
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x1004ce99
mov eax, dword [ebx + 0x28]
push eax
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetParent]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffffc
push dword [esi + 0x28]
call edi
cmp eax, fcn.10046530
jne 0x1004ceca
push 0xffffffffffffffeb
push dword [esi + 0x28]
call edi
push eax
push 0xfffffffffffffffc
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [sym.imp.USER32.dll_SetPropW]
push 0
push str.Tab_Control
push dword [esi + 0x28]
call eax
push 0xb
push 0xffffffffffffffe6
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetClassLongW]
push 0xfffffffffffffff0
push dword [esi + 0x28]
call edi
or eax, 0xc00000
push eax
push 0xfffffffffffffff0
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x33
push 0
push 0
push 0
push 0
push 0
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
push str.Tab_CanvasEx
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetPropW]
push eax
call sym.ExuiKrnln_X32.dll_Destroy_CanvasEx
mov edi, dword [sym.imp.USER32.dll_SetPropW]
push 0
push str.Tab_CanvasEx
push dword [esi + 0x28]
call edi
push 0
push str.Layered
push dword [esi + 0x28]
call edi
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1004cf68
cmp dword [eax + 0x24], 0x514
jne 0x1004cf68
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push esi
push 0xffffffffffffffff
push eax
call sym.ExuiKrnln_X32.dll_RemoveControl_SelectthefolderEx
mov edi, dword [ebx + 0x2c]
mov edx, ebx
mov eax, dword [esi + 0x28]
inc edi
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x30], eax
jne 0x1004cf90
nop dword [eax + eax]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x1004cf90
cmp dword [eax + 0x2c], edi
jl 0x1004cf90
mov edx, eax
jmp 0x1004cf80
mov eax, dword [esi + 0x2c]
mov ecx, esi
mov dword [esp + 0x38], eax
inc eax
mov dword [esi + 0x20], ebx
mov esi, eax
nop
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, edi
sub eax, dword [esp + 0x38]
add dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x1004cfbf
cmp dword [eax + 0x2c], esi
jl 0x1004cfbf
mov ecx, eax
jmp 0x1004cfa0
mov esi, dword [ebp + 8]
cmp edx, ecx
je 0x1004d01d
mov edi, dword [esi + 0x18]
test eax, eax
je 0x1004cfe6
mov dword [eax + 0x18], edi
mov edi, dword [esi + 0x18]
mov eax, dword [ecx + 0x1c]
test edi, edi
jne 0x1004cfe1
mov dword [0x1016c3d4], eax
jmp 0x1004cfff
mov dword [edi + 0x1c], eax
jmp 0x1004cfff
mov dword [0x1016c3ec], edi
test edi, edi
jne 0x1004cff8
mov dword [0x1016c3d4], edi
jmp 0x1004cfff
mov dword [edi + 0x1c], 0
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x1c]
test eax, eax
jne 0x1004d014
mov dword [0x1016c3ec], ecx
jmp 0x1004d017
mov dword [eax + 0x18], ecx
mov dword [edx + 0x1c], esi
mov dword [esi + 0x18], edx
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x1004d044
push str.Tab_UpdateState
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_GetPropW]
inc eax
push eax
mov eax, dword [sym.imp.USER32.dll_SetPropW]
push str.Tab_UpdateState
push dword [edi + 0x28]
call eax
push str.Tab_UpdateState
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_GetPropW]
inc eax
push eax
push str.Tab_UpdateState
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esp + 0x30]
cmp eax, dword [ebx + 0x28]
je 0x1004d0dd
mov eax, dword [esi + 0x50]
neg eax
add eax, eax
mov dword [esi + 0x74], eax
test edi, edi
je 0x1004d090
push dword [edi + 0x54]
push dword [edi + 0x50]
push 0
push 0
push edi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
or dword [edi + 0xbc], 1
push dword [esp + 0x30]
mov eax, dword [esi + 0x44]
push dword [esi + 0x28]
push 0
push 0x2ab
push 0x2a2
push esi
call eax
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x1004d0dd
mov ebx, dword [esp + 0x30]
mov eax, dword [esi + 0x2c]
inc eax
cmp dword [edi + 0x2c], eax
jl 0x1004d0da
mov eax, dword [edi + 0x44]
push ebx
push dword [esi + 0x28]
push 0
push 0x2ab
push 0x2a2
push edi
call eax
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x1004d0b4
mov ebx, dword [ebp + 0xc]
mov cl, byte [esi + 0x3d]
test cl, cl
jne 0x1004d19d
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1004d110
cmp byte [eax + 0xd5], cl
je 0x1004d110
cmp byte [esi + 0xd5], cl
jne 0x1004d132
push 0
push 0
push 0
mov byte [esi + 0xd5], 1
push 1
jmp 0x1004d127
cmp byte [esi + 0xd5], 0
je 0x1004d132
push 0
push 0
push 0
mov byte [esi + 0xd5], cl
push 0
mov eax, dword [esi + 0x44]
push 0x3f2
push esi
call eax
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x1004d19d
nop dword [eax]
mov eax, dword [esi + 0x2c]
inc eax
cmp dword [edi + 0x2c], eax
jl 0x1004d19d
mov eax, dword [edi + 0x20]
mov dl, byte [edi + 0xd5]
cmp byte [eax + 0xd5], 0
je 0x1004d170
test dl, dl
jne 0x1004d196
push 0
push 0
push 0
mov byte [edi + 0xd5], 1
push 1
jmp 0x1004d18b
mov cl, byte [edi + 0x3d]
cmp dl, cl
je 0x1004d196
push 0
xor eax, eax
mov byte [edi + 0xd5], cl
push 0
test cl, cl
push 0
setne al
push eax
mov eax, dword [edi + 0x44]
push 0x3f2
push edi
call eax
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x1004d140
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1004d1cd
mov edi, dword [ebx + 0x10]
test edi, edi
jne 0x1004d1ae
mov edi, dword [ebx + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, edi
je 0x1004d1cd
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x1004d1c3
mov eax, dword [ebx + 0x28]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x14]
cmp eax, 0xc4653601
je 0x1004d1da
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x18]
cmp eax, 0xc4653601
je 0x1004d1e7
mov dword [esi + 0x4c], eax
or dword [esi + 0xbc], 0xa
cmp dword [esi + 0x10], 0
je 0x1004d1fb
mov ecx, esi
call fcn.100449e0
mov eax, dword [0x1016c3cc]
test eax, eax
je 0x1004d2d8
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x1004d273
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x1004d273
cmp dword [ecx + 0x2c], 0
je 0x1004d273
mov ecx, dword [esi + 0x38]
lea edi, [esi + 0x38]
test ecx, ecx
je 0x1004d22d
cmp dword [ecx + 8], 0
jne 0x1004d276
cmp dword [edx + 0x2c], 1
jl 0x1004d276
push str.Tab_UpdateState
push dword [edx + 0x28]
call dword [sym.imp.USER32.dll_GetPropW]
inc eax
push eax
mov eax, dword [esp + 0x30]
push str.Tab_UpdateState
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, dword [esp + 0x2c]
mov edx, 1
call fcn.1004ef90
push dword [esp + 0x2c]
call sym.ExuiKrnln_X32.dll_ControlUnlockWinUpdate
mov eax, dword [0x1016c3cc]
jmp 0x1004d276
lea edi, [esi + 0x38]
test eax, eax
je 0x1004d2d8
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1004d29e
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x1004d29e
cmp dword [ecx + 0x2c], 0
je 0x1004d29e
mov ecx, dword [edi]
test ecx, ecx
je 0x1004d29a
cmp dword [ecx + 8], 0
jne 0x1004d29e
mov esi, eax
jmp 0x1004d2a2
test esi, esi
je 0x1004d2d8
cmp dword [esi + 0x2c], 1
jl 0x1004d2d8
push str.Tab_UpdateState
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetPropW]
inc eax
push eax
push str.Tab_UpdateState
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetPropW]
mov edx, 1
mov ecx, esi
call fcn.1004ef90
push esi
call sym.ExuiKrnln_X32.dll_ControlUnlockWinUpdate
push dword [esp + 0x2c]
call sym.ExuiKrnln_X32.dll_ControlUnlockWinUpdate
push ebx
call sym.ExuiKrnln_X32.dll_ControlUnlockWinUpdate
mov byte [0x1016c3a5], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14